diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-13 12:25:37 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-14 12:57:59 -0400 |
commit | f42c85e74faa422cf0bc747ed808681145448f88 (patch) | |
tree | 3775dc0a402f7da5247aa8ceb92ae89590038199 /include/trace/define_trace.h | |
parent | 97f2025153499faa17267a0d4e18c7afaf73f39d (diff) |
tracing/events: move the ftrace event tracing code to core
This patch moves the ftrace creation into include/trace/ftrace.h and
simplifies the work of developers in adding new tracepoints.
Just the act of creating the trace points in include/trace and including
define_trace.h will create the events in the debugfs/tracing/events
directory.
This patch removes the need of include/trace/trace_events.h
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/define_trace.h')
-rw-r--r-- | include/trace/define_trace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h index de9dc7d8508..980eb66a6e3 100644 --- a/include/trace/define_trace.h +++ b/include/trace/define_trace.h @@ -56,6 +56,10 @@ #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) +#ifdef CONFIG_EVENT_TRACER +#include <trace/ftrace.h> +#endif + #undef TRACE_HEADER_MULTI_READ /* Only undef what we defined in this file */ |