diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-02-10 19:36:05 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-02-10 22:27:41 -0500 |
commit | 55bc8384d3deadce48923d8329c1434494c52273 (patch) | |
tree | 2dbf9f06008e2673347687cf48ff477cbf8ce221 /kernel/trace/trace_sched_switch.c | |
parent | 27c888da9867725784bad3d6455d6e53b425fa2b (diff) | |
download | lwn-55bc8384d3deadce48923d8329c1434494c52273.tar.gz lwn-55bc8384d3deadce48923d8329c1434494c52273.zip |
tracing: Save both wakee and current on wakeup events
Use the sched_switch function to save both the wakee and the waker comms
in the saved cmdlines list when sched_wakeup is done.
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_sched_switch.c')
-rw-r--r-- | kernel/trace/trace_sched_switch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_sched_switch.c b/kernel/trace/trace_sched_switch.c index e304196d7c28..5cd33be2031b 100644 --- a/kernel/trace/trace_sched_switch.c +++ b/kernel/trace/trace_sched_switch.c @@ -44,7 +44,7 @@ probe_sched_wakeup(void *ignore, struct task_struct *wakee) if (!flags) return; - tracing_record_taskinfo(current, flags); + tracing_record_taskinfo_sched_switch(current, wakee, flags); } static int tracing_sched_register(void) |