Lines Matching refs:event
18 static int syscall_enter_register(struct trace_event_call *event,
20 static int syscall_exit_register(struct trace_event_call *event,
128 struct trace_event *event) in print_syscall_enter() argument
144 if (entry->enter_event->event.type != ent->type) { in print_syscall_enter()
175 struct trace_event *event) in print_syscall_exit() argument
192 if (entry->exit_event->event.type != ent->type) { in print_syscall_exit()
324 entry = ring_buffer_event_data(fbuffer.event); in ftrace_syscall_enter()
361 entry = ring_buffer_event_data(fbuffer.event); in ftrace_syscall_exit()
618 sys_data->enter_event->event.type, 1, regs, in perf_syscall_enter()
714 perf_trace_buf_submit(rec, size, rctx, sys_data->exit_event->event.type, in perf_syscall_exit()
754 static int syscall_enter_register(struct trace_event_call *event, in syscall_enter_register() argument
761 return reg_event_syscall_enter(file, event); in syscall_enter_register()
763 unreg_event_syscall_enter(file, event); in syscall_enter_register()
768 return perf_sysenter_enable(event); in syscall_enter_register()
770 perf_sysenter_disable(event); in syscall_enter_register()
782 static int syscall_exit_register(struct trace_event_call *event, in syscall_exit_register() argument
789 return reg_event_syscall_exit(file, event); in syscall_exit_register()
791 unreg_event_syscall_exit(file, event); in syscall_exit_register()
796 return perf_sysexit_enable(event); in syscall_exit_register()
798 perf_sysexit_disable(event); in syscall_exit_register()