aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/Kconfig.debug
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/i386/Kconfig.debug
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/i386/Kconfig.debug')
-rw-r--r--arch/i386/Kconfig.debug72
1 files changed, 72 insertions, 0 deletions
diff --git a/arch/i386/Kconfig.debug b/arch/i386/Kconfig.debug
new file mode 100644
index 000000000000..bfb2064f7104
--- /dev/null
+++ b/arch/i386/Kconfig.debug
@@ -0,0 +1,72 @@
1menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config EARLY_PRINTK
6 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
7 default y
8 help
9 Write kernel log output directly into the VGA buffer or to a serial
10 port.
11
12 This is useful for kernel debugging when your machine crashes very
13 early before the console code is initialized. For normal operation
14 it is not recommended because it looks ugly and doesn't cooperate
15 with klogd/syslogd or the X server. You should normally N here,
16 unless you want to debug such a crash.
17
18config DEBUG_STACKOVERFLOW
19 bool "Check for stack overflows"
20 depends on DEBUG_KERNEL
21
22config KPROBES
23 bool "Kprobes"
24 depends on DEBUG_KERNEL
25 help
26 Kprobes allows you to trap at almost any kernel address and
27 execute a callback function. register_kprobe() establishes
28 a probepoint and specifies the callback. Kprobes is useful
29 for kernel debugging, non-intrusive instrumentation and testing.
30 If in doubt, say "N".
31
32config DEBUG_STACK_USAGE
33 bool "Stack utilization instrumentation"
34 depends on DEBUG_KERNEL
35 help
36 Enables the display of the minimum amount of free stack which each
37 task has ever had available in the sysrq-T and sysrq-P debug output.
38
39 This option will slow down process creation somewhat.
40
41comment "Page alloc debug is incompatible with Software Suspend on i386"
42 depends on DEBUG_KERNEL && SOFTWARE_SUSPEND
43
44config DEBUG_PAGEALLOC
45 bool "Page alloc debugging"
46 depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND
47 help
48 Unmap pages from the kernel linear mapping after free_pages().
49 This results in a large slowdown, but helps to find certain types
50 of memory corruptions.
51
52config 4KSTACKS
53 bool "Use 4Kb for kernel stacks instead of 8Kb"
54 depends on DEBUG_KERNEL
55 help
56 If you say Y here the kernel will use a 4Kb stacksize for the
57 kernel stack attached to each process/thread. This facilitates
58 running more threads on a system and also reduces the pressure
59 on the VM subsystem for higher order allocations. This option
60 will also use IRQ stacks to compensate for the reduced stackspace.
61
62config X86_FIND_SMP_CONFIG
63 bool
64 depends on X86_LOCAL_APIC || X86_VOYAGER
65 default y
66
67config X86_MPPARSE
68 bool
69 depends on X86_LOCAL_APIC && !X86_VISWS
70 default y
71
72endmenu