aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/define_trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/define_trace.h')
-rw-r--r--include/trace/define_trace.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h
index 2a4b3bf74033..244985814a43 100644
--- a/include/trace/define_trace.h
+++ b/include/trace/define_trace.h
@@ -31,6 +31,10 @@
31 assign, print, reg, unreg) \ 31 assign, print, reg, unreg) \
32 DEFINE_TRACE_FN(name, reg, unreg) 32 DEFINE_TRACE_FN(name, reg, unreg)
33 33
34#undef DEFINE_EVENT
35#define DEFINE_EVENT(template, name, proto, args) \
36 DEFINE_TRACE(name)
37
34#undef DECLARE_TRACE 38#undef DECLARE_TRACE
35#define DECLARE_TRACE(name, proto, args) \ 39#define DECLARE_TRACE(name, proto, args) \
36 DEFINE_TRACE(name) 40 DEFINE_TRACE(name)
@@ -63,6 +67,8 @@
63 67
64#undef TRACE_EVENT 68#undef TRACE_EVENT
65#undef TRACE_EVENT_FN 69#undef TRACE_EVENT_FN
70#undef TRACE_EVENT_TEMPLATE
71#undef DEFINE_EVENT
66#undef TRACE_HEADER_MULTI_READ 72#undef TRACE_HEADER_MULTI_READ
67 73
68/* Only undef what we defined in this file */ 74/* Only undef what we defined in this file */