Linux-2.6.12-rc2
[pandora-kernel.git] / arch / m32r / Kconfig.debug
1 menu "Kernel hacking"
2
3 source "lib/Kconfig.debug"
4
5 config DEBUG_STACKOVERFLOW
6         bool "Check for stack overflows"
7         depends on DEBUG_KERNEL
8
9 config DEBUG_STACK_USAGE
10         bool "Stack utilization instrumentation"
11         depends on DEBUG_KERNEL
12         help
13           Enables the display of the minimum amount of free stack which each
14           task has ever had available in the sysrq-T and sysrq-P debug output.
15
16           This option will slow down process creation somewhat.
17
18 config DEBUG_PAGEALLOC
19         bool "Page alloc debugging"
20         depends on DEBUG_KERNEL
21         help
22           Unmap pages from the kernel linear mapping after free_pages().
23           This results in a large slowdown, but helps to find certain types
24           of memory corruptions.
25
26 config FRAME_POINTER
27         bool "Compile the kernel with frame pointers"
28         help
29           If you say Y here the resulting kernel image will be slightly larger
30           and slower, but it will give very useful debugging information.
31           If you don't debug the kernel, you can say N, but we may not be able
32           to solve problems without frame pointers.
33
34 endmenu