diff options
Diffstat (limited to 'kernel/trace/trace_syscalls.c')
-rw-r--r-- | kernel/trace/trace_syscalls.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c index 3751c81998cb..7c7cfe95a853 100644 --- a/kernel/trace/trace_syscalls.c +++ b/kernel/trace/trace_syscalls.c | |||
@@ -39,6 +39,14 @@ syscall_get_exit_fields(struct ftrace_event_call *call) | |||
39 | return &entry->exit_fields; | 39 | return &entry->exit_fields; |
40 | } | 40 | } |
41 | 41 | ||
42 | struct trace_event_functions enter_syscall_print_funcs = { | ||
43 | .trace = print_syscall_enter, | ||
44 | }; | ||
45 | |||
46 | struct trace_event_functions exit_syscall_print_funcs = { | ||
47 | .trace = print_syscall_exit, | ||
48 | }; | ||
49 | |||
42 | struct ftrace_event_class event_class_syscall_enter = { | 50 | struct ftrace_event_class event_class_syscall_enter = { |
43 | .system = "syscalls", | 51 | .system = "syscalls", |
44 | .reg = syscall_enter_register, | 52 | .reg = syscall_enter_register, |