[PATCH] x86_64: Remove CONFIG_CHECKING and add command line option for pagefault...
[pandora-kernel.git] / arch / x86_64 / Kconfig.debug
1 menu "Kernel hacking"
2
3 source "lib/Kconfig.debug"
4
5 config INIT_DEBUG
6         bool "Debug __init statements"
7         depends on DEBUG_KERNEL
8         help
9           Fill __init and __initdata at the end of boot. This helps debugging
10           illegal uses of __init and __initdata after initialization.
11
12 config IOMMU_DEBUG
13        depends on GART_IOMMU && DEBUG_KERNEL
14        bool "Enable IOMMU debugging"
15        help
16          Force the IOMMU to on even when you have less than 4GB of
17          memory and add debugging code. On overflow always panic. And
18          allow to enable IOMMU leak tracing. Can be disabled at boot
19          time with iommu=noforce. This will also enable scatter gather
20          list merging.  Currently not recommended for production
21          code. When you use it make sure you have a big enough
22          IOMMU/AGP aperture.  Most of the options enabled by this can
23          be set more finegrained using the iommu= command line
24          options. See Documentation/x86_64/boot-options.txt for more
25          details.
26
27 config KPROBES
28         bool "Kprobes"
29         depends on DEBUG_KERNEL
30         help
31           Kprobes allows you to trap at almost any kernel address and
32           execute a callback function.  register_kprobe() establishes
33           a probepoint and specifies the callback.  Kprobes is useful
34           for kernel debugging, non-intrusive instrumentation and testing.
35           If in doubt, say "N".
36
37 config IOMMU_LEAK
38        bool "IOMMU leak tracing"
39        depends on DEBUG_KERNEL
40        depends on IOMMU_DEBUG
41        help
42          Add a simple leak tracer to the IOMMU code. This is useful when you
43          are debugging a buggy device driver that leaks IOMMU mappings.
44
45 #config X86_REMOTE_DEBUG
46 #       bool "kgdb debugging stub"
47
48 endmenu