mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
sched/debug: Don't dump sched debug info in SysRq-W
sysrq_sched_debug_show() can dump a lot of information. Don't print out all that if we're just trying to get a list of blocked tasks (SysRq-W). The information is still accessible with SysRq-T. Signed-off-by: Rabin Vincent <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
2b8c41daba
commit
fb90a6e93c
1 changed files with 2 additions and 1 deletions
|
|
@ -5050,7 +5050,8 @@ void show_state_filter(unsigned long state_filter)
|
|||
touch_all_softlockup_watchdogs();
|
||||
|
||||
#ifdef CONFIG_SCHED_DEBUG
|
||||
sysrq_sched_debug_show();
|
||||
if (!state_filter)
|
||||
sysrq_sched_debug_show();
|
||||
#endif
|
||||
rcu_read_unlock();
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue