projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce181eb
)
blktrace: Use tracing_reset_online_cpus
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 28 Jan 2009 14:33:56 +0000
(12:33 -0200)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 29 Jan 2009 13:28:30 +0000
(14:28 +0100)
Impact: cleanup
Use tracing_reset_online_cpus instead of open coding it.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
block/blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blktrace.c
b/block/blktrace.c
index 1b2267c798b67e9520585c9e0702634136647f0d..04d81d31fd9455e20d32ef1ed099cb564c718f1e 100644
(file)
--- a/
block/blktrace.c
+++ b/
block/blktrace.c
@@
-1109,12
+1109,7
@@
static void blk_tracer_print_header(struct seq_file *m)
static void blk_tracer_start(struct trace_array *tr)
{
- int cpu;
-
- tr->time_start = ftrace_now(tr->cpu);
-
- for_each_online_cpu(cpu)
- tracing_reset(tr, cpu);
+ tracing_reset_online_cpus(tr);
mutex_lock(&blk_probe_mutex);
if (atomic_add_return(1, &blk_probes_ref) == 1)