mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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) <[email protected]>
This commit is contained in:
1 parent
27c888da98
commit
55bc8384d3
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user