tracing: add DEFINE_TRACE_FMT to tracepoint.h
commit7c37730cd31ddb2d3a1da142af9b18c29b8c433b
authorSteven Rostedt <srostedt@redhat.com>
Tue, 24 Feb 2009 17:07:53 +0000 (24 12:07 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Wed, 25 Feb 2009 02:53:32 +0000 (24 21:53 -0500)
tree60e2d4a1b53dba29824b967345bc43814853b8a4
parentc478f8786973d6d7552c652ddad3f6fd86b5af28
tracing: add DEFINE_TRACE_FMT to tracepoint.h

This patch creates a DEFINE_TRACE_FMT to map to DECLARE_TRACE.
This allows for the developers to place format strings and
args in with their tracepoint declaration. A tracer may now
override the DEFINE_TRACE_FMT macro and use it to record
a default format.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
include/linux/tracepoint.h