aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLai Jiangshan2009-12-01 16:23:20 +0800
committerIngo Molnar2009-12-01 17:33:28 +0100
commitbf56a4ea9f1683c5b223fd3a5dbea23f1fa91c34 (patch)
treec6f54058fb427ab9c4f776c9414f85a60b6344b0 /kernel
parent59d069eb5ae9b033ed1c124c92e1532c4a958991 (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')
-rw-r--r--kernel/trace/trace_syscalls.c8
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)
mutex_unlock(&syscall_trace_lock);
}
-struct trace_event event_syscall_enter = {
- .trace = print_syscall_enter,
-};
-
-struct trace_event event_syscall_exit = {
- .trace = print_syscall_exit,
-};
-
int __init init_ftrace_syscalls(void)
{
struct syscall_metadata *meta;