]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[PATCH] sched: correct output of show_state()
authorChris Caputo <ccaputo@alt.net>
Thu, 7 Dec 2006 04:39:11 +0000 (20:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:42 +0000 (08:39 -0800)
commit301827acbe49d0ba7ec9770803970893ac9ded97
treeaf2440b2361b190dd794479953a52d20bea50f89
parentbd9b0bac6f601655044fc35978e26231dffee03e
[PATCH] sched: correct output of show_state()

At present show_state prints a header the does not match the output of
show_task, as follows:

-
                                               sibling
  task             PC      pid father child younger older
init          S 00000000     0     1      0     2               (NOTLB)
-

This patch corrects the output of show_state so that the header is
aligned with the data, ala:

-
                         free                        sibling
  task             PC    stack   pid father child younger older
init          S 00000000     0     1      0     2               (NOTLB)
-

Signed-off-by: Chris Caputo <ccaputo@alt.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sched.c