diff options
| author | Ingo Molnar <mingo@elte.hu> | 2010-02-26 03:20:17 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-02-26 03:20:17 -0500 |
| commit | 281b3714e91162b66add1cfac404cf7b81e3e2f2 (patch) | |
| tree | 9f80453153db272c207129d971e17d31a6bb214a /include/linux | |
| parent | 64b9fb5704a479d98a59f2a1d45d3331a8f847f8 (diff) | |
| parent | 7b60997f73865b019e595720185c85285ca3df9a (diff) | |
Merge branch 'tip/tracing/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/core
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/syscalls.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 7b219696ad24..91bd7d78a07d 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
| @@ -132,7 +132,8 @@ struct perf_event_attr; | |||
| 132 | 132 | ||
| 133 | #define SYSCALL_TRACE_ENTER_EVENT(sname) \ | 133 | #define SYSCALL_TRACE_ENTER_EVENT(sname) \ |
| 134 | static const struct syscall_metadata __syscall_meta_##sname; \ | 134 | static const struct syscall_metadata __syscall_meta_##sname; \ |
| 135 | static struct ftrace_event_call event_enter_##sname; \ | 135 | static struct ftrace_event_call \ |
| 136 | __attribute__((__aligned__(4))) event_enter_##sname; \ | ||
| 136 | static struct trace_event enter_syscall_print_##sname = { \ | 137 | static struct trace_event enter_syscall_print_##sname = { \ |
| 137 | .trace = print_syscall_enter, \ | 138 | .trace = print_syscall_enter, \ |
| 138 | }; \ | 139 | }; \ |
| @@ -153,7 +154,8 @@ struct perf_event_attr; | |||
| 153 | 154 | ||
| 154 | #define SYSCALL_TRACE_EXIT_EVENT(sname) \ | 155 | #define SYSCALL_TRACE_EXIT_EVENT(sname) \ |
| 155 | static const struct syscall_metadata __syscall_meta_##sname; \ | 156 | static const struct syscall_metadata __syscall_meta_##sname; \ |
| 156 | static struct ftrace_event_call event_exit_##sname; \ | 157 | static struct ftrace_event_call \ |
| 158 | __attribute__((__aligned__(4))) event_exit_##sname; \ | ||
| 157 | static struct trace_event exit_syscall_print_##sname = { \ | 159 | static struct trace_event exit_syscall_print_##sname = { \ |
| 158 | .trace = print_syscall_exit, \ | 160 | .trace = print_syscall_exit, \ |
| 159 | }; \ | 161 | }; \ |
