aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_branch.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-01-28 10:02:12 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-29 08:28:31 -0500
commitf04109bf1be7449e27d38ae1bb8465013374bd49 (patch)
tree60c320ee6393a522910252f5e3c7294e3a739bfd /kernel/trace/trace_branch.c
parent700a3dcb9036d17d3a67d0a7ceee9d4373fbb570 (diff)
trace: Use tracing_reset_online_cpus in more places
Impact: cleanup 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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c
index ca017e0a9a27..1284145c8898 100644
--- a/kernel/trace/trace_branch.c
+++ b/kernel/trace/trace_branch.c
@@ -133,11 +133,7 @@ static void stop_branch_trace(struct trace_array *tr)
133 133
134static int branch_trace_init(struct trace_array *tr) 134static int branch_trace_init(struct trace_array *tr)
135{ 135{
136 int cpu; 136 tracing_reset_online_cpus(tr);
137
138 for_each_online_cpu(cpu)
139 tracing_reset(tr, cpu);
140
141 start_branch_trace(tr); 137 start_branch_trace(tr);
142 return 0; 138 return 0;
143} 139}