fedora core 2.6.10-1.12-FC2
[linux-2.6.git] / arch / i386 / Kconfig.debug~
1 menu "Kernel hacking"
2
3 source "lib/Kconfig.debug"
4
5 config EARLY_PRINTK
6         bool "Early printk" if EMBEDDED
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
18 config DEBUG_STACKOVERFLOW
19         bool "Check for stack overflows"
20         depends on DEBUG_KERNEL
21
22 config 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
32 config 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
41 config DEBUG_PAGEALLOC
42         bool "Page alloc debugging"
43         depends on DEBUG_KERNEL
44         help
45           Unmap pages from the kernel linear mapping after free_pages().
46           This results in a large slowdown, but helps to find certain types
47           of memory corruptions.
48
49 config SCHEDSTATS
50         bool "Collect scheduler statistics"
51         depends on DEBUG_KERNEL && PROC_FS
52         help
53           If you say Y here, additional code will be inserted into the
54           scheduler and related routines to collect statistics about
55           scheduler behavior and provide them in /proc/schedstat.  These
56           stats may be useful for both tuning and debugging the scheduler
57           If you aren't debugging the scheduler or trying to tune a specific
58           application, you can say N to avoid the very slight overhead
59           this adds.
60
61 config X86_FIND_SMP_CONFIG
62         bool
63         depends on X86_LOCAL_APIC || X86_VOYAGER
64         default y
65
66 config X86_MPPARSE
67         bool
68         depends on X86_LOCAL_APIC && !X86_VISWS
69         default y
70
71 endmenu