blob: 6a4d28a4076d0df87e637a3292a21fefcd8bd07a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
David S. Miller10e26722006-11-16 13:38:57 -08003config TRACE_IRQFLAGS_SUPPORT
4 bool
5 default y
6
Linus Torvalds1da177e2005-04-16 15:20:36 -07007source "lib/Kconfig.debug"
8
9config DEBUG_STACK_USAGE
10 bool "Enable 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070018config DEBUG_DCFLUSH
19 bool "D-cache flush debugging"
20 depends on DEBUG_KERNEL
21
22config STACK_DEBUG
23 depends on DEBUG_KERNEL
24 bool "Stack Overflow Detection Support"
25
David S. Miller56425302005-09-25 16:46:57 -070026config DEBUG_PAGEALLOC
Andrew Morton4a2f0ac2006-03-25 03:07:22 -080027 bool "Debug page memory allocations"
Rafael J. Wysockib0cb1a12007-07-29 23:24:36 +020028 depends on DEBUG_KERNEL && !HIBERNATION
David S. Miller56425302005-09-25 16:46:57 -070029 help
30 Unmap pages from the kernel linear mapping after free_pages().
31 This results in a large slowdown, but helps to find certain types
32 of memory corruptions.
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034config MCOUNT
35 bool
36 depends on STACK_DEBUG
37 default y
38
39config FRAME_POINTER
40 bool
41 depends on MCOUNT
42 default y
43
44endmenu