aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/trace_boot.c
diff options
context:
space:
mode:
authorFrederic Weisbecker2008-10-31 13:14:28 +0100
committerIngo Molnar2008-11-04 17:14:05 +0100
commite55f605c14679c30be41473e60b7ad26524cdc35 (patch)
tree3204ee5f0ed1beac112fb38de72d0bc4412edddb /kernel/trace/trace_boot.c
parent07695fa04e8a3384b0c855398ce1f7885bd7dc3b (diff)
tracing/ftrace: remove unused code in sched_switch tracer
Impact: cleanup When init_sched_switch_trace() is called, it has no reason to start the sched tracer if the sched_ref is not zero. _ If this is non-zero, the tracer is already used, but we can register it to the tracing engine. There is already a security which avoid the tracer probes not to be resgistered twice. _ If this is zero, this block will not be used. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_boot.c')
0 files changed, 0 insertions, 0 deletions