]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sched, tracing: Show PREEMPT_ACTIVE state in trace_sched_switch
authorPeter Zijlstra <peterz@infradead.org>
Fri, 16 Sep 2011 09:16:43 +0000 (11:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Sep 2011 11:25:54 +0000 (13:25 +0200)
commit557ab425429a5123d37f412ce3e6d6137cb621f8
tree2e1106b01ada425da6b2cd4f38fc59384cb031a5
parentf4cfb33ed980085b14a8f376281edb2e270f0244
sched, tracing: Show PREEMPT_ACTIVE state in trace_sched_switch

We had need to see the difference between scheduling a runnable task and
a runnable task being involuntarily preempted.

No app should rely on the old string output (the binary
trace event record format is not changed).

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1316164603.10174.11.camel@twins
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/trace/events/sched.h