summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-03-10 11:05:09 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-10 11:05:09 -0800
commitb7207bf00e030cf2c8a6841f160e3927069d9841 (patch)
tree38b18869bfc76b5eb62741b8805835e2b43907ed /lib
parentddf1974359c763c7b8134b7be54dd11a6a009434 (diff)
parent4f659aa55edf0c322710abfd9389501f8f68dc79 (diff)
Merge "rcu: Induce msm watchdog bite for rcu stalls"
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 902657d4cac5..3cd6011f209d 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1455,6 +1455,17 @@ config RCU_CPU_STALL_TIMEOUT
RCU grace period persists, additional CPU stall warnings are
printed at more widely spaced intervals.
+config RCU_STALL_WATCHDOG_BITE
+ bool "RCU stall induce watchdog bite"
+ depends on RCU_STALL_COMMON && QCOM_WATCHDOG_V2
+ help
+ Induce watchdog bite if RCU grace period extends more than
+ specified no of seconds instead of just warning messages.
+ This helps to collect ram dumps and cpu context for
+ postmortem analysis. Generally if a given RCU grace period
+ extends more than the specified number of seconds,
+ a CPU stall warning is printed.
+
config RCU_TRACE
bool "Enable tracing for RCU"
depends on DEBUG_KERNEL