]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
tracing: remove obsolete TRACE_EVENT_FORMAT macro
authorSteven Rostedt <srostedt@redhat.com>
Tue, 10 Mar 2009 04:15:34 +0000 (00:15 -0400)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 10 Mar 2009 04:35:12 +0000 (00:35 -0400)
Impact: clean up

The TRACE_EVENT_FORMAT macro is no longer used by trace points
and only the DECLARE_TRACE, TRACE_FORMAT or TRACE_EVENT macros should
be used by them. Although the TRACE_EVENT_FORMAT macro is still used
by the internal tracing utility, it should not be used in core
kernel code.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
include/linux/tracepoint.h
include/trace/lockdep_event_types.h
include/trace/sched_event_types.h
kernel/trace/trace_events_stage_1.h
kernel/trace/trace_events_stage_3.h

index 6b4f1bb3701e877cd90c2cd47e3c00b4001d2f7d..69b56988813d84eabdf5c2be7e52ff11b018fa62 100644 (file)
@@ -157,9 +157,6 @@ 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))
-
 #define TRACE_EVENT(name, proto, args, struct, print, assign)  \
        DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
 
index 1f00e8b3543e107de0b7ae9847d5c7b426521b03..adccfcd2ec8fcb737abc24ce6686b75216c508f8 100644 (file)
@@ -1,5 +1,5 @@
 
-#ifndef TRACE_EVENT_FORMAT
+#ifndef TRACE_FORMAT
 # error Do not include this file directly.
 # error Unless you know what you are doing.
 #endif
index 0bbbf410e01ff4c0c811a6cef9677ecfa6be277f..fb37af672c8824e5d86918f0676ba0d1c978b336 100644 (file)
@@ -1,6 +1,6 @@
 
 /* use <trace/sched.h> instead */
-#ifndef TRACE_EVENT_FORMAT
+#ifndef TRACE_EVENT
 # error Do not include this file directly.
 # error Unless you know what you are doing.
 #endif
index edfcbd3a0d1bd7b9838042aa38e4f17de4ea1281..15e9bf965a189ea8f685f17bb84665f35b51a389 100644 (file)
@@ -17,9 +17,6 @@
 #undef TRACE_FORMAT
 #define TRACE_FORMAT(call, proto, args, fmt)
 
-#undef TRACE_EVENT_FORMAT
-#define TRACE_EVENT_FORMAT(name, proto, args, fmt, tstruct, tpfmt)
-
 #undef __array
 #define __array(type, item, len)       type    item[len];
 
index 8e398d864096d443986437c282d3c48a49ea6c9c..3ba55d4ab073829d9a378622b6bebab2e77d92fe 100644 (file)
@@ -35,7 +35,7 @@
  * }
  *
  *
- * For those macros defined with TRACE_EVENT_FORMAT:
+ * For those macros defined with TRACE_EVENT:
  *
  * static struct ftrace_event_call event_<call>;
  *
@@ -144,10 +144,6 @@ __attribute__((section("_ftrace_events"))) event_##call = {                \
        .unregfunc              = ftrace_unreg_event_##call,            \
 }
 
-#undef TRACE_EVENT_FORMAT
-#define TRACE_EVENT_FORMAT(call, proto, args, fmt, tstruct, raw)       \
-       TRACE_FORMAT(call, PARAMS(proto), PARAMS(args), PARAMS(fmt))
-
 #undef __entry
 #define __entry entry