3 source "lib/Kconfig.debug"
5 config DEBUG_STACKOVERFLOW
6 bool "Check for stack overflows"
7 depends on DEBUG_KERNEL
9 This option will cause messages to be printed if free stack space
10 drops below a certain limit.
12 config DEBUG_PAGEALLOC
13 bool "Debug page memory allocations"
14 depends on DEBUG_KERNEL && BROKEN
16 Unmap pages from the kernel linear mapping after free_pages().
17 This results in a large slowdown, but helps to find certain types
18 of memory corruptions.
21 bool "Compile the kernel with frame pointers"
23 If you say Y here the resulting kernel image will be slightly larger
24 and slower, but it will give very useful debugging information.
25 If you don't debug the kernel, you can say N, but we may not be able
26 to solve problems without frame pointers.