diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-28 10:47:59 +0300 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-28 12:04:13 +0300 |
commit | 629928041c53771f9902753d50fef6b35f36d33d (patch) | |
tree | e960bf1f0311a2d00eadebfc1304662a149e32fe /include/linux/tracepoint.h | |
parent | fd99498989f3b3feeab89dcadf537138ba136d24 (diff) | |
download | linux-629928041c53771f9902753d50fef6b35f36d33d.tar.xz |
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.h | 3 |
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 |