blob: b8a15e271bfaacc2e6ce0e789fcb501b792f27b9 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
Robert Reife8dd1612007-09-27 13:15:31 -07003config 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
Sam Ravnborg5bb28a52008-11-15 13:39:18 -080018config DEBUG_DCFLUSH
19 bool "D-cache flush debugging"
20 depends on SPARC64 && DEBUG_KERNEL
21
22config STACK_DEBUG
23 bool "Stack Overflow Detection Support"
24
25config DEBUG_PAGEALLOC
26 bool "Debug page memory allocations"
27 depends on SPARC64 && DEBUG_KERNEL && !HIBERNATION
28 help
29 Unmap pages from the kernel linear mapping after free_pages().
30 This results in a large slowdown, but helps to find certain types
31 of memory corruptions.
32
33config MCOUNT
34 bool
35 depends on SPARC64
36 depends on STACK_DEBUG || FUNCTION_TRACER
37 default y
38
39config FRAME_POINTER
40 bool
41 depends on MCOUNT
42 default y
43
Linus Torvalds1da177e2005-04-16 15:20:36 -070044endmenu