]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - lib/Kconfig.debug
btrfs: qgroup: Re-arrange tracepoint timing to co-operate with reserved space tracepoint
[mirror_ubuntu-bionic-kernel.git] / lib / Kconfig.debug
index eb9e9a7870fa7bdb0f373f858037c1026880c85f..97d62c2da6c25dd5721f8c1c75264c83201f7247 100644 (file)
@@ -416,6 +416,16 @@ config MAGIC_SYSRQ_DEFAULT_ENABLE
          This may be set to 1 or 0 to enable or disable them all, or
          to a bitmask as described in Documentation/sysrq.txt.
 
+config MAGIC_SYSRQ_SERIAL
+       bool "Enable magic SysRq key over serial"
+       depends on MAGIC_SYSRQ
+       default y
+       help
+         Many embedded boards have a disconnected TTL level serial which can
+         generate some garbage that can lead to spurious false sysrq detects.
+         This option allows you to decide whether you want to enable the
+         magic SysRq key.
+
 config DEBUG_KERNEL
        bool "Kernel debugging"
        help
@@ -622,9 +632,12 @@ config DEBUG_VM_PGFLAGS
 
          If unsure, say N.
 
+config ARCH_HAS_DEBUG_VIRTUAL
+       bool
+
 config DEBUG_VIRTUAL
        bool "Debug VM translations"
-       depends on DEBUG_KERNEL && X86
+       depends on DEBUG_KERNEL && ARCH_HAS_DEBUG_VIRTUAL
        help
          Enable some costly sanity checks in virtual to page code. This can
          catch mistakes with virt_to_page() and friends.
@@ -980,20 +993,6 @@ config DEBUG_TIMEKEEPING
 
          If unsure, say N.
 
-config TIMER_STATS
-       bool "Collect kernel timers statistics"
-       depends on DEBUG_KERNEL && PROC_FS
-       help
-         If you say Y here, additional code will be inserted into the
-         timer routines to collect statistics about kernel timers being
-         reprogrammed. The statistics can be read from /proc/timer_stats.
-         The statistics collection is started by writing 1 to /proc/timer_stats,
-         writing 0 stops it. This feature is useful to collect information
-         about timer usage patterns in kernel and userspace. This feature
-         is lightweight if enabled in the kernel config but not activated
-         (it defaults to deactivated on bootup and will only be activated
-         if some application like powertop activates it explicitly).
-
 config DEBUG_PREEMPT
        bool "Debug preemptible kernel"
        depends on DEBUG_KERNEL && PREEMPT && TRACE_IRQFLAGS_SUPPORT
@@ -1180,6 +1179,18 @@ config LOCK_TORTURE_TEST
          Say M if you want these torture tests to build as a module.
          Say N if you are unsure.
 
+config WW_MUTEX_SELFTEST
+       tristate "Wait/wound mutex selftests"
+       help
+         This option provides a kernel module that runs tests on the
+         on the struct ww_mutex locking API.
+
+         It is recommended to enable DEBUG_WW_MUTEX_SLOWPATH in conjunction
+         with this test harness.
+
+         Say M if you want these self tests to build as a module.
+         Say N if you are unsure.
+
 endmenu # lock debugging
 
 config TRACE_IRQFLAGS
@@ -1450,6 +1461,7 @@ config RCU_CPU_STALL_TIMEOUT
 config RCU_TRACE
        bool "Enable tracing for RCU"
        depends on DEBUG_KERNEL
+       default y if TREE_RCU
        select TRACE_CLOCK
        help
          This option provides tracing in RCU which presents stats
@@ -1714,6 +1726,14 @@ config TEST_LIST_SORT
 
          If unsure, say N.
 
+config TEST_SORT
+       bool "Array-based sort test"
+       depends on DEBUG_KERNEL
+       help
+         This option enables the self-test function of 'sort()' at boot.
+
+         If unsure, say N.
+
 config KPROBES_SANITY_TEST
        bool "Kprobes sanity tests"
        depends on DEBUG_KERNEL
@@ -1765,9 +1785,10 @@ config PERCPU_TEST
          If unsure, say N.
 
 config ATOMIC64_SELFTEST
-       bool "Perform an atomic64_t self-test at boot"
+       tristate "Perform an atomic64_t self-test"
        help
-         Enable this option to test the atomic64_t functions at boot.
+         Enable this option to test the atomic64_t functions at boot or
+         at module load time.
 
          If unsure, say N.
 
@@ -1819,13 +1840,23 @@ config TEST_HASH
        tristate "Perform selftest on hash functions"
        default n
        help
-         Enable this option to test the kernel's integer (<linux/hash,h>)
-         and string (<linux/stringhash.h>) hash functions on boot
-         (or module load).
+         Enable this option to test the kernel's integer (<linux/hash.h>),
+         string (<linux/stringhash.h>), and siphash (<linux/siphash.h>)
+         hash functions on boot (or module load).
 
          This is intended to help people writing architecture-specific
          optimized versions.  If unsure, say N.
 
+config TEST_PARMAN
+       tristate "Perform selftest on priority array manager"
+       default n
+       depends on PARMAN
+       help
+         Enable this option to test priority array manager on boot
+         (or module load).
+
+         If unsure, say N.
+
 endmenu # runtime tests
 
 config PROVIDE_OHCI1394_DMA_INIT