diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:15:52 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:15:52 -0400 |
commit | ff64208df7eb17c5526197449762ff5e04a95de6 (patch) | |
tree | b977f1868464d7486786ad81660e4620c6b4fd5d /arch/powerpc/Kconfig.debug | |
parent | f6d57916db2009bd7e220472200cd131fc010d64 (diff) |
powerpc: Merge Kconfig.debug
This merges in the ppc64 bits into arch/powerpc/Kconfig.debug
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
-rw-r--r-- | arch/powerpc/Kconfig.debug | 61 |
1 files changed, 58 insertions, 3 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index 19df881bf67b..0baf64ec80d0 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -2,9 +2,42 @@ menu "Kernel hacking" | |||
2 | 2 | ||
3 | source "lib/Kconfig.debug" | 3 | source "lib/Kconfig.debug" |
4 | 4 | ||
5 | config DEBUG_STACKOVERFLOW | ||
6 | bool "Check for stack overflows" | ||
7 | depends on DEBUG_KERNEL && PPC64 | ||
8 | help | ||
9 | This option will cause messages to be printed if free stack space | ||
10 | drops below a certain limit. | ||
11 | |||
12 | config KPROBES | ||
13 | bool "Kprobes" | ||
14 | depends on DEBUG_KERNEL && PPC64 | ||
15 | help | ||
16 | Kprobes allows you to trap at almost any kernel address and | ||
17 | execute a callback function. register_kprobe() establishes | ||
18 | a probepoint and specifies the callback. Kprobes is useful | ||
19 | for kernel debugging, non-intrusive instrumentation and testing. | ||
20 | If in doubt, say "N". | ||
21 | |||
22 | config DEBUG_STACK_USAGE | ||
23 | bool "Stack utilization instrumentation" | ||
24 | depends on DEBUG_KERNEL && PPC64 | ||
25 | help | ||
26 | Enables the display of the minimum amount of free stack which each | ||
27 | task has ever had available in the sysrq-T and sysrq-P debug output. | ||
28 | |||
29 | This option will slow down process creation somewhat. | ||
30 | |||
31 | config DEBUGGER | ||
32 | bool "Enable debugger hooks" | ||
33 | depends on DEBUG_KERNEL | ||
34 | help | ||
35 | Include in-kernel hooks for kernel debuggers. Unless you are | ||
36 | intending to debug the kernel, say N here. | ||
37 | |||
5 | config KGDB | 38 | config KGDB |
6 | bool "Include kgdb kernel debugger" | 39 | bool "Include kgdb kernel debugger" |
7 | depends on DEBUG_KERNEL && (BROKEN || PPC_GEN550 || 4xx) | 40 | depends on DEBUGGER && (BROKEN || PPC_GEN550 || 4xx) |
8 | select DEBUG_INFO | 41 | select DEBUG_INFO |
9 | help | 42 | help |
10 | Include in-kernel hooks for kgdb, the Linux kernel source level | 43 | Include in-kernel hooks for kgdb, the Linux kernel source level |
@@ -40,14 +73,36 @@ config KGDB_CONSOLE | |||
40 | 73 | ||
41 | config XMON | 74 | config XMON |
42 | bool "Include xmon kernel debugger" | 75 | bool "Include xmon kernel debugger" |
43 | depends on DEBUG_KERNEL | 76 | depends on DEBUGGER && !PPC_ISERIES |
44 | help | 77 | help |
45 | Include in-kernel hooks for the xmon kernel monitor/debugger. | 78 | Include in-kernel hooks for the xmon kernel monitor/debugger. |
46 | Unless you are intending to debug the kernel, say N here. | 79 | Unless you are intending to debug the kernel, say N here. |
80 | Make sure to enable also CONFIG_BOOTX_TEXT on Macs. Otherwise | ||
81 | nothing will appear on the screen (xmon writes directly to the | ||
82 | framebuffer memory). | ||
83 | The cmdline option 'xmon' or 'xmon=early' will drop into xmon | ||
84 | very early during boot. 'xmon=on' will just enable the xmon | ||
85 | debugger hooks. 'xmon=off' will disable the debugger hooks | ||
86 | if CONFIG_XMON_DEFAULT is set. | ||
87 | |||
88 | config XMON_DEFAULT | ||
89 | bool "Enable xmon by default" | ||
90 | depends on XMON | ||
91 | help | ||
92 | xmon is normally disabled unless booted with 'xmon=on'. | ||
93 | Use 'xmon=off' to disable xmon init during runtime. | ||
94 | |||
95 | config IRQSTACKS | ||
96 | bool "Use separate kernel stacks when processing interrupts" | ||
97 | depends on PPC64 | ||
98 | help | ||
99 | If you say Y here the kernel will use separate kernel stacks | ||
100 | for handling hard and soft interrupts. This can help avoid | ||
101 | overflowing the process kernel stacks. | ||
47 | 102 | ||
48 | config BDI_SWITCH | 103 | config BDI_SWITCH |
49 | bool "Include BDI-2000 user context switcher" | 104 | bool "Include BDI-2000 user context switcher" |
50 | depends on DEBUG_KERNEL | 105 | depends on DEBUG_KERNEL && PPC32 |
51 | help | 106 | help |
52 | Include in-kernel support for the Abatron BDI2000 debugger. | 107 | Include in-kernel support for the Abatron BDI2000 debugger. |
53 | Unless you are intending to debug the kernel with one of these | 108 | Unless you are intending to debug the kernel with one of these |