Lines Matching refs:event
222 id = register_trace_event(&call->event); in trace_event_raw_init()
268 fbuffer->event = in trace_event_buffer_reserve()
270 event_call->event.type, len, in trace_event_buffer_reserve()
272 if (!fbuffer->event) in trace_event_buffer_reserve()
275 fbuffer->entry = ring_buffer_event_data(fbuffer->event); in trace_event_buffer_reserve()
733 const char *sub, const char *event, int set) in __ftrace_set_clr_event_nolock() argument
760 if (event && strcmp(event, name) != 0) in __ftrace_set_clr_event_nolock()
780 const char *sub, const char *event, int set) in __ftrace_set_clr_event() argument
785 ret = __ftrace_set_clr_event_nolock(tr, match, sub, event, set); in __ftrace_set_clr_event()
793 char *event = NULL, *sub = NULL, *match; in ftrace_set_clr_event() local
811 event = buf; in ftrace_set_clr_event()
816 if (!strlen(event) || strcmp(event, "*") == 0) in ftrace_set_clr_event()
817 event = NULL; in ftrace_set_clr_event()
820 ret = __ftrace_set_clr_event(tr, match, sub, event, set); in ftrace_set_clr_event()
842 int trace_set_clr_event(const char *system, const char *event, int set) in trace_set_clr_event() argument
849 return __ftrace_set_clr_event(tr, NULL, system, event, set); in trace_set_clr_event()
1224 seq_printf(m, "ID: %d\n", call->event.type); in f_show()
1981 if (call->event.type && call->class->reg) in event_create_dir()
1983 (void *)(long)call->event.type, in event_create_dir()
2065 if (call->event.funcs) in event_remove()
2066 __unregister_trace_event(&call->event); in event_remove()
2374 #define for_each_event(event, start, end) \ argument
2375 for (event = start; \
2376 (unsigned long)event < (unsigned long)end; \
2377 event++)
2470 __find_event_file(struct trace_array *tr, const char *system, const char *event) in __find_event_file() argument
2484 if (strcmp(event, name) == 0 && in __find_event_file()
2493 find_event_file(struct trace_array *tr, const char *system, const char *event) in find_event_file() argument
2497 file = __find_event_file(tr, system, event); in find_event_file()
2700 const char *event; in event_enable_func() local
2716 event = strsep(¶m, ":"); in event_enable_func()
2721 file = find_event_file(tr, system, event); in event_enable_func()
3361 struct ring_buffer_event *event; in function_test_events_call() local
3379 event = trace_event_buffer_lock_reserve(&buffer, &event_trace_file, in function_test_events_call()
3382 if (!event) in function_test_events_call()
3384 entry = ring_buffer_event_data(event); in function_test_events_call()
3388 event_trigger_unlock_commit(&event_trace_file, buffer, event, in function_test_events_call()