OSDN Git Service

tracing: Save both wakee and current on wakeup events
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 11 Feb 2022 00:36:05 +0000 (19:36 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 11 Feb 2022 03:27:41 +0000 (22:27 -0500)
commit55bc8384d3deadce48923d8329c1434494c52273
tree2dbf9f06008e2673347687cf48ff477cbf8ce221
parent27c888da9867725784bad3d6455d6e53b425fa2b
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>
kernel/trace/trace_sched_switch.c