summaryrefslogtreecommitdiff
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-09-04 11:54:52 -0700
committerPaul E. McKenney <paulmck@kernel.org>2020-09-04 11:54:52 -0700
commit6fe208f63a79f4f726f3be2b78ea3dd40487b657 (patch)
tree1b826243b70f09e101081d5ea6dd59aa37fe25a9 /lib/Kconfig.debug
parent7fbe67e46aab13f99d551ab04a1168a7d58cdae9 (diff)
parent2b722160f1a7929f38dfb648c7bbb45f96e65a5b (diff)
Merge branch 'csd.2020.09.04a' into HEAD
csd.2020.09.04a: CPU smp_call_function() torture tests.
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 0c3a6c752ede..4ac6f61b9475 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1377,6 +1377,17 @@ config SCF_TORTURE_TEST
module may be built after the fact on the running kernel to
be tested, if desired.
+config CSD_LOCK_WAIT_DEBUG
+ bool "Debugging for csd_lock_wait(), called from smp_call_function*()"
+ depends on DEBUG_KERNEL
+ depends on 64BIT
+ default n
+ help
+ This option enables debug prints when CPUs are slow to respond
+ to the smp_call_function*() IPI wrappers. These debug prints
+ include the IPI handler function currently executing (if any)
+ and relevant stack traces.
+
endmenu # lock debugging
config TRACE_IRQFLAGS