sched/tracing: Allow tracing the preemption decision on wakeup
authorPeter Zijlstra <peterz@infradead.org>
Thu, 14 Mar 2013 09:48:39 +0000 (10:48 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 18 Mar 2013 09:18:08 +0000 (10:18 +0100)
Thomas noted that we do the wakeup preemption check after the
wakeup trace point, this means the tracepoint cannot test/report
this decision; which is rather important for latency sensitive
workloads. Therefore move the tracepoint after doing the
preemption check.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Paul Turner <pjt@google.com>
Cc: Mike Galbraith <efault@gmx.de>
Link: http://lkml.kernel.org/r/1363254519.26965.9.camel@laptop
Signed-off-by: Ingo Molnar <mingo@kernel.org>

No differences found