]> Git Repo - linux.git/blobdiff - lib/Kconfig.debug
Merge tag 'linux-kselftest-kunit-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kerne...
[linux.git] / lib / Kconfig.debug
index 02ee440f7be36cab2c0a28b64b3009e1320bdebc..1dd4bd7dc27149f457f8ff2733987166b9ce9ba4 100644 (file)
@@ -389,6 +389,15 @@ config PAHOLE_HAS_BTF_TAG
          btf_decl_tag) or not. Currently only clang compiler implements
          these attributes, so make the config depend on CC_IS_CLANG.
 
+config PAHOLE_HAS_LANG_EXCLUDE
+       def_bool PAHOLE_VERSION >= 124
+       help
+         Support for the --lang_exclude flag which makes pahole exclude
+         compilation units from the supplied language. Used in Kbuild to
+         omit Rust CUs which are not supported in version 1.24 of pahole,
+         otherwise it would emit malformed kernel and module binaries when
+         using DEBUG_INFO_BTF_MODULES.
+
 config DEBUG_INFO_BTF_MODULES
        def_bool y
        depends on DEBUG_INFO_BTF && MODULES && PAHOLE_HAS_SPLIT_BTF
@@ -1553,6 +1562,17 @@ config TRACE_IRQFLAGS_NMI
        depends on TRACE_IRQFLAGS
        depends on TRACE_IRQFLAGS_NMI_SUPPORT
 
+config NMI_CHECK_CPU
+       bool "Debugging for CPUs failing to respond to backtrace requests"
+       depends on DEBUG_KERNEL
+       depends on X86
+       default n
+       help
+         Enables debug prints when a CPU fails to respond to a given
+         backtrace NMI.  These prints provide some reasons why a CPU
+         might legitimately be failing to respond, for example, if it
+         is offline of if ignore_nmis is set.
+
 config DEBUG_IRQFLAGS
        bool "Debug IRQ flag manipulation"
        help
@@ -2497,6 +2517,19 @@ config LIST_KUNIT_TEST
 
          If unsure, say N.
 
+config HASHTABLE_KUNIT_TEST
+       tristate "KUnit Test for Kernel Hashtable structures" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
+       help
+         This builds the hashtable KUnit test suite.
+         It tests the basic functionality of the API defined in
+         include/linux/hashtable.h. For more information on KUnit and
+         unit tests in general please refer to the KUnit documentation
+         in Documentation/dev-tools/kunit/.
+
+         If unsure, say N.
+
 config LINEAR_RANGES_TEST
        tristate "KUnit test for linear_ranges"
        depends on KUNIT
@@ -2882,6 +2915,4 @@ config RUST_BUILD_ASSERT_ALLOW
 
 endmenu # "Rust"
 
-source "Documentation/Kconfig"
-
 endmenu # Kernel hacking
This page took 0.026991 seconds and 4 git commands to generate.