aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/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/x86_64/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/x86_64/Kconfig.debug')
-rw-r--r--arch/x86_64/Kconfig.debug57
1 files changed, 57 insertions, 0 deletions
diff --git a/arch/x86_64/Kconfig.debug b/arch/x86_64/Kconfig.debug
new file mode 100644
index 000000000000..9cf1410d2f5a
--- /dev/null
+++ b/arch/x86_64/Kconfig.debug
@@ -0,0 +1,57 @@
1menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5# !SMP for now because the context switch early causes GPF in segment reloading
6# and the GS base checking does the wrong thing then, causing a hang.
7config CHECKING
8 bool "Additional run-time checks"
9 depends on DEBUG_KERNEL && !SMP
10 help
11 Enables some internal consistency checks for kernel debugging.
12 You should normally say N.
13
14config INIT_DEBUG
15 bool "Debug __init statements"
16 depends on DEBUG_KERNEL
17 help
18 Fill __init and __initdata at the end of boot. This helps debugging
19 illegal uses of __init and __initdata after initialization.
20
21config IOMMU_DEBUG
22 depends on GART_IOMMU && DEBUG_KERNEL
23 bool "Enable IOMMU debugging"
24 help
25 Force the IOMMU to on even when you have less than 4GB of
26 memory and add debugging code. On overflow always panic. And
27 allow to enable IOMMU leak tracing. Can be disabled at boot
28 time with iommu=noforce. This will also enable scatter gather
29 list merging. Currently not recommended for production
30 code. When you use it make sure you have a big enough
31 IOMMU/AGP aperture. Most of the options enabled by this can
32 be set more finegrained using the iommu= command line
33 options. See Documentation/x86_64/boot-options.txt for more
34 details.
35
36config KPROBES
37 bool "Kprobes"
38 depends on DEBUG_KERNEL
39 help
40 Kprobes allows you to trap at almost any kernel address and
41 execute a callback function. register_kprobe() establishes
42 a probepoint and specifies the callback. Kprobes is useful
43 for kernel debugging, non-intrusive instrumentation and testing.
44 If in doubt, say "N".
45
46config IOMMU_LEAK
47 bool "IOMMU leak tracing"
48 depends on DEBUG_KERNEL
49 depends on IOMMU_DEBUG
50 help
51 Add a simple leak tracer to the IOMMU code. This is useful when you
52 are debugging a buggy device driver that leaks IOMMU mappings.
53
54#config X86_REMOTE_DEBUG
55# bool "kgdb debugging stub"
56
57endmenu