forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/configs: Add x86 debugging Kconfig fragment plus docs
The kernel has a wide variety of debugging options to help catch and squash bugs. However, new debugging is added all the time and the existing options can be hard to find. Add a Kconfig fragment with the debugging options which tip maintainers expect to be used to test contributions. This should make it easier for contributors to test their code and find issues before submission. [ bp: Add to "make help" output, fix DEBUG_INFO selection as pointed out by Nathan Chancellor <[email protected]>. ] Signed-off-by: Dave Hansen <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information
1 parent
3123109
commit 9b5a7f4
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
CONFIG_X86_DEBUG_FPU=y | ||
CONFIG_LOCK_STAT=y | ||
CONFIG_DEBUG_VM=y | ||
CONFIG_DEBUG_VM_VMACACHE=y | ||
CONFIG_DEBUG_VM_RB=y | ||
CONFIG_DEBUG_SLAB=y | ||
CONFIG_DEBUG_KMEMLEAK=y | ||
CONFIG_DEBUG_PAGEALLOC=y | ||
CONFIG_SLUB_DEBUG_ON=y | ||
CONFIG_KMEMCHECK=y | ||
CONFIG_DEBUG_OBJECTS=y | ||
CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1 | ||
CONFIG_GCOV_KERNEL=y | ||
CONFIG_LOCKDEP=y | ||
CONFIG_PROVE_LOCKING=y | ||
CONFIG_SCHEDSTATS=y | ||
CONFIG_VMLINUX_VALIDATION=y | ||
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y |