sched/deadline: Add latency tracing for SCHED_DEADLINE tasks
authorDario Faggioli <raistlin@linux.it>
Thu, 7 Nov 2013 13:43:42 +0000 (14:43 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 13 Jan 2014 12:41:11 +0000 (13:41 +0100)
commitaf6ace764d03900524e9b1ac621a1c520ee49fc6
tree4fd7117b730a77a77be2bcd24c53284f9568ed75
parent755378a47192a3d1f7c3a8ca6c15c1cf76de0af2
sched/deadline: Add latency tracing for SCHED_DEADLINE tasks

It is very likely that systems that wants/needs to use the new
SCHED_DEADLINE policy also want to have the scheduling latency of
the -deadline tasks under control.

For this reason a new version of the scheduling wakeup latency,
called "wakeup_dl", is introduced.

As a consequence of applying this patch there will be three wakeup
latency tracer:

 * "wakeup", that deals with all tasks in the system;
 * "wakeup_rt", that deals with -rt and -deadline tasks only;
 * "wakeup_dl", that deals with -deadline tasks only.

Signed-off-by: Dario Faggioli <raistlin@linux.it>
Signed-off-by: Juri Lelli <juri.lelli@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1383831828-15501-9-git-send-email-juri.lelli@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/trace/trace_sched_wakeup.c
kernel/trace/trace_selftest.c