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 de9dc7d8508b..980eb66a6e38 100644 --- a/include/trace/define_trace.h +++ b/include/trace/define_trace.h | |||
@@ -56,6 +56,10 @@ | |||
56 | 56 | ||
57 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) | 57 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) |
58 | 58 | ||
59 | #ifdef CONFIG_EVENT_TRACER | ||
60 | #include <trace/ftrace.h> | ||
61 | #endif | ||
62 | |||
59 | #undef TRACE_HEADER_MULTI_READ | 63 | #undef TRACE_HEADER_MULTI_READ |
60 | 64 | ||
61 | /* Only undef what we defined in this file */ | 65 | /* Only undef what we defined in this file */ |