# SPDX-License-Identifier: GPL-2.0-only # # RCU-related debugging configuration options # menu "RCU Debugging" config [31mCONFIG_PROVE_RCU[0m def_bool [31mCONFIG_PROVE_LOCKING[0m config [31mCONFIG_PROVE_RCU_LIST[0m bool "RCU list lockdep debugging" depends on [31mCONFIG_PROVE_RCU[0m && [31mCONFIG_RCU_EXPERT[0m default n help Enable RCU lockdep checking for list usages. By default it is turned off since there are several list RCU users that still need to be converted to pass a lockdep expression. To prevent false-positive splats, we keep it default disabled but once all users are converted, we can remove this config option. config [31mCONFIG_TORTURE_TEST[0m tristate default n config [31mCONFIG_RCU_PERF_TEST[0m tristate "performance tests for RCU" depends on [31mCONFIG_DEBUG_KERNEL[0m select [31mCONFIG_TORTURE_TEST[0m select [31mCONFIG_SRCU[0m select [31mCONFIG_TASKS_RCU[0m default n help This option provides a kernel module that runs performance tests on the RCU infrastructure. The kernel module may be built after the fact on the running kernel to be tested, if desired. Say Y here if you want RCU performance tests to be built into the kernel. Say [31mCONFIG_M[0m if you want the RCU performance tests to build as a module. Say N if you are unsure. config [31mCONFIG_RCU_TORTURE_TEST[0m tristate "torture tests for RCU" depends on [31mCONFIG_DEBUG_KERNEL[0m select [31mCONFIG_TORTURE_TEST[0m select [31mCONFIG_SRCU[0m select [31mCONFIG_TASKS_RCU[0m default n help This option provides a kernel module that runs torture tests on the RCU infrastructure. The kernel module may be built after the fact on the running kernel to be tested, if desired. Say Y here if you want RCU torture tests to be built into the kernel. Say [31mCONFIG_M[0m if you want the RCU torture tests to build as a module. Say N if you are unsure. config [31mCONFIG_RCU_CPU_STALL_TIMEOUT[0m int "RCU CPU stall timeout in seconds" depends on [31mCONFIG_RCU_STALL_COMMON[0m range 3 300 default 21 help If a given RCU grace period extends more than the specified number of seconds, a CPU stall warning is printed. If the RCU grace period persists, additional CPU stall warnings are printed at more widely spaced intervals. config [31mCONFIG_RCU_TRACE[0m bool "Enable tracing for RCU" depends on [31mCONFIG_DEBUG_KERNEL[0m default y if [31mCONFIG_TREE_RCU[0m select [31mCONFIG_TRACE_CLOCK[0m help This option enables additional tracepoints for ftrace-style event tracing. Say Y here if you want to enable RCU tracing Say N if you are unsure. config [31mCONFIG_RCU_EQS_DEBUG[0m bool "Provide debugging asserts for adding NO_HZ support to an arch" depends on [31mCONFIG_DEBUG_KERNEL[0m help This option provides consistency checks in RCU's handling of [31mCONFIG_NO_HZ[0m. These checks have proven quite helpful in detecting bugs in arch-specific [31mCONFIG_NO_HZ[0m code. Say N here if you need ultimate kernel/user switch latencies Say Y if you are unsure endmenu # "RCU Debugging" |