]> err.no Git - linux-2.6/commit
ftrace: make the task state char-string visible to all
authorSteven Rostedt <srostedt@redhat.com>
Mon, 12 May 2008 19:20:41 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 18:31:05 +0000 (20:31 +0200)
commit7c731e0a495e25e79dc1e9e68772a67a55721a65
tree6d61a9a01708a8174d2b0badaee8df1153449be8
parentbd3bff9e20f454b242d979ec2f9a4dca0d5fa06f
ftrace: make the task state char-string visible to all

The tracer wants to be able to convert the state number
into a user visible character. This patch pulls that conversion
string out the scheduler into the header. This way if it were to
ever change, other parts of the kernel will know.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/sched.h
kernel/sched.c