diff options
| -rw-r--r-- | kernel/trace/trace_sched_wakeup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c index 31689d2df7f3..7319559ed59f 100644 --- a/kernel/trace/trace_sched_wakeup.c +++ b/kernel/trace/trace_sched_wakeup.c | |||
| @@ -130,6 +130,7 @@ static struct ftrace_ops trace_ops __read_mostly = | |||
| 130 | { | 130 | { |
| 131 | .func = wakeup_tracer_call, | 131 | .func = wakeup_tracer_call, |
| 132 | }; | 132 | }; |
| 133 | #endif /* CONFIG_FUNCTION_TRACER */ | ||
| 133 | 134 | ||
| 134 | static int start_func_tracer(int graph) | 135 | static int start_func_tracer(int graph) |
| 135 | { | 136 | { |
| @@ -159,8 +160,6 @@ static void stop_func_tracer(int graph) | |||
| 159 | unregister_ftrace_graph(); | 160 | unregister_ftrace_graph(); |
| 160 | } | 161 | } |
| 161 | 162 | ||
| 162 | #endif /* CONFIG_FUNCTION_TRACER */ | ||
| 163 | |||
| 164 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | 163 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
| 165 | static int wakeup_set_flag(u32 old_flags, u32 bit, int set) | 164 | static int wakeup_set_flag(u32 old_flags, u32 bit, int set) |
| 166 | { | 165 | { |
