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.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c
index 87fa7b253b57..2a012423f9d0 100644
--- a/kernel/trace/trace_sched_wakeup.c
+++ b/kernel/trace/trace_sched_wakeup.c
@@ -201,20 +201,13 @@ out:
201 atomic_dec(&tr->data[cpu]->disabled); 201 atomic_dec(&tr->data[cpu]->disabled);
202} 202}
203 203
204void 204void wakeup_sched_wakeup(struct task_struct *wakee, struct task_struct *curr)
205wakeup_sched_wakeup(struct task_struct *wakee, struct task_struct *curr)
206{ 205{
207 if (likely(!tracer_enabled)) 206 if (likely(!tracer_enabled))
208 return; 207 return;
209 208
210 wakeup_check_start(wakeup_trace, wakee, curr); 209 tracing_record_cmdline(curr);
211} 210 tracing_record_cmdline(wakee);
212
213void
214ftrace_wake_up_new_task(struct task_struct *wakee, struct task_struct *curr)
215{
216 if (likely(!tracer_enabled))
217 return;
218 211
219 wakeup_check_start(wakeup_trace, wakee, curr); 212 wakeup_check_start(wakeup_trace, wakee, curr);
220} 213}