summaryrefslogtreecommitdiff
path: root/include/trace
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 /include/trace
parentd6e2ca4c05be6a5ab16030a9f227301bd6acc9f0 (diff)
downloadlinux-3.10-157587d7ac555458da9f682e3250135e468470a6.tar.gz
linux-3.10-157587d7ac555458da9f682e3250135e468470a6.tar.bz2
linux-3.10-157587d7ac555458da9f682e3250135e468470a6.zip
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 'include/trace')
-rw-r--r--include/trace/lockdep_event_types.h2
-rw-r--r--include/trace/sched_event_types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/lockdep_event_types.h b/include/trace/lockdep_event_types.h
index 1f00e8b3543..adccfcd2ec8 100644
--- a/include/trace/lockdep_event_types.h
+++ b/include/trace/lockdep_event_types.h
@@ -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
diff --git a/include/trace/sched_event_types.h b/include/trace/sched_event_types.h
index 0bbbf410e01..fb37af672c8 100644
--- a/include/trace/sched_event_types.h
+++ b/include/trace/sched_event_types.h
@@ -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