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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h
index 244985814a43..5d7d855ae21e 100644
--- a/include/trace/define_trace.h
+++ b/include/trace/define_trace.h
@@ -35,6 +35,10 @@
35#define DEFINE_EVENT(template, name, proto, args) \ 35#define DEFINE_EVENT(template, name, proto, args) \
36 DEFINE_TRACE(name) 36 DEFINE_TRACE(name)
37 37
38#undef DEFINE_EVENT_PRINT
39#define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
40 DEFINE_TRACE(name)
41
38#undef DECLARE_TRACE 42#undef DECLARE_TRACE
39#define DECLARE_TRACE(name, proto, args) \ 43#define DECLARE_TRACE(name, proto, args) \
40 DEFINE_TRACE(name) 44 DEFINE_TRACE(name)
@@ -69,6 +73,7 @@
69#undef TRACE_EVENT_FN 73#undef TRACE_EVENT_FN
70#undef TRACE_EVENT_TEMPLATE 74#undef TRACE_EVENT_TEMPLATE
71#undef DEFINE_EVENT 75#undef DEFINE_EVENT
76#undef DEFINE_EVENT_PRINT
72#undef TRACE_HEADER_MULTI_READ 77#undef TRACE_HEADER_MULTI_READ
73 78
74/* Only undef what we defined in this file */ 79/* Only undef what we defined in this file */