diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-10-31 13:20:08 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-04 17:14:06 +0100 |
commit | d7ad44b697c9d13e445ddc7d16f736fbac333249 (patch) | |
tree | a18ac8995bf7158835c69ca1c9ab9b674fc617fa /kernel/trace/trace.h | |
parent | e55f605c14679c30be41473e60b7ad26524cdc35 (diff) | |
download | linux-d7ad44b697c9d13e445ddc7d16f736fbac333249.tar.gz linux-d7ad44b697c9d13e445ddc7d16f736fbac333249.tar.bz2 linux-d7ad44b697c9d13e445ddc7d16f736fbac333249.zip |
tracing/fastboot: use sched switch tracer from boot tracer
Impact: enhance boot trace output with scheduling events
Use the sched_switch tracer from the boot tracer.
We also can trace schedule events inside the initcalls.
Sched tracing is disabled after the initcall has finished and
then reenabled before the next one is started.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 8465ad052707..9911277b268b 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -49,6 +49,7 @@ struct ftrace_entry { unsigned long parent_ip; }; extern struct tracer boot_tracer; +extern struct tracer sched_switch_trace; /* Used by the boot tracer */ /* * Context switch trace entry - which task (and prio) we switched from/to: |