diff options
Diffstat (limited to 'kernel/trace/trace_nop.c')
-rw-r--r-- | kernel/trace/trace_nop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_nop.c b/kernel/trace/trace_nop.c index 16c9ba060ba..4592b486251 100644 --- a/kernel/trace/trace_nop.c +++ b/kernel/trace/trace_nop.c | |||
@@ -30,7 +30,7 @@ static void nop_trace_init(struct trace_array *tr) | |||
30 | ctx_trace = tr; | 30 | ctx_trace = tr; |
31 | 31 | ||
32 | for_each_online_cpu(cpu) | 32 | for_each_online_cpu(cpu) |
33 | tracing_reset(tr->data[cpu]); | 33 | tracing_reset(tr, cpu); |
34 | 34 | ||
35 | if (tr->ctrl) | 35 | if (tr->ctrl) |
36 | start_nop_trace(tr); | 36 | start_nop_trace(tr); |