tracing: wrap arguments with PARAMS
authorSteven Rostedt <srostedt@redhat.com>
Wed, 25 Feb 2009 20:54:30 +0000 (15:54 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Thu, 26 Feb 2009 02:44:26 +0000 (21:44 -0500)
commit3cdfdf91fcc77cfc82592e2b5c2ab35abe819c41
tree176e2dbbf4e8c6ab59d0243f501338d104d7a31f
parenteef62a6826b8ab530cefff5aa55c1661a209c803
tracing: wrap arguments with PARAMS

Peter Zijlstra warned that TPPROTO and TPARGS might become something
other than a simple copy of itself. To prevent this from having
side effects in the TRACE_FORMAT macro in tracepoint.h, we add a
PARAMS() macro to be defined as just a wrapper.

Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
include/linux/tracepoint.h