diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2009-12-01 03:23:36 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-01 11:33:29 -0500 |
commit | fcc19438dda38dacc8c144e2db3ebc6b9fd4f8b8 (patch) | |
tree | 0f82cd0ce19bc113e2ba631c14f2e8c04884d608 /include/trace/syscall.h | |
parent | 31c16b13349970b2684248c7d8608d2a96ae135d (diff) |
trace_syscalls: Remove enter_id exit_id
use ->enter_event->id instead of ->enter_id
use ->exit_event->id instead of ->exit_id
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Jason Baron <jbaron@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4B14D288.7030001@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace/syscall.h')
-rw-r--r-- | include/trace/syscall.h | 6 |
1 files changed, 0 insertions, 6 deletions
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); |