trace: Call tracing_reset_online_cpus before tracer->init()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 5 Feb 2009 20:02:00 +0000 (18:02 -0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Feb 2009 00:01:41 +0000 (01:01 +0100)
commitb6f11df26fdc28324cf9c9e3b77f2dc985c1bb13
treee03b4b8b9dad8a2d3f81574c10aab8fb7a779cbb
parent51a763dd84253bab1d0a1e68e11a7753d1b702ca
trace: Call tracing_reset_online_cpus before tracer->init()

Impact: cleanup

To make it easy for ftrace plugin writers, as this was open coded in
the existing plugins

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Frédéric Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
block/blktrace.c
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_branch.c
kernel/trace/trace_functions.c
kernel/trace/trace_functions_graph.c
kernel/trace/trace_hw_branches.c
kernel/trace/trace_nop.c
kernel/trace/trace_sched_switch.c
kernel/trace/trace_selftest.c
kernel/trace/trace_sysprof.c