diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2009-12-01 03:23:20 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-01 11:33:28 -0500 |
commit | bf56a4ea9f1683c5b223fd3a5dbea23f1fa91c34 (patch) | |
tree | c6f54058fb427ab9c4f776c9414f85a60b6344b0 /kernel/trace/trace_syscalls.c | |
parent | 59d069eb5ae9b033ed1c124c92e1532c4a958991 (diff) |
trace_syscalls: Remove unused event_syscall_enter and event_syscall_exit
fix event_enter_##sname->event
fix event_exit_##sname->event
remove unused event_syscall_enter and event_syscall_exit
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: <4B14D278.4090209@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_syscalls.c')
-rw-r--r-- | kernel/trace/trace_syscalls.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c index 63aa8070365d..00d6e176f5b6 100644 --- a/kernel/trace/trace_syscalls.c +++ b/kernel/trace/trace_syscalls.c | |||
@@ -444,14 +444,6 @@ void unreg_event_syscall_exit(struct ftrace_event_call *call) | |||
444 | mutex_unlock(&syscall_trace_lock); | 444 | mutex_unlock(&syscall_trace_lock); |
445 | } | 445 | } |
446 | 446 | ||
447 | struct trace_event event_syscall_enter = { | ||
448 | .trace = print_syscall_enter, | ||
449 | }; | ||
450 | |||
451 | struct trace_event event_syscall_exit = { | ||
452 | .trace = print_syscall_exit, | ||
453 | }; | ||
454 | |||
455 | int __init init_ftrace_syscalls(void) | 447 | int __init init_ftrace_syscalls(void) |
456 | { | 448 | { |
457 | struct syscall_metadata *meta; | 449 | struct syscall_metadata *meta; |