perf test: Fix bpf test sample mismatch reporting
[linux-2.6-microblaze.git] / lib / Kconfig.debug
index a2ccad6..ed4a31e 100644 (file)
@@ -365,6 +365,7 @@ config STRIP_ASM_SYMS
 config READABLE_ASM
        bool "Generate readable assembler code"
        depends on DEBUG_KERNEL
+       depends on CC_IS_GCC
        help
          Disable some compiler optimizations that tend to generate human unreadable
          assembler output. This may make the kernel slightly slower, but it helps
@@ -383,6 +384,7 @@ config HEADERS_INSTALL
 
 config DEBUG_SECTION_MISMATCH
        bool "Enable full Section mismatch analysis"
+       depends on CC_IS_GCC
        help
          The section mismatch analysis checks if there are illegal
          references from one section to another section.
@@ -1062,7 +1064,6 @@ config HARDLOCKUP_DETECTOR
        depends on HAVE_HARDLOCKUP_DETECTOR_PERF || HAVE_HARDLOCKUP_DETECTOR_ARCH
        select LOCKUP_DETECTOR
        select HARDLOCKUP_DETECTOR_PERF if HAVE_HARDLOCKUP_DETECTOR_PERF
-       select HARDLOCKUP_DETECTOR_ARCH if HAVE_HARDLOCKUP_DETECTOR_ARCH
        help
          Say Y here to enable the kernel to act as a watchdog to detect
          hard lockups.
@@ -2059,8 +2060,9 @@ config TEST_MIN_HEAP
          If unsure, say N.
 
 config TEST_SORT
-       tristate "Array-based sort test"
-       depends on DEBUG_KERNEL || m
+       tristate "Array-based sort test" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
        help
          This option enables the self-test function of 'sort()' at boot,
          or at module load time.
@@ -2441,8 +2443,7 @@ config SLUB_KUNIT_TEST
 
 config RATIONAL_KUNIT_TEST
        tristate "KUnit test for rational.c" if !KUNIT_ALL_TESTS
-       depends on KUNIT
-       select RATIONAL
+       depends on KUNIT && RATIONAL
        default KUNIT_ALL_TESTS
        help
          This builds the rational math unit test.