diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2009-12-01 16:23:55 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-01 17:33:30 +0100 |
commit | a1301da0997bf73c44dbe584e9070a13adc89672 (patch) | |
tree | 64c7e580f553291bcaaf065fc0dbceee8daf9cd6 /include/trace | |
parent | c252f65793874b56d50395ab604db465ce688665 (diff) | |
download | op-kernel-dev-a1301da0997bf73c44dbe584e9070a13adc89672.zip op-kernel-dev-a1301da0997bf73c44dbe584e9070a13adc89672.tar.gz |
trace_syscalls: Remove duplicate init_enter_##sname()
use only one init_syscall_trace instead of
many init_enter_##sname()/init_exit_##sname()
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: <4B14D29B.6090708@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/syscall.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/trace/syscall.h b/include/trace/syscall.h index 1531eef..dff9371 100644 --- a/include/trace/syscall.h +++ b/include/trace/syscall.h @@ -32,6 +32,7 @@ struct syscall_metadata { #ifdef CONFIG_FTRACE_SYSCALLS extern unsigned long arch_syscall_addr(int nr); +extern int init_syscall_trace(struct ftrace_event_call *call); extern int syscall_enter_format(struct ftrace_event_call *call, struct trace_seq *s); |