aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-12-02 01:23:10 -0500
committerIngo Molnar <mingo@elte.hu>2009-12-02 03:59:02 -0500
commit6b62fe019e39edfd1dbe3f224ecd0a87d9365223 (patch)
tree024a4935a646688874b579aa01e9b85f18c41c46
parent3a9089fd78367e2c6c815129030b790a0f5c2715 (diff)
tracing/syscalls: Make syscall events print callbacks static
enter_syscall_print_##sname and exit_syscall_print_##sname don't need to have a global scope. Make them static. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Jason Baron <jbaron@redhat.com> Cc: Lai Jiangshan <laijs@cn.fujitsu.com> LKML-Reference: <1259734990-9034-1-git-send-regression-fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--include/linux/syscalls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index c2df3a593236..e79e2f3ccc51 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -134,7 +134,7 @@ struct perf_event_attr;
134#define SYSCALL_TRACE_ENTER_EVENT(sname) \ 134#define SYSCALL_TRACE_ENTER_EVENT(sname) \
135 static const struct syscall_metadata __syscall_meta_##sname; \ 135 static const struct syscall_metadata __syscall_meta_##sname; \
136 static struct ftrace_event_call event_enter_##sname; \ 136 static struct ftrace_event_call event_enter_##sname; \
137 struct trace_event enter_syscall_print_##sname = { \ 137 static struct trace_event enter_syscall_print_##sname = { \
138 .trace = print_syscall_enter, \ 138 .trace = print_syscall_enter, \
139 }; \ 139 }; \
140 static struct ftrace_event_call __used \ 140 static struct ftrace_event_call __used \
@@ -156,7 +156,7 @@ struct perf_event_attr;
156#define SYSCALL_TRACE_EXIT_EVENT(sname) \ 156#define SYSCALL_TRACE_EXIT_EVENT(sname) \
157 static const struct syscall_metadata __syscall_meta_##sname; \ 157 static const struct syscall_metadata __syscall_meta_##sname; \
158 static struct ftrace_event_call event_exit_##sname; \ 158 static struct ftrace_event_call event_exit_##sname; \
159 struct trace_event exit_syscall_print_##sname = { \ 159 static struct trace_event exit_syscall_print_##sname = { \
160 .trace = print_syscall_exit, \ 160 .trace = print_syscall_exit, \
161 }; \ 161 }; \
162 static struct ftrace_event_call __used \ 162 static struct ftrace_event_call __used \