1
0
Fork 0

sched: print backtrace of running tasks too

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>
hifive-unleashed-5.1
Nick Piggin 2008-01-25 21:08:34 +01:00 committed by Ingo Molnar
parent 19ef930927
commit 5fb5e6de55
1 changed files with 1 additions and 2 deletions

View File

@ -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)