aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_sched_wakeup.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_sched_wakeup.c')
-rw-r--r--kernel/trace/trace_sched_wakeup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c
index 6e32635e5e57..f0bbdc261028 100644
--- a/kernel/trace/trace_sched_wakeup.c
+++ b/kernel/trace/trace_sched_wakeup.c
@@ -209,7 +209,8 @@ static void stop_func_tracer(int graph)
209} 209}
210 210
211#ifdef CONFIG_FUNCTION_GRAPH_TRACER 211#ifdef CONFIG_FUNCTION_GRAPH_TRACER
212static int wakeup_set_flag(u32 old_flags, u32 bit, int set) 212static int
213wakeup_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set)
213{ 214{
214 215
215 if (!(bit & TRACE_DISPLAY_GRAPH)) 216 if (!(bit & TRACE_DISPLAY_GRAPH))
@@ -311,7 +312,8 @@ __trace_function(struct trace_array *tr,
311#else 312#else
312#define __trace_function trace_function 313#define __trace_function trace_function
313 314
314static int wakeup_set_flag(u32 old_flags, u32 bit, int set) 315static int
316wakeup_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set)
315{ 317{
316 return -EINVAL; 318 return -EINVAL;
317} 319}