Commit 55bc8384 authored by Steven Rostedt (Google)'s avatar Steven Rostedt (Google)
Browse files

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: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent 27c888da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)