aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-03-10 12:41:38 -0400
committerSteven Rostedt <srostedt@redhat.com>2009-03-10 12:41:38 -0400
commit30a8fecc2d34f086df34fe2f2b926f080e002600 (patch)
treea6959a40a6a3065b61ddcf4954861dfd8892a843 /include/linux
parent2314c4ae1461c9e8b26cf8b9a851f280bc5769e1 (diff)
tracing: flip the TP_printk and TP_fast_assign in the TRACE_EVENT macro
Impact: clean up In trying to stay consistant with the C style format in the TRACE_EVENT macro, it makes more sense to do the printk after the assigning of the variables. Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/tracepoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index 69b56988813d..c7b09452514b 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -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(name, proto, args, struct, print, assign) \ 160#define TRACE_EVENT(name, proto, args, struct, assign, print) \
161 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) 161 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
162 162
163#endif 163#endif