Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / arch / sparc64 / Kconfig.debug
blob6a4d28a4076d0df87e637a3292a21fefcd8bd07a
1 menu "Kernel hacking"
3 config TRACE_IRQFLAGS_SUPPORT
4         bool
5         default y
7 source "lib/Kconfig.debug"
9 config 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.
16           This option will slow down process creation somewhat.
18 config DEBUG_DCFLUSH
19         bool "D-cache flush debugging"
20         depends on DEBUG_KERNEL
22 config STACK_DEBUG
23         depends on DEBUG_KERNEL
24         bool "Stack Overflow Detection Support"
26 config DEBUG_PAGEALLOC
27         bool "Debug page memory allocations"
28         depends on DEBUG_KERNEL && !HIBERNATION
29         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.
34 config MCOUNT
35         bool
36         depends on STACK_DEBUG
37         default y
39 config FRAME_POINTER
40         bool
41         depends on MCOUNT
42         default y
44 endmenu