aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorRabin Vincent <rabinv@axis.com>2016-04-04 09:42:02 -0400
committerIngo Molnar <mingo@kernel.org>2016-04-13 05:23:21 -0400
commitfb90a6e93c0684ab2629a42462400603aa829b9c (patch)
tree92ada150b9a115c83d0e99c619e8d5cdf93c6b20 /kernel/sched
parent2b8c41daba327c633228169e8bd8ec067ab443f8 (diff)
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 <rabinv@axis.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1459777322-30902-1-git-send-email-rabin.vincent@axis.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 11594230ef4d..06efbb9c9544 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -5050,7 +5050,8 @@ void show_state_filter(unsigned long state_filter)
5050 touch_all_softlockup_watchdogs(); 5050 touch_all_softlockup_watchdogs();
5051 5051
5052#ifdef CONFIG_SCHED_DEBUG 5052#ifdef CONFIG_SCHED_DEBUG
5053 sysrq_sched_debug_show(); 5053 if (!state_filter)
5054 sysrq_sched_debug_show();
5054#endif 5055#endif
5055 rcu_read_unlock(); 5056 rcu_read_unlock();
5056 /* 5057 /*