Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / ppc64 / Kconfig.debug
blobe341a129da8046b3338deaa2c22c3dad796b341a
1 menu "Kernel hacking"
3 source "lib/Kconfig.debug"
5 config DEBUG_STACKOVERFLOW
6         bool "Check for stack overflows"
7         depends on DEBUG_KERNEL
9 config KPROBES
10         bool "Kprobes"
11         depends on DEBUG_KERNEL
12         help
13           Kprobes allows you to trap at almost any kernel address and
14           execute a callback function.  register_kprobe() establishes
15           a probepoint and specifies the callback.  Kprobes is useful
16           for kernel debugging, non-intrusive instrumentation and testing.
17           If in doubt, say "N".
19 config DEBUG_STACK_USAGE
20         bool "Stack utilization instrumentation"
21         depends on DEBUG_KERNEL
22         help
23           Enables the display of the minimum amount of free stack which each
24           task has ever had available in the sysrq-T and sysrq-P debug output.
26           This option will slow down process creation somewhat.
28 config DEBUGGER
29         bool "Enable debugger hooks"
30         depends on DEBUG_KERNEL
31         help
32           Include in-kernel hooks for kernel debuggers. Unless you are
33           intending to debug the kernel, say N here.
35 config XMON
36         bool "Include xmon kernel debugger"
37         depends on DEBUGGER && !PPC_ISERIES
38         help
39           Include in-kernel hooks for the xmon kernel monitor/debugger.
40           Unless you are intending to debug the kernel, say N here.
42 config XMON_DEFAULT
43         bool "Enable xmon by default"
44         depends on XMON
46 config PPCDBG
47         bool "Include PPCDBG realtime debugging"
48         depends on DEBUG_KERNEL
50 config IRQSTACKS
51         bool "Use separate kernel stacks when processing interrupts"
52         help
53           If you say Y here the kernel will use separate kernel stacks
54           for handling hard and soft interrupts.  This can help avoid
55           overflowing the process kernel stacks.
57 endmenu