diff options
Diffstat (limited to 'kernel/trace/trace_sched_wakeup.c')
| -rw-r--r-- | kernel/trace/trace_sched_wakeup.c | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c index 0469a04a355f..130ca7e7787e 100644 --- a/kernel/trace/trace_sched_wakeup.c +++ b/kernel/trace/trace_sched_wakeup.c @@ -112,14 +112,15 @@ static int wakeup_display_graph(struct trace_array *tr, int set)  	return start_func_tracer(tr, set);  } -static int wakeup_graph_entry(struct ftrace_graph_ent *trace) +static int wakeup_graph_entry(struct ftrace_graph_ent *trace, +			      struct fgraph_ops *gops)  {  	struct trace_array *tr = wakeup_trace;  	struct trace_array_cpu *data;  	unsigned int trace_ctx;  	int ret = 0; -	if (ftrace_graph_ignore_func(trace)) +	if (ftrace_graph_ignore_func(gops, trace))  		return 0;  	/*  	 * Do not trace a function if it's filtered by set_graph_notrace. @@ -141,13 +142,14 @@ static int wakeup_graph_entry(struct ftrace_graph_ent *trace)  	return ret;  } -static void wakeup_graph_return(struct ftrace_graph_ret *trace) +static void wakeup_graph_return(struct ftrace_graph_ret *trace, +				struct fgraph_ops *gops)  {  	struct trace_array *tr = wakeup_trace;  	struct trace_array_cpu *data;  	unsigned int trace_ctx; -	ftrace_graph_addr_finish(trace); +	ftrace_graph_addr_finish(gops, trace);  	if (!func_prolog_preempt_disable(tr, &data, &trace_ctx))  		return; |