diff options
Diffstat (limited to 'include/trace/syscall.h')
-rw-r--r-- | include/trace/syscall.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/include/trace/syscall.h b/include/trace/syscall.h index 961fda3556bb..e5e5f48dbfb3 100644 --- a/include/trace/syscall.h +++ b/include/trace/syscall.h | |||
@@ -34,10 +34,6 @@ struct syscall_metadata { | |||
34 | extern unsigned long arch_syscall_addr(int nr); | 34 | extern unsigned long arch_syscall_addr(int nr); |
35 | extern int init_syscall_trace(struct ftrace_event_call *call); | 35 | extern int init_syscall_trace(struct ftrace_event_call *call); |
36 | 36 | ||
37 | extern int syscall_enter_format(struct ftrace_event_call *call, | ||
38 | struct trace_seq *s); | ||
39 | extern int syscall_exit_format(struct ftrace_event_call *call, | ||
40 | struct trace_seq *s); | ||
41 | extern int syscall_enter_define_fields(struct ftrace_event_call *call); | 37 | extern int syscall_enter_define_fields(struct ftrace_event_call *call); |
42 | extern int syscall_exit_define_fields(struct ftrace_event_call *call); | 38 | extern int syscall_exit_define_fields(struct ftrace_event_call *call); |
43 | extern int reg_event_syscall_enter(struct ftrace_event_call *call); | 39 | extern int reg_event_syscall_enter(struct ftrace_event_call *call); |
@@ -49,12 +45,12 @@ ftrace_format_syscall(struct ftrace_event_call *call, struct trace_seq *s); | |||
49 | enum print_line_t print_syscall_enter(struct trace_iterator *iter, int flags); | 45 | enum print_line_t print_syscall_enter(struct trace_iterator *iter, int flags); |
50 | enum print_line_t print_syscall_exit(struct trace_iterator *iter, int flags); | 46 | enum print_line_t print_syscall_exit(struct trace_iterator *iter, int flags); |
51 | #endif | 47 | #endif |
52 | #ifdef CONFIG_EVENT_PROFILE | ||
53 | int prof_sysenter_enable(struct ftrace_event_call *call); | ||
54 | void prof_sysenter_disable(struct ftrace_event_call *call); | ||
55 | int prof_sysexit_enable(struct ftrace_event_call *call); | ||
56 | void prof_sysexit_disable(struct ftrace_event_call *call); | ||
57 | 48 | ||
49 | #ifdef CONFIG_PERF_EVENTS | ||
50 | int perf_sysenter_enable(struct ftrace_event_call *call); | ||
51 | void perf_sysenter_disable(struct ftrace_event_call *call); | ||
52 | int perf_sysexit_enable(struct ftrace_event_call *call); | ||
53 | void perf_sysexit_disable(struct ftrace_event_call *call); | ||
58 | #endif | 54 | #endif |
59 | 55 | ||
60 | #endif /* _TRACE_SYSCALL_H */ | 56 | #endif /* _TRACE_SYSCALL_H */ |