diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-02-05 18:02:00 -0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-06 01:01:41 +0100 |
commit | b6f11df26fdc28324cf9c9e3b77f2dc985c1bb13 (patch) | |
tree | e03b4b8b9dad8a2d3f81574c10aab8fb7a779cbb /kernel/trace/trace_branch.c | |
parent | 51a763dd84253bab1d0a1e68e11a7753d1b702ca (diff) | |
download | linux-b6f11df26fdc28324cf9c9e3b77f2dc985c1bb13.tar.bz2 |
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>
Diffstat (limited to 'kernel/trace/trace_branch.c')
-rw-r--r-- | kernel/trace/trace_branch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c index 48b2196abe37..f8ae2c50e01d 100644 --- a/kernel/trace/trace_branch.c +++ b/kernel/trace/trace_branch.c @@ -131,7 +131,6 @@ static void stop_branch_trace(struct trace_array *tr) static int branch_trace_init(struct trace_array *tr) { - tracing_reset_online_cpus(tr); start_branch_trace(tr); return 0; } |