Lines Matching refs:event
35 /* Limit how long of an event name plus args within the subsystem. */
42 * These are used when status is requested in text form about an event. These
43 * bits are compared against an internal byte on the event to determine which
85 * Stores per-event properties, as users register events
108 * Stores per-mm/event properties that enable an address to be
110 * these to track enablement sites that are tied to an event.
114 struct user_event *event;
243 * update the visibility of the event. In this case the
244 * event stays in the hashtable, waiting for someone to
247 pr_warn("user_events: Unable to delete event\n");
262 * When the event is not enabled for auto-delete there will always
263 * be at least 1 reference to the event. During the event creation
270 * the event mutex held.
292 pr_alert("BUG: Auto-delete engaged on persistent event\n");
304 * Since the event is still in the hashtable, we have to re-inc
307 * needed because a user-process could register the same event in
319 * another register/close of the event, whichever is first.
385 /* No longer tracking the event via the enabler */
386 user_event_put(enabler->event, locked);
437 struct user_event *user = enabler->event;
439 pr_warn("user_events: Fault for mm: 0x%pK @ 0x%llx event: %s\n",
456 * the page here, then we will try again the next time the event is
549 if (enabler->event && enabler->event->status)
600 if (enabler->event == user) {
626 enabler->event = user_event_get(orig->event);
663 * task that matches the event being updated has a write to reflect
666 * the event within it. This is needed because mm_read_lock() can wait.
673 if (enabler->event == user) {
881 enabler->event = user;
904 * removed when the enabler is destroyed. This means a event cannot
965 * Example event named 'test' with a 20 char 'msg' field with an unsigned int
1422 struct trace_event *event)
1424 return print_event_fields(iter, event);
1581 event_buffer.event);
1617 user->call.event.type, 1, regs,
1872 static bool user_event_match(const char *system, const char *event,
1878 match = strcmp(EVENT_NAME(user), event) == 0 &&
1901 ret = register_trace_event(&user->call.event);
1909 unregister_trace_event(&user->call.event);
1915 * Parses the event name, arguments and flags then registers if successful.
1997 user->call.event.funcs = &user_event_funcs;
2050 * Deletes a previously created event if it is no longer being used.
2348 * same way for the event. Once the task that caused the enabler to be
2350 * will be destroyed and the ref to the event will be decremented.
2432 /* Force the bit to be cleared, since no event is attached */
2498 /* Ensure bit is now cleared for user, regardless of event status */