]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/ppc64/Kconfig.debug
Linux-2.6.12-rc2
[mirror_ubuntu-artful-kernel.git] / arch / ppc64 / Kconfig.debug
1 menu "Kernel hacking"
2
3 source "lib/Kconfig.debug"
4
5 config DEBUG_STACKOVERFLOW
6 bool "Check for stack overflows"
7 depends on DEBUG_KERNEL
8
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".
18
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.
25
26 This option will slow down process creation somewhat.
27
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.
34
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.
41
42 config XMON_DEFAULT
43 bool "Enable xmon by default"
44 depends on XMON
45
46 config PPCDBG
47 bool "Include PPCDBG realtime debugging"
48 depends on DEBUG_KERNEL
49
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.
56
57 endmenu