diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-02-22 20:05:05 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-02-25 04:35:02 -0500 |
commit | 1ed509a225008c9e8c0644fbd22168e09a7383a0 (patch) | |
tree | db65a58258bb968e7bc922dab14f4f0714a7667e /lib/Kconfig.debug | |
parent | 6155fec92e85f07d99e9746234496215443ffb0d (diff) |
rcu: Add RCU_CPU_STALL_VERBOSE to dump detailed per-task information
When RCU detects a grace-period stall, it currently just prints
out the PID of any tasks doing the stalling. This patch adds
RCU_CPU_STALL_VERBOSE, which enables the more-verbose reporting
from sched_show_task().
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: mathieu.desnoyers@polymtl.ca
Cc: josh@joshtriplett.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: Valdis.Kletnieks@vt.edu
Cc: dhowells@redhat.com
LKML-Reference: <1266887105-1528-21-git-send-email-paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 6af20a8a0a54..4cdab452bfe2 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -781,6 +781,18 @@ config RCU_CPU_STALL_DETECTOR | |||
781 | 781 | ||
782 | Say Y if you are unsure. | 782 | Say Y if you are unsure. |
783 | 783 | ||
784 | config RCU_CPU_STALL_VERBOSE | ||
785 | bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" | ||
786 | depends on RCU_CPU_STALL_DETECTOR && TREE_PREEMPT_RCU | ||
787 | default n | ||
788 | help | ||
789 | This option causes RCU to printk detailed per-task information | ||
790 | for any tasks that are stalling the current RCU grace period. | ||
791 | |||
792 | Say N if you are unsure. | ||
793 | |||
794 | Say Y if you want to enable such checks. | ||
795 | |||
784 | config KPROBES_SANITY_TEST | 796 | config KPROBES_SANITY_TEST |
785 | bool "Kprobes sanity tests" | 797 | bool "Kprobes sanity tests" |
786 | depends on DEBUG_KERNEL | 798 | depends on DEBUG_KERNEL |