Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / sparc64 / Kconfig.debug
blobcd8d39fb954d3412ccbe1ff2bc267aeedb112f30
1 menu "Kernel hacking"
3 source "lib/Kconfig.debug"
5 config DEBUG_STACK_USAGE
6         bool "Enable stack utilization instrumentation"
7         depends on DEBUG_KERNEL
8         help
9           Enables the display of the minimum amount of free stack which each
10           task has ever had available in the sysrq-T and sysrq-P debug output.
12           This option will slow down process creation somewhat.
14 config KPROBES
15         bool "Kprobes"
16         depends on DEBUG_KERNEL
17         help
18           Kprobes allows you to trap at almost any kernel address and
19           execute a callback function.  register_kprobe() establishes
20           a probepoint and specifies the callback.  Kprobes is useful
21           for kernel debugging, non-intrusive instrumentation and testing.
22           If in doubt, say "N".
24 config DEBUG_DCFLUSH
25         bool "D-cache flush debugging"
26         depends on DEBUG_KERNEL
28 config STACK_DEBUG
29         depends on DEBUG_KERNEL
30         bool "Stack Overflow Detection Support"
32 config DEBUG_BOOTMEM
33         depends on DEBUG_KERNEL
34         bool "Debug BOOTMEM initialization"
36 # We have a custom atomic_dec_and_lock() implementation but it's not
37 # compatible with spinlock debugging so we need to fall back on
38 # the generic version in that case.
39 config HAVE_DEC_LOCK
40         bool
41         depends on SMP && !DEBUG_SPINLOCK
42         default y
44 config MCOUNT
45         bool
46         depends on STACK_DEBUG
47         default y
49 config FRAME_POINTER
50         bool
51         depends on MCOUNT
52         default y
54 endmenu