diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-24 16:22:57 +0100 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-25 03:54:07 +0100 |
commit | f3fe8e4a38fd19dbb3f8ffb1826aa840ae304a65 (patch) | |
tree | 9df43f7711f836173adebcefe2f4776bd3e30340 /kernel/trace/events.c | |
parent | tracing: add event trace infrastructure (diff) | |
download | linux-f3fe8e4a38fd19dbb3f8ffb1826aa840ae304a65.tar.xz linux-f3fe8e4a38fd19dbb3f8ffb1826aa840ae304a65.zip |
tracing: add schedule events to event trace
This patch changes the trace/sched.h to use the DECLARE_TRACE_FMT
such that they are automatically registered with the event tracer.
And it also adds the tracing sched headers to kernel/trace/events.c
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/events.c')
-rw-r--r-- | kernel/trace/events.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/trace/events.c b/kernel/trace/events.c new file mode 100644 index 000000000000..38c89eef99ee --- /dev/null +++ b/kernel/trace/events.c @@ -0,0 +1,13 @@ +/* + * This is the place to register all trace points as events. + * Include the trace/<type>.h at the top. + * Include the trace/<type>_event_types.h at the bottom. + */ + +/* trace/<type>.h here */ +#include <trace/sched.h> + +#include "trace_events.h" + +/* trace/<type>_event_types.h here */ +#include <trace/sched_event_types.h> |