summaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2009-12-01 09:23:20 +0100
committerIngo Molnar <mingo@elte.hu>2009-12-01 17:33:28 +0100
commitbf56a4ea9f1683c5b223fd3a5dbea23f1fa91c34 (patch)
treec6f54058fb427ab9c4f776c9414f85a60b6344b0 /kernel/trace
parentperf_event: Initialize data.period in perf_swevent_hrtimer() (diff)
downloadlinux-bf56a4ea9f1683c5b223fd3a5dbea23f1fa91c34.tar.xz
linux-bf56a4ea9f1683c5b223fd3a5dbea23f1fa91c34.zip
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')
-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;