projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19ef930
)
sched: print backtrace of running tasks too
author
Nick Piggin
<nickpiggin@yahoo.com.au>
Fri, 25 Jan 2008 20:08:34 +0000
(21:08 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 25 Jan 2008 20:08:34 +0000
(21:08 +0100)
The attached patch is something really simple that can sometimes help
in getting more info out of a hung system.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
patch
|
blob
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 4d3a5a7008662d634c33baa85b94748002bc6df6..524285e46fa788e7e0a04612a611965b7650a2d5 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-5161,8
+5161,7
@@
void sched_show_task(struct task_struct *p)
printk(KERN_CONT "%5lu %5d %6d\n", free,
task_pid_nr(p), task_pid_nr(p->real_parent));
- if (state != TASK_RUNNING)
- show_stack(p, NULL);
+ show_stack(p, NULL);
}
void show_state_filter(unsigned long state_filter)