diff options
author | Chris Caputo <ccaputo@alt.net> | 2006-12-06 23:39:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:42 -0500 |
commit | 301827acbe49d0ba7ec9770803970893ac9ded97 (patch) | |
tree | af2440b2361b190dd794479953a52d20bea50f89 /kernel | |
parent | bd9b0bac6f601655044fc35978e26231dffee03e (diff) |
[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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index c83f531c2886..b43cef02ce5b 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -4822,12 +4822,12 @@ void show_state_filter(unsigned long state_filter) | |||
4822 | 4822 | ||
4823 | #if (BITS_PER_LONG == 32) | 4823 | #if (BITS_PER_LONG == 32) |
4824 | printk("\n" | 4824 | printk("\n" |
4825 | " sibling\n"); | 4825 | " free sibling\n"); |
4826 | printk(" task PC pid father child younger older\n"); | 4826 | printk(" task PC stack pid father child younger older\n"); |
4827 | #else | 4827 | #else |
4828 | printk("\n" | 4828 | printk("\n" |
4829 | " sibling\n"); | 4829 | " free sibling\n"); |
4830 | printk(" task PC pid father child younger older\n"); | 4830 | printk(" task PC stack pid father child younger older\n"); |
4831 | #endif | 4831 | #endif |
4832 | read_lock(&tasklist_lock); | 4832 | read_lock(&tasklist_lock); |
4833 | do_each_thread(g, p) { | 4833 | do_each_thread(g, p) { |