Kconfig.debug (e18d6152ff0f41b7f01f9817372022df04e0d354) | Kconfig.debug (f80be4571b19b9fd8dd1528cd2a2f123aff51f70) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2menu "Kernel hacking" 3 4menu "printk and dmesg options" 5 6config PRINTK_TIME 7 bool "Show timing information on printks" 8 depends on PRINTK --- 250 unchanged lines hidden (view full) --- 259 260 This can break consumers of the debug info that haven't upgraded to 261 support newer revisions, and prevent testing newer versions, but 262 those should be less common scenarios. 263 264config DEBUG_INFO_DWARF4 265 bool "Generate DWARF Version 4 debuginfo" 266 select DEBUG_INFO | 1# SPDX-License-Identifier: GPL-2.0-only 2menu "Kernel hacking" 3 4menu "printk and dmesg options" 5 6config PRINTK_TIME 7 bool "Show timing information on printks" 8 depends on PRINTK --- 250 unchanged lines hidden (view full) --- 259 260 This can break consumers of the debug info that haven't upgraded to 261 support newer revisions, and prevent testing newer versions, but 262 those should be less common scenarios. 263 264config DEBUG_INFO_DWARF4 265 bool "Generate DWARF Version 4 debuginfo" 266 select DEBUG_INFO |
267 depends on !CC_IS_CLANG || (CC_IS_CLANG && (AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502))) | |
268 help | 267 help |
269 Generate DWARF v4 debug info. This requires gcc 4.5+, binutils 2.35.2 270 if using clang without clang's integrated assembler, and gdb 7.0+. | 268 Generate DWARF v4 debug info. This requires gcc 4.5+ and gdb 7.0+. |
271 272 If you have consumers of DWARF debug info that are not ready for 273 newer revisions of DWARF, you may wish to choose this or have your 274 config select this. 275 276config DEBUG_INFO_DWARF5 277 bool "Generate DWARF Version 5 debuginfo" 278 select DEBUG_INFO --- 530 unchanged lines hidden (view full) --- 809 bool "Debug VM" 810 depends on DEBUG_KERNEL 811 help 812 Enable this to turn on extended checks in the virtual-memory system 813 that may impact performance. 814 815 If unsure, say N. 816 | 269 270 If you have consumers of DWARF debug info that are not ready for 271 newer revisions of DWARF, you may wish to choose this or have your 272 config select this. 273 274config DEBUG_INFO_DWARF5 275 bool "Generate DWARF Version 5 debuginfo" 276 select DEBUG_INFO --- 530 unchanged lines hidden (view full) --- 807 bool "Debug VM" 808 depends on DEBUG_KERNEL 809 help 810 Enable this to turn on extended checks in the virtual-memory system 811 that may impact performance. 812 813 If unsure, say N. 814 |
817config DEBUG_VM_VMACACHE 818 bool "Debug VMA caching" | 815config DEBUG_VM_MAPLE_TREE 816 bool "Debug VM maple trees" |
819 depends on DEBUG_VM | 817 depends on DEBUG_VM |
818 select DEBUG_MAPLE_TREE |
|
820 help | 819 help |
821 Enable this to turn on VMA caching debug information. Doing so 822 can cause significant overhead, so only enable it in non-production 823 environments. | 820 Enable VM maple tree debugging information and extra validations. |
824 825 If unsure, say N. 826 827config DEBUG_VM_RB 828 bool "Debug VM red-black trees" 829 depends on DEBUG_VM 830 help 831 Enable VM red-black tree debugging information and extra validations. --- 136 unchanged lines hidden (view full) --- 968 969 Use this in cases where you see apparently random memory 970 corruption, especially if it appears in 'struct thread_info' 971 972 If in doubt, say "N". 973 974source "lib/Kconfig.kasan" 975source "lib/Kconfig.kfence" | 821 822 If unsure, say N. 823 824config DEBUG_VM_RB 825 bool "Debug VM red-black trees" 826 depends on DEBUG_VM 827 help 828 Enable VM red-black tree debugging information and extra validations. --- 136 unchanged lines hidden (view full) --- 965 966 Use this in cases where you see apparently random memory 967 corruption, especially if it appears in 'struct thread_info' 968 969 If in doubt, say "N". 970 971source "lib/Kconfig.kasan" 972source "lib/Kconfig.kfence" |
973source "lib/Kconfig.kmsan" |
|
976 977endmenu # "Memory Debugging" 978 979config DEBUG_SHIRQ 980 bool "Debug shared IRQ handlers" 981 depends on DEBUG_KERNEL 982 help 983 Enable this to generate a spurious interrupt just before a shared --- 648 unchanged lines hidden (view full) --- 1632 select DEBUG_LIST 1633 help 1634 Select this option if the kernel should BUG when it encounters 1635 data corruption in kernel memory structures when they get checked 1636 for validity. 1637 1638 If unsure, say N. 1639 | 974 975endmenu # "Memory Debugging" 976 977config DEBUG_SHIRQ 978 bool "Debug shared IRQ handlers" 979 depends on DEBUG_KERNEL 980 help 981 Enable this to generate a spurious interrupt just before a shared --- 648 unchanged lines hidden (view full) --- 1630 select DEBUG_LIST 1631 help 1632 Select this option if the kernel should BUG when it encounters 1633 data corruption in kernel memory structures when they get checked 1634 for validity. 1635 1636 If unsure, say N. 1637 |
1638config DEBUG_MAPLE_TREE 1639 bool "Debug maple trees" 1640 depends on DEBUG_KERNEL 1641 help 1642 Enable maple tree debugging information and extra validations. 1643 1644 If unsure, say N. 1645 |
|
1640endmenu 1641 1642config DEBUG_CREDENTIALS 1643 bool "Debug credential management" 1644 depends on DEBUG_KERNEL 1645 help 1646 Enable this to turn on some debug checking for credential 1647 management. The additional code keeps track of the number of --- 1068 unchanged lines hidden --- | 1646endmenu 1647 1648config DEBUG_CREDENTIALS 1649 bool "Debug credential management" 1650 depends on DEBUG_KERNEL 1651 help 1652 Enable this to turn on some debug checking for credential 1653 management. The additional code keeps track of the number of --- 1068 unchanged lines hidden --- |