diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ftrace_event.h | 1 | ||||
-rw-r--r-- | include/linux/syscalls.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index 38f8d6553831..ea44b8911094 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h | |||
@@ -158,6 +158,7 @@ enum { | |||
158 | FILTER_PTR_STRING, | 158 | FILTER_PTR_STRING, |
159 | }; | 159 | }; |
160 | 160 | ||
161 | extern int trace_event_raw_init(struct ftrace_event_call *call); | ||
161 | extern int trace_define_common_fields(struct ftrace_event_call *call); | 162 | extern int trace_define_common_fields(struct ftrace_event_call *call); |
162 | extern int trace_define_field(struct ftrace_event_call *call, const char *type, | 163 | extern int trace_define_field(struct ftrace_event_call *call, const char *type, |
163 | const char *name, int offset, int size, | 164 | const char *name, int offset, int size, |
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index bc70c5810fec..94ac28437bef 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -145,7 +145,7 @@ struct perf_event_attr; | |||
145 | .name = "sys_enter"#sname, \ | 145 | .name = "sys_enter"#sname, \ |
146 | .system = "syscalls", \ | 146 | .system = "syscalls", \ |
147 | .event = &enter_syscall_print_##sname, \ | 147 | .event = &enter_syscall_print_##sname, \ |
148 | .raw_init = init_syscall_trace, \ | 148 | .raw_init = trace_event_raw_init, \ |
149 | .show_format = syscall_enter_format, \ | 149 | .show_format = syscall_enter_format, \ |
150 | .define_fields = syscall_enter_define_fields, \ | 150 | .define_fields = syscall_enter_define_fields, \ |
151 | .regfunc = reg_event_syscall_enter, \ | 151 | .regfunc = reg_event_syscall_enter, \ |
@@ -167,7 +167,7 @@ struct perf_event_attr; | |||
167 | .name = "sys_exit"#sname, \ | 167 | .name = "sys_exit"#sname, \ |
168 | .system = "syscalls", \ | 168 | .system = "syscalls", \ |
169 | .event = &exit_syscall_print_##sname, \ | 169 | .event = &exit_syscall_print_##sname, \ |
170 | .raw_init = init_syscall_trace, \ | 170 | .raw_init = trace_event_raw_init, \ |
171 | .show_format = syscall_exit_format, \ | 171 | .show_format = syscall_exit_format, \ |
172 | .define_fields = syscall_exit_define_fields, \ | 172 | .define_fields = syscall_exit_define_fields, \ |
173 | .regfunc = reg_event_syscall_exit, \ | 173 | .regfunc = reg_event_syscall_exit, \ |