diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-03-10 04:57:16 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-03-10 04:57:16 -0400 |
| commit | 9a1043d19c4edc4ff1d80081a39809a506a62e4d (patch) | |
| tree | a8ba7bdb2ebe8e486f018d55969727abf14e7e33 /include/linux | |
| parent | 12e87e36e0141c08dbc8b2177c93c75fb18ad7e5 (diff) | |
| parent | 157587d7ac555458da9f682e3250135e468470a6 (diff) | |
Merge branch 'tip/tracing/ftrace' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into tracing/ftrace
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/tracepoint.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index 152b2f03fb86..69b56988813d 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h | |||
| @@ -31,8 +31,8 @@ struct tracepoint { | |||
| 31 | * Keep in sync with vmlinux.lds.h. | 31 | * Keep in sync with vmlinux.lds.h. |
| 32 | */ | 32 | */ |
| 33 | 33 | ||
| 34 | #define TPPROTO(args...) args | 34 | #define TP_PROTO(args...) args |
| 35 | #define TPARGS(args...) args | 35 | #define TP_ARGS(args...) args |
| 36 | 36 | ||
| 37 | #ifdef CONFIG_TRACEPOINTS | 37 | #ifdef CONFIG_TRACEPOINTS |
| 38 | 38 | ||
| @@ -65,7 +65,7 @@ struct tracepoint { | |||
| 65 | { \ | 65 | { \ |
| 66 | if (unlikely(__tracepoint_##name.state)) \ | 66 | if (unlikely(__tracepoint_##name.state)) \ |
| 67 | __DO_TRACE(&__tracepoint_##name, \ | 67 | __DO_TRACE(&__tracepoint_##name, \ |
| 68 | TPPROTO(proto), TPARGS(args)); \ | 68 | TP_PROTO(proto), TP_ARGS(args)); \ |
| 69 | } \ | 69 | } \ |
| 70 | static inline int register_trace_##name(void (*probe)(proto)) \ | 70 | static inline int register_trace_##name(void (*probe)(proto)) \ |
| 71 | { \ | 71 | { \ |
| @@ -157,7 +157,7 @@ static inline void tracepoint_synchronize_unregister(void) | |||
| 157 | #define TRACE_FORMAT(name, proto, args, fmt) \ | 157 | #define TRACE_FORMAT(name, proto, args, fmt) \ |
| 158 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | 158 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) |
| 159 | 159 | ||
| 160 | #define TRACE_EVENT_FORMAT(name, proto, args, fmt, struct, tpfmt) \ | 160 | #define TRACE_EVENT(name, proto, args, struct, print, assign) \ |
| 161 | TRACE_FORMAT(name, PARAMS(proto), PARAMS(args), PARAMS(fmt)) | 161 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) |
| 162 | 162 | ||
| 163 | #endif | 163 | #endif |
