diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-02-05 15:02:00 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-05 19:01:41 -0500 |
commit | b6f11df26fdc28324cf9c9e3b77f2dc985c1bb13 (patch) | |
tree | e03b4b8b9dad8a2d3f81574c10aab8fb7a779cbb /kernel/trace/trace.h | |
parent | 51a763dd84253bab1d0a1e68e11a7753d1b702ca (diff) |
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.h')
-rw-r--r-- | kernel/trace/trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index e03f157c772e..f2742fb1575a 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -395,6 +395,7 @@ struct trace_iterator { | |||
395 | cpumask_var_t started; | 395 | cpumask_var_t started; |
396 | }; | 396 | }; |
397 | 397 | ||
398 | int tracer_init(struct tracer *t, struct trace_array *tr); | ||
398 | int tracing_is_enabled(void); | 399 | int tracing_is_enabled(void); |
399 | void trace_wake_up(void); | 400 | void trace_wake_up(void); |
400 | void tracing_reset(struct trace_array *tr, int cpu); | 401 | void tracing_reset(struct trace_array *tr, int cpu); |