diff options
Diffstat (limited to 'kernel/trace/trace_sched_switch.c')
-rw-r--r-- | kernel/trace/trace_sched_switch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/trace_sched_switch.c b/kernel/trace/trace_sched_switch.c index 2715267be46..6c9284103a6 100644 --- a/kernel/trace/trace_sched_switch.c +++ b/kernel/trace/trace_sched_switch.c | |||
@@ -107,6 +107,9 @@ static struct tracer sched_switch_trace __read_mostly = | |||
107 | .init = sched_switch_trace_init, | 107 | .init = sched_switch_trace_init, |
108 | .reset = sched_switch_trace_reset, | 108 | .reset = sched_switch_trace_reset, |
109 | .ctrl_update = sched_switch_trace_ctrl_update, | 109 | .ctrl_update = sched_switch_trace_ctrl_update, |
110 | #ifdef CONFIG_FTRACE_SELFTEST | ||
111 | .selftest = trace_selftest_startup_sched_switch, | ||
112 | #endif | ||
110 | }; | 113 | }; |
111 | 114 | ||
112 | __init static int init_sched_switch_trace(void) | 115 | __init static int init_sched_switch_trace(void) |