aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/trace_sched_wakeup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c
index bf7e91caef57..3c8d61df4474 100644
--- a/kernel/trace/trace_sched_wakeup.c
+++ b/kernel/trace/trace_sched_wakeup.c
@@ -352,9 +352,10 @@ static void start_wakeup_tracer(struct trace_array *tr)
352 */ 352 */
353 smp_wmb(); 353 smp_wmb();
354 354
355 tracer_enabled = 1;
356 register_ftrace_function(&trace_ops); 355 register_ftrace_function(&trace_ops);
357 356
357 tracer_enabled = 1;
358
358 return; 359 return;
359fail_deprobe_wake_new: 360fail_deprobe_wake_new:
360 marker_probe_unregister("kernel_sched_wakeup_new", 361 marker_probe_unregister("kernel_sched_wakeup_new",