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>
This commit is contained in:
parent
51a763dd84
commit
b6f11df26f
11 changed files with 25 additions and 47 deletions
|
|
@ -56,7 +56,6 @@ static int graph_trace_init(struct trace_array *tr)
|
|||
&trace_graph_entry);
|
||||
if (ret)
|
||||
return ret;
|
||||
tracing_reset_online_cpus(tr);
|
||||
tracing_start_cmdline_record();
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue