Merge tag 'hyperv-next-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyper...
[linux-2.6-microblaze.git] / lib / Kconfig.debug
index 93d97f9..ab9a8ef 100644 (file)
@@ -164,6 +164,15 @@ config DYNAMIC_DEBUG
          See Documentation/admin-guide/dynamic-debug-howto.rst for additional
          information.
 
+config SYMBOLIC_ERRNAME
+       bool "Support symbolic error names in printf"
+       default y if PRINTK
+       help
+         If you say Y here, the kernel's printf implementation will
+         be able to print symbolic error names such as ENOSPC instead
+         of the number 28. It makes the kernel image slightly larger
+         (about 3KB), but can make the kernel logs easier to read.
+
 endmenu # "printk and dmesg options"
 
 menu "Compile-time checks and compiler options"
@@ -1664,6 +1673,8 @@ config PROVIDE_OHCI1394_DMA_INIT
 
          See Documentation/debugging-via-ohci1394.txt for more information.
 
+source "lib/kunit/Kconfig"
+
 menuconfig RUNTIME_TESTING_MENU
        bool "Runtime Testing"
        def_bool y
@@ -1948,6 +1959,35 @@ config TEST_SYSCTL
 
          If unsure, say N.
 
+config SYSCTL_KUNIT_TEST
+       bool "KUnit test for sysctl"
+       depends on KUNIT
+       help
+         This builds the proc sysctl unit test, which runs on boot.
+         Tests the API contract and implementation correctness of sysctl.
+         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 LIST_KUNIT_TEST
+       bool "KUnit Test for Kernel Linked-list structures"
+       depends on KUNIT
+       help
+         This builds the linked list KUnit test suite.
+         It tests that the API and basic functionality of the list_head type
+         and associated macros.
+
+         KUnit tests run during boot and output the results to the debug log
+         in TAP format (http://testanything.org/). Only useful for kernel devs
+         running the KUnit test harness, and not intended for inclusion into a
+         production build.
+
+         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 TEST_UDELAY
        tristate "udelay test driver"
        help
@@ -2127,4 +2167,11 @@ config IO_STRICT_DEVMEM
 
 source "arch/$(SRCARCH)/Kconfig.debug"
 
+config HYPERV_TESTING
+       bool "Microsoft Hyper-V driver testing"
+       default n
+       depends on HYPERV && DEBUG_FS
+       help
+         Select this option to enable Hyper-V vmbus testing.
+
 endmenu # Kernel hacking