]> git.ipfire.org Git - thirdparty/kernel/linux.git/blobdiff - lib/Kconfig.debug
Merge tag '6.10-rc-smb-fix' of git://git.samba.org/sfrench/cifs-2.6
[thirdparty/kernel/linux.git] / lib / Kconfig.debug
index f4a12980a8da3406c4dc67f60ca11ff77a99b626..8bba448c819b8ab5d2bbbd489580371aaf5a6144 100644 (file)
@@ -375,7 +375,7 @@ config DEBUG_INFO_SPLIT
          Incompatible with older versions of ccache.
 
 config DEBUG_INFO_BTF
-       bool "Generate BTF typeinfo"
+       bool "Generate BTF type information"
        depends on !DEBUG_INFO_SPLIT && !DEBUG_INFO_REDUCED
        depends on !GCC_PLUGIN_RANDSTRUCT || COMPILE_TEST
        depends on BPF_SYSCALL
@@ -408,7 +408,8 @@ config PAHOLE_HAS_LANG_EXCLUDE
          using DEBUG_INFO_BTF_MODULES.
 
 config DEBUG_INFO_BTF_MODULES
-       def_bool y
+       bool "Generate BTF type information for kernel modules"
+       default y
        depends on DEBUG_INFO_BTF && MODULES && PAHOLE_HAS_SPLIT_BTF
        help
          Generate compact split BTF type information for kernel modules.
@@ -1029,6 +1030,20 @@ config SOFTLOCKUP_DETECTOR
          chance to run.  The current stack trace is displayed upon
          detection and the system will stay locked up.
 
+config SOFTLOCKUP_DETECTOR_INTR_STORM
+       bool "Detect Interrupt Storm in Soft Lockups"
+       depends on SOFTLOCKUP_DETECTOR && IRQ_TIME_ACCOUNTING
+       select GENERIC_IRQ_STAT_SNAPSHOT
+       default y if NR_CPUS <= 128
+       help
+         Say Y here to enable the kernel to detect interrupt storm
+         during "soft lockups".
+
+         "soft lockups" can be caused by a variety of reasons. If one is
+         caused by an interrupt storm, then the storming interrupts will not
+         be on the callstack. To detect this case, it is necessary to report
+         the CPU stats and the interrupt counts during the "soft lockups".
+
 config BOOTPARAM_SOFTLOCKUP_PANIC
        bool "Panic (Reboot) On Soft Lockups"
        depends on SOFTLOCKUP_DETECTOR
@@ -1250,7 +1265,7 @@ config SCHED_INFO
 
 config SCHEDSTATS
        bool "Collect scheduler statistics"
-       depends on DEBUG_KERNEL && PROC_FS
+       depends on PROC_FS
        select SCHED_INFO
        help
          If you say Y here, additional code will be inserted into the
@@ -2703,18 +2718,6 @@ config MEMCPY_KUNIT_TEST
 
          If unsure, say N.
 
-config MEMCPY_SLOW_KUNIT_TEST
-       bool "Include exhaustive memcpy tests"
-       depends on MEMCPY_KUNIT_TEST
-       default y
-       help
-         Some memcpy tests are quite exhaustive in checking for overlaps
-         and bit ranges. These can be very slow, so they are split out
-         as a separate config, in case they need to be disabled.
-
-         Note this config option will be replaced by the use of KUnit test
-         attributes.
-
 config IS_SIGNED_TYPE_KUNIT_TEST
        tristate "Test is_signed_type() macro" if !KUNIT_ALL_TESTS
        depends on KUNIT
@@ -2770,16 +2773,6 @@ config HW_BREAKPOINT_KUNIT_TEST
 
          If unsure, say N.
 
-config STRCAT_KUNIT_TEST
-       tristate "Test strcat() family of functions at runtime" if !KUNIT_ALL_TESTS
-       depends on KUNIT
-       default KUNIT_ALL_TESTS
-
-config STRSCPY_KUNIT_TEST
-       tristate "Test strscpy*() family of functions at runtime" if !KUNIT_ALL_TESTS
-       depends on KUNIT
-       default KUNIT_ALL_TESTS
-
 config SIPHASH_KUNIT_TEST
        tristate "Perform selftest on siphash functions" if !KUNIT_ALL_TESTS
        depends on KUNIT