3 source "lib/Kconfig.debug"
5 config DEBUG_STACKOVERFLOW
6 bool "Check for stack overflows"
7 depends on DEBUG_KERNEL && PPC64
9 This option will cause messages to be printed if free stack space
10 drops below a certain limit.
12 config DEBUG_STACK_USAGE
13 bool "Stack utilization instrumentation"
14 depends on DEBUG_KERNEL && PPC64
16 Enables the display of the minimum amount of free stack which each
17 task has ever had available in the sysrq-T and sysrq-P debug output.
19 This option will slow down process creation somewhat.
22 bool "Hypervisor call instrumentation"
23 depends on PPC_PSERIES && DEBUG_FS
25 Adds code to keep track of the number of hypervisor calls made and
26 the amount of time spent in hypervisor callsr. Wall time spent in
27 each call is always calculated, and if available CPU cycles spent
28 are also calculated. A directory named hcall_inst is added at the
29 root of the debugfs filesystem. Within the hcall_inst directory
30 are files that contain CPU specific call statistics.
32 This option will add a small amount of overhead to all hypervisor
36 bool "Enable debugger hooks"
37 depends on DEBUG_KERNEL
39 Include in-kernel hooks for kernel debuggers. Unless you are
40 intending to debug the kernel, say N here.
43 bool "Include kgdb kernel debugger"
44 depends on DEBUGGER && (BROKEN || PPC_GEN550 || 4xx)
47 Include in-kernel hooks for kgdb, the Linux kernel source level
48 debugger. See <http://kgdb.sourceforge.net/> for more information.
49 Unless you are intending to debug the kernel, say N here.
71 bool "Enable serial console thru kgdb port"
72 depends on KGDB && 8xx || CPM2
74 If you enable this, all serial console messages will be sent
79 bool "Include xmon kernel debugger"
80 depends on DEBUGGER && !PPC_ISERIES
82 Include in-kernel hooks for the xmon kernel monitor/debugger.
83 Unless you are intending to debug the kernel, say N here.
84 Make sure to enable also CONFIG_BOOTX_TEXT on Macs. Otherwise
85 nothing will appear on the screen (xmon writes directly to the
87 The cmdline option 'xmon' or 'xmon=early' will drop into xmon
88 very early during boot. 'xmon=on' will just enable the xmon
89 debugger hooks. 'xmon=off' will disable the debugger hooks
90 if CONFIG_XMON_DEFAULT is set.
91 xmon will print a backtrace on the very first invocation.
92 'xmon=nobt' will disable this autobacktrace.
95 bool "Enable xmon by default"
98 xmon is normally disabled unless booted with 'xmon=on'.
99 Use 'xmon=off' to disable xmon init during runtime.
102 bool "Use separate kernel stacks when processing interrupts"
105 If you say Y here the kernel will use separate kernel stacks
106 for handling hard and soft interrupts. This can help avoid
107 overflowing the process kernel stacks.
110 bool "Include BDI-2000 user context switcher"
111 depends on DEBUG_KERNEL && PPC32
113 Include in-kernel support for the Abatron BDI2000 debugger.
114 Unless you are intending to debug the kernel with one of these
115 machines, say N here.
118 bool "Support for early boot text console (BootX or OpenFirmware only)"
119 depends PPC_OF && !PPC_ISERIES
121 Say Y here to see progress messages from the boot firmware in text
122 mode. Requires either BootX or Open Firmware.
124 config SERIAL_TEXT_DEBUG
125 bool "Support for early boot texts over serial port"
126 depends on 4xx || LOPEC || MV64X60 || PPLUS || PRPMC800 || \
127 PPC_GEN550 || PPC_MPC52xx
129 config PPC_EARLY_DEBUG
130 bool "Early debugging (dangerous)"
133 prompt "Early debugging console"
134 depends on PPC_EARLY_DEBUG
136 Use the selected console for early debugging. Careful, if you
137 enable debugging for the wrong type of machine your kernel
140 config PPC_EARLY_DEBUG_LPAR
141 bool "LPAR HV Console"
142 depends on PPC_PSERIES
144 Select this to enable early debugging for a machine with a HVC
147 config PPC_EARLY_DEBUG_G5
149 depends on PPC_PMAC64
151 Select this to enable early debugging for Apple G5 machines.
153 config PPC_EARLY_DEBUG_RTAS_PANEL
157 Select this to enable early debugging via the RTAS panel.
159 config PPC_EARLY_DEBUG_RTAS_CONSOLE
162 select UDBG_RTAS_CONSOLE
164 Select this to enable early debugging via the RTAS console.
166 config PPC_EARLY_DEBUG_MAPLE
167 bool "Maple real mode"
170 Select this to enable early debugging for Maple.
172 config PPC_EARLY_DEBUG_ISERIES
173 bool "iSeries HV Console"
174 depends on PPC_ISERIES
176 Select this to enable early debugging for legacy iSeries. You need
177 to hit "Ctrl-x Ctrl-x" to see the messages on the console.