tracing: add previous task state info to sched switch event
authorSteven Rostedt <srostedt@redhat.com>
Fri, 15 May 2009 14:51:13 +0000 (10:51 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 26 May 2009 18:29:19 +0000 (20:29 +0200)
commit937cdb9db7f59278d0cb1582e6e64e3dfd73b4fc
tree11ade43ae91890ad025fa97a9fd651b9149518dc
parentbe74b73a57645cc253d881ab0c1014eb64b9cf22
tracing: add previous task state info to sched switch event

It is useful to see the state of a task that is being switched out.
This patch adds the output of the state of the previous task in
the context switch event.

[ Impact: see state of switched out task in context switch ]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/trace/events/sched.h