diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-01-16 16:29:10 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-02-21 12:03:49 -0500 |
commit | a858af2875fb291d0f4b0a4419fefbf03c2379c0 (patch) | |
tree | 5183796cbf50ec0cd3bd5c741db15705376dacbd /lib | |
parent | 13cfcca0e4e2d4cee1d0183c049eb34e54ac976e (diff) |
rcu: Print scheduling-clock information on RCU CPU stall-warning messages
There have been situations where RCU CPU stall warnings were caused by
issues in scheduling-clock timer initialization. To make it easier to
track these down, this commit causes the RCU CPU stall-warning messages
to print out the number of scheduling-clock interrupts taken in the
current grace period for each stalled CPU.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 3cc419d05f2f..d27a2aa3e815 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -927,6 +927,20 @@ config RCU_CPU_STALL_VERBOSE | |||
927 | 927 | ||
928 | Say Y if you want to enable such checks. | 928 | Say Y if you want to enable such checks. |
929 | 929 | ||
930 | config RCU_CPU_STALL_INFO | ||
931 | bool "Print additional diagnostics on RCU CPU stall" | ||
932 | depends on (TREE_RCU || TREE_PREEMPT_RCU) && DEBUG_KERNEL | ||
933 | default n | ||
934 | help | ||
935 | For each stalled CPU that is aware of the current RCU grace | ||
936 | period, print out additional per-CPU diagnostic information | ||
937 | regarding scheduling-clock ticks, idle state, and, | ||
938 | for RCU_FAST_NO_HZ kernels, idle-entry state. | ||
939 | |||
940 | Say N if you are unsure. | ||
941 | |||
942 | Say Y if you want to enable such diagnostics. | ||
943 | |||
930 | config RCU_TRACE | 944 | config RCU_TRACE |
931 | bool "Enable tracing for RCU" | 945 | bool "Enable tracing for RCU" |
932 | depends on DEBUG_KERNEL | 946 | depends on DEBUG_KERNEL |