diff options
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 5f2ce616c046..c5cefb3c009c 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -167,6 +167,17 @@ config DEBUG_INFO_DWARF4 | |||
| 167 | But it significantly improves the success of resolving | 167 | But it significantly improves the success of resolving |
| 168 | variables in gdb on optimized code. | 168 | variables in gdb on optimized code. |
| 169 | 169 | ||
| 170 | config GDB_SCRIPTS | ||
| 171 | bool "Provide GDB scripts for kernel debugging" | ||
| 172 | depends on DEBUG_INFO | ||
| 173 | help | ||
| 174 | This creates the required links to GDB helper scripts in the | ||
| 175 | build directory. If you load vmlinux into gdb, the helper | ||
| 176 | scripts will be automatically imported by gdb as well, and | ||
| 177 | additional functions are available to analyze a Linux kernel | ||
| 178 | instance. See Documentation/gdb-kernel-debugging.txt for further | ||
| 179 | details. | ||
| 180 | |||
| 170 | config ENABLE_WARN_DEPRECATED | 181 | config ENABLE_WARN_DEPRECATED |
| 171 | bool "Enable __deprecated logic" | 182 | bool "Enable __deprecated logic" |
| 172 | default y | 183 | default y |
| @@ -636,7 +647,7 @@ config DEBUG_STACKOVERFLOW | |||
| 636 | depends on DEBUG_KERNEL && HAVE_DEBUG_STACKOVERFLOW | 647 | depends on DEBUG_KERNEL && HAVE_DEBUG_STACKOVERFLOW |
| 637 | ---help--- | 648 | ---help--- |
| 638 | Say Y here if you want to check for overflows of kernel, IRQ | 649 | Say Y here if you want to check for overflows of kernel, IRQ |
| 639 | and exception stacks (if your archicture uses them). This | 650 | and exception stacks (if your architecture uses them). This |
| 640 | option will show detailed messages if free stack space drops | 651 | option will show detailed messages if free stack space drops |
| 641 | below a certain limit. | 652 | below a certain limit. |
| 642 | 653 | ||
| @@ -651,6 +662,8 @@ config DEBUG_STACKOVERFLOW | |||
| 651 | 662 | ||
| 652 | source "lib/Kconfig.kmemcheck" | 663 | source "lib/Kconfig.kmemcheck" |
| 653 | 664 | ||
| 665 | source "lib/Kconfig.kasan" | ||
| 666 | |||
| 654 | endmenu # "Memory Debugging" | 667 | endmenu # "Memory Debugging" |
| 655 | 668 | ||
| 656 | config DEBUG_SHIRQ | 669 | config DEBUG_SHIRQ |
| @@ -1215,6 +1228,7 @@ config RCU_TORTURE_TEST | |||
| 1215 | tristate "torture tests for RCU" | 1228 | tristate "torture tests for RCU" |
| 1216 | depends on DEBUG_KERNEL | 1229 | depends on DEBUG_KERNEL |
| 1217 | select TORTURE_TEST | 1230 | select TORTURE_TEST |
| 1231 | select SRCU | ||
| 1218 | default n | 1232 | default n |
| 1219 | help | 1233 | help |
| 1220 | This option provides a kernel module that runs torture tests | 1234 | This option provides a kernel module that runs torture tests |
| @@ -1257,7 +1271,7 @@ config RCU_CPU_STALL_TIMEOUT | |||
| 1257 | config RCU_CPU_STALL_INFO | 1271 | config RCU_CPU_STALL_INFO |
| 1258 | bool "Print additional diagnostics on RCU CPU stall" | 1272 | bool "Print additional diagnostics on RCU CPU stall" |
| 1259 | depends on (TREE_RCU || PREEMPT_RCU) && DEBUG_KERNEL | 1273 | depends on (TREE_RCU || PREEMPT_RCU) && DEBUG_KERNEL |
| 1260 | default n | 1274 | default y |
| 1261 | help | 1275 | help |
| 1262 | For each stalled CPU that is aware of the current RCU grace | 1276 | For each stalled CPU that is aware of the current RCU grace |
| 1263 | period, print out additional per-CPU diagnostic information | 1277 | period, print out additional per-CPU diagnostic information |
| @@ -1579,6 +1593,9 @@ config ASYNC_RAID6_TEST | |||
| 1579 | 1593 | ||
| 1580 | If unsure, say N. | 1594 | If unsure, say N. |
| 1581 | 1595 | ||
| 1596 | config TEST_HEXDUMP | ||
| 1597 | tristate "Test functions located in the hexdump module at runtime" | ||
| 1598 | |||
| 1582 | config TEST_STRING_HELPERS | 1599 | config TEST_STRING_HELPERS |
| 1583 | tristate "Test functions located in the string_helpers module at runtime" | 1600 | tristate "Test functions located in the string_helpers module at runtime" |
| 1584 | 1601 | ||
| @@ -1586,7 +1603,7 @@ config TEST_KSTRTOX | |||
| 1586 | tristate "Test kstrto*() family of functions at runtime" | 1603 | tristate "Test kstrto*() family of functions at runtime" |
| 1587 | 1604 | ||
| 1588 | config TEST_RHASHTABLE | 1605 | config TEST_RHASHTABLE |
| 1589 | bool "Perform selftest on resizable hash table" | 1606 | tristate "Perform selftest on resizable hash table" |
| 1590 | default n | 1607 | default n |
| 1591 | help | 1608 | help |
| 1592 | Enable this option to test the rhashtable functions at boot. | 1609 | Enable this option to test the rhashtable functions at boot. |
