aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 5f2ce616c046..ecb3516f6546 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -636,7 +636,7 @@ config DEBUG_STACKOVERFLOW
636 depends on DEBUG_KERNEL && HAVE_DEBUG_STACKOVERFLOW 636 depends on DEBUG_KERNEL && HAVE_DEBUG_STACKOVERFLOW
637 ---help--- 637 ---help---
638 Say Y here if you want to check for overflows of kernel, IRQ 638 Say Y here if you want to check for overflows of kernel, IRQ
639 and exception stacks (if your archicture uses them). This 639 and exception stacks (if your architecture uses them). This
640 option will show detailed messages if free stack space drops 640 option will show detailed messages if free stack space drops
641 below a certain limit. 641 below a certain limit.
642 642
@@ -651,6 +651,8 @@ config DEBUG_STACKOVERFLOW
651 651
652source "lib/Kconfig.kmemcheck" 652source "lib/Kconfig.kmemcheck"
653 653
654source "lib/Kconfig.kasan"
655
654endmenu # "Memory Debugging" 656endmenu # "Memory Debugging"
655 657
656config DEBUG_SHIRQ 658config DEBUG_SHIRQ
@@ -1215,6 +1217,7 @@ config RCU_TORTURE_TEST
1215 tristate "torture tests for RCU" 1217 tristate "torture tests for RCU"
1216 depends on DEBUG_KERNEL 1218 depends on DEBUG_KERNEL
1217 select TORTURE_TEST 1219 select TORTURE_TEST
1220 select SRCU
1218 default n 1221 default n
1219 help 1222 help
1220 This option provides a kernel module that runs torture tests 1223 This option provides a kernel module that runs torture tests
@@ -1257,7 +1260,7 @@ config RCU_CPU_STALL_TIMEOUT
1257config RCU_CPU_STALL_INFO 1260config RCU_CPU_STALL_INFO
1258 bool "Print additional diagnostics on RCU CPU stall" 1261 bool "Print additional diagnostics on RCU CPU stall"
1259 depends on (TREE_RCU || PREEMPT_RCU) && DEBUG_KERNEL 1262 depends on (TREE_RCU || PREEMPT_RCU) && DEBUG_KERNEL
1260 default n 1263 default y
1261 help 1264 help
1262 For each stalled CPU that is aware of the current RCU grace 1265 For each stalled CPU that is aware of the current RCU grace
1263 period, print out additional per-CPU diagnostic information 1266 period, print out additional per-CPU diagnostic information
@@ -1579,6 +1582,9 @@ config ASYNC_RAID6_TEST
1579 1582
1580 If unsure, say N. 1583 If unsure, say N.
1581 1584
1585config TEST_HEXDUMP
1586 tristate "Test functions located in the hexdump module at runtime"
1587
1582config TEST_STRING_HELPERS 1588config TEST_STRING_HELPERS
1583 tristate "Test functions located in the string_helpers module at runtime" 1589 tristate "Test functions located in the string_helpers module at runtime"
1584 1590
@@ -1586,7 +1592,7 @@ config TEST_KSTRTOX
1586 tristate "Test kstrto*() family of functions at runtime" 1592 tristate "Test kstrto*() family of functions at runtime"
1587 1593
1588config TEST_RHASHTABLE 1594config TEST_RHASHTABLE
1589 bool "Perform selftest on resizable hash table" 1595 tristate "Perform selftest on resizable hash table"
1590 default n 1596 default n
1591 help 1597 help
1592 Enable this option to test the rhashtable functions at boot. 1598 Enable this option to test the rhashtable functions at boot.