提交 5fb5e6de 编写于 作者: N Nick Piggin 提交者: Ingo Molnar

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: NIngo Molnar <mingo@elte.hu>
上级 19ef9309
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册