summaryrefslogtreecommitdiffstats
path: root/kernel/include/trace/define_trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/trace/define_trace.h')
-rw-r--r--kernel/include/trace/define_trace.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/include/trace/define_trace.h b/kernel/include/trace/define_trace.h
index 02e100356..2d8639ea6 100644
--- a/kernel/include/trace/define_trace.h
+++ b/kernel/include/trace/define_trace.h
@@ -86,8 +86,9 @@
#undef DECLARE_TRACE
#define DECLARE_TRACE(name, proto, args)
-#ifdef CONFIG_EVENT_TRACING
-#include <trace/ftrace.h>
+#ifdef TRACEPOINTS_ENABLED
+#include <trace/trace_events.h>
+#include <trace/perf.h>
#endif
#undef TRACE_EVENT