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>
Showing
- block/blktrace.c 0 additions, 2 deletionsblock/blktrace.c
- kernel/trace/trace.c 7 additions, 1 deletionkernel/trace/trace.c
- kernel/trace/trace.h 1 addition, 0 deletionskernel/trace/trace.h
- kernel/trace/trace_branch.c 0 additions, 1 deletionkernel/trace/trace_branch.c
- kernel/trace/trace_functions.c 3 additions, 14 deletionskernel/trace/trace_functions.c
- kernel/trace/trace_functions_graph.c 0 additions, 1 deletionkernel/trace/trace_functions_graph.c
- kernel/trace/trace_hw_branches.c 0 additions, 1 deletionkernel/trace/trace_hw_branches.c
- kernel/trace/trace_nop.c 0 additions, 1 deletionkernel/trace/trace_nop.c
- kernel/trace/trace_sched_switch.c 1 addition, 7 deletionskernel/trace/trace_sched_switch.c
- kernel/trace/trace_selftest.c 9 additions, 9 deletionskernel/trace/trace_selftest.c
- kernel/trace/trace_sysprof.c 4 additions, 10 deletionskernel/trace/trace_sysprof.c
Loading