Merge branch 'topic/ppc-kvm' into next
[linux-2.6-microblaze.git] / lib / Kconfig.debug
index d1398ce..21d9c5f 100644 (file)
@@ -242,6 +242,8 @@ config DEBUG_INFO_DWARF4
 config DEBUG_INFO_BTF
        bool "Generate BTF typeinfo"
        depends on DEBUG_INFO
+       depends on !DEBUG_INFO_SPLIT && !DEBUG_INFO_REDUCED
+       depends on !GCC_PLUGIN_RANDSTRUCT || COMPILE_TEST
        help
          Generate deduplicated BTF type information from DWARF debug info.
          Turning this on expects presence of pahole tool, which will convert
@@ -305,18 +307,6 @@ config HEADERS_INSTALL
          user-space program samples. It is also needed by some features such
          as uapi header sanity checks.
 
-config OPTIMIZE_INLINING
-       def_bool y
-       help
-         This option determines if the kernel forces gcc to inline the functions
-         developers have marked 'inline'. Doing so takes away freedom from gcc to
-         do what it thinks is best, which is desirable for the gcc 3.x series of
-         compilers. The gcc 4.x series have a rewritten inlining algorithm and
-         enabling this option will generate a smaller kernel there. Hopefully
-         this algorithm is so good that allowing gcc 4.x and above to make the
-         decision will become the default in the future. Until then this option
-         is there to test gcc for this.
-
 config DEBUG_SECTION_MISMATCH
        bool "Enable full Section mismatch analysis"
        help
@@ -988,6 +978,18 @@ config WQ_WATCHDOG
          state.  This can be configured through kernel parameter
          "workqueue.watchdog_thresh" and its sysfs counterpart.
 
+config TEST_LOCKUP
+       tristate "Test module to generate lockups"
+       help
+         This builds the "test_lockup" module that helps to make sure
+         that watchdogs and lockup detectors are working properly.
+
+         Depending on module parameters it could emulate soft or hard
+         lockup, "hung task", or locking arbitrary lock for a long time.
+         Also it could generate series of lockups with cooling-down periods.
+
+         If unsure, say N.
+
 endmenu # "Debug lockups and hangs"
 
 menu "Scheduler Debugging"
@@ -1655,7 +1657,7 @@ config FAILSLAB
          Provide fault-injection capability for kmalloc.
 
 config FAIL_PAGE_ALLOC
-       bool "Fault-injection capabilitiy for alloc_pages()"
+       bool "Fault-injection capability for alloc_pages()"
        depends on FAULT_INJECTION
        help
          Provide fault-injection capability for alloc_pages().