summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-03-10 00:15:34 -0400
committerSteven Rostedt <srostedt@redhat.com>2009-03-10 00:35:12 -0400
commit157587d7ac555458da9f682e3250135e468470a6 (patch)
tree81033336672eb821f3833a1667bedfc646a3a6f5 /kernel
parentd6e2ca4c05be6a5ab16030a9f227301bd6acc9f0 (diff)
downloadop-kernel-dev-157587d7ac555458da9f682e3250135e468470a6.zip
op-kernel-dev-157587d7ac555458da9f682e3250135e468470a6.tar.gz
tracing: remove obsolete TRACE_EVENT_FORMAT macro
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/trace_events_stage_1.h3
-rw-r--r--kernel/trace/trace_events_stage_3.h6
2 files changed, 1 insertions, 8 deletions
diff --git a/kernel/trace/trace_events_stage_1.h b/kernel/trace/trace_events_stage_1.h
index edfcbd3..15e9bf9 100644
--- a/kernel/trace/trace_events_stage_1.h
+++ b/kernel/trace/trace_events_stage_1.h
@@ -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];
diff --git a/kernel/trace/trace_events_stage_3.h b/kernel/trace/trace_events_stage_3.h
index 8e398d8..3ba55d4 100644
--- a/kernel/trace/trace_events_stage_3.h
+++ b/kernel/trace/trace_events_stage_3.h
@@ -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
OpenPOWER on IntegriCloud