summaryrefslogtreecommitdiffstats
path: root/include/linux/tracepoint.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-02-28 02:47:59 -0500
committerSteven Rostedt <srostedt@redhat.com>2009-02-28 04:04:13 -0500
commit629928041c53771f9902753d50fef6b35f36d33d (patch)
treee960bf1f0311a2d00eadebfc1304662a149e32fe /include/linux/tracepoint.h
parentfd99498989f3b3feeab89dcadf537138ba136d24 (diff)
downloadlinux-629928041c53771f9902753d50fef6b35f36d33d.tar.gz
linux-629928041c53771f9902753d50fef6b35f36d33d.tar.bz2
linux-629928041c53771f9902753d50fef6b35f36d33d.zip
tracing: create the C style tracing for the sched subsystem
This patch utilizes the TRACE_EVENT_FORMAT macro to enable the C style faster tracing for the sched subsystem trace points. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/linux/tracepoint.h')
-rw-r--r--include/linux/tracepoint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index 62d13391a240..152b2f03fb86 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -157,4 +157,7 @@ static inline void tracepoint_synchronize_unregister(void)
#define TRACE_FORMAT(name, proto, args, fmt) \
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
+#define TRACE_EVENT_FORMAT(name, proto, args, fmt, struct, tpfmt) \
+ TRACE_FORMAT(name, PARAMS(proto), PARAMS(args), PARAMS(fmt))
+
#endif