summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2009-12-01 16:23:30 +0800
committerIngo Molnar <mingo@elte.hu>2009-12-01 17:33:28 +0100
commit31c16b13349970b2684248c7d8608d2a96ae135d (patch)
tree0f0a2bee35f604090b30d6724e13bb2faec8a6a5 /include/trace
parentbf56a4ea9f1683c5b223fd3a5dbea23f1fa91c34 (diff)
trace_syscalls: Set event_enter_##sname->data to its metadata
Set event_enter_##sname->data to its metadata, it makes codes simpler. 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: <4B14D282.7050709@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/syscall.h b/include/trace/syscall.h
index 5f8827c92db..c5265c81c4e 100644
--- a/include/trace/syscall.h
+++ b/include/trace/syscall.h
@@ -34,7 +34,7 @@ struct syscall_metadata {
#ifdef CONFIG_FTRACE_SYSCALLS
extern unsigned long arch_syscall_addr(int nr);
-extern int syscall_name_to_nr(char *name);
+extern int syscall_name_to_nr(const char *name);
void set_syscall_enter_id(int num, int id);
void set_syscall_exit_id(int num, int id);