diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-10-31 08:20:08 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-04 11:14:06 -0500 |
commit | d7ad44b697c9d13e445ddc7d16f736fbac333249 (patch) | |
tree | a18ac8995bf7158835c69ca1c9ab9b674fc617fa /kernel/trace/trace.h | |
parent | e55f605c14679c30be41473e60b7ad26524cdc35 (diff) |
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 { | |||
49 | unsigned long parent_ip; | 49 | unsigned long parent_ip; |
50 | }; | 50 | }; |
51 | extern struct tracer boot_tracer; | 51 | extern struct tracer boot_tracer; |
52 | extern struct tracer sched_switch_trace; /* Used by the boot tracer */ | ||
52 | 53 | ||
53 | /* | 54 | /* |
54 | * Context switch trace entry - which task (and prio) we switched from/to: | 55 | * Context switch trace entry - which task (and prio) we switched from/to: |