diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/syscalls.h | 2 | ||||
-rw-r--r-- | include/trace/syscall.h | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index d3c9fd01a110..b9af87560adb 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -168,7 +168,6 @@ static void prof_sysexit_disable_##sname(struct ftrace_event_call *unused) \ | |||
168 | if (!id) \ | 168 | if (!id) \ |
169 | return -ENODEV; \ | 169 | return -ENODEV; \ |
170 | event_enter_##sname.id = id; \ | 170 | event_enter_##sname.id = id; \ |
171 | set_syscall_enter_id(num, id); \ | ||
172 | INIT_LIST_HEAD(&event_enter_##sname.fields); \ | 171 | INIT_LIST_HEAD(&event_enter_##sname.fields); \ |
173 | return 0; \ | 172 | return 0; \ |
174 | } \ | 173 | } \ |
@@ -205,7 +204,6 @@ static void prof_sysexit_disable_##sname(struct ftrace_event_call *unused) \ | |||
205 | if (!id) \ | 204 | if (!id) \ |
206 | return -ENODEV; \ | 205 | return -ENODEV; \ |
207 | event_exit_##sname.id = id; \ | 206 | event_exit_##sname.id = id; \ |
208 | set_syscall_exit_id(num, id); \ | ||
209 | INIT_LIST_HEAD(&event_exit_##sname.fields); \ | 207 | INIT_LIST_HEAD(&event_exit_##sname.fields); \ |
210 | return 0; \ | 208 | return 0; \ |
211 | } \ | 209 | } \ |
diff --git a/include/trace/syscall.h b/include/trace/syscall.h index c5265c81c4e7..ca09561cd578 100644 --- a/include/trace/syscall.h +++ b/include/trace/syscall.h | |||
@@ -15,8 +15,6 @@ | |||
15 | * @nb_args: number of parameters it takes | 15 | * @nb_args: number of parameters it takes |
16 | * @types: list of types as strings | 16 | * @types: list of types as strings |
17 | * @args: list of args as strings (args[i] matches types[i]) | 17 | * @args: list of args as strings (args[i] matches types[i]) |
18 | * @enter_id: associated ftrace enter event id | ||
19 | * @exit_id: associated ftrace exit event id | ||
20 | * @enter_event: associated syscall_enter trace event | 18 | * @enter_event: associated syscall_enter trace event |
21 | * @exit_event: associated syscall_exit trace event | 19 | * @exit_event: associated syscall_exit trace event |
22 | */ | 20 | */ |
@@ -25,8 +23,6 @@ struct syscall_metadata { | |||
25 | int nb_args; | 23 | int nb_args; |
26 | const char **types; | 24 | const char **types; |
27 | const char **args; | 25 | const char **args; |
28 | int enter_id; | ||
29 | int exit_id; | ||
30 | 26 | ||
31 | struct ftrace_event_call *enter_event; | 27 | struct ftrace_event_call *enter_event; |
32 | struct ftrace_event_call *exit_event; | 28 | struct ftrace_event_call *exit_event; |
@@ -35,8 +31,6 @@ struct syscall_metadata { | |||
35 | #ifdef CONFIG_FTRACE_SYSCALLS | 31 | #ifdef CONFIG_FTRACE_SYSCALLS |
36 | extern unsigned long arch_syscall_addr(int nr); | 32 | extern unsigned long arch_syscall_addr(int nr); |
37 | extern int syscall_name_to_nr(const char *name); | 33 | extern int syscall_name_to_nr(const char *name); |
38 | void set_syscall_enter_id(int num, int id); | ||
39 | void set_syscall_exit_id(int num, int id); | ||
40 | 34 | ||
41 | extern int syscall_enter_format(struct ftrace_event_call *call, | 35 | extern int syscall_enter_format(struct ftrace_event_call *call, |
42 | struct trace_seq *s); | 36 | struct trace_seq *s); |