aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig.debug
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2008-05-12 15:20:57 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 05:21:55 -0400
commit10c43d2eb50c9a5ad60388b9d3c41c31150049e6 (patch)
treed5a15fe0661a880366b89d0f15cb79740a7302bb /arch/x86/Kconfig.debug
parent63ffa3e456c1a9884a3ebac997d91e3fdae18d78 (diff)
x86: explicit call to mmiotrace in do_page_fault()
The custom page fault handler list is replaced with a single function pointer. All related functions and variables are renamed for mmiotrace. Signed-off-by: Pekka Paalanen <pq@iki.fi> Cc: Christoph Hellwig <hch@infradead.org> Cc: Arjan van de Ven <arjan@infradead.org> Cc: pq@iki.fi Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r--arch/x86/Kconfig.debug14
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index 7c6496e2225e..9491c0ae03a3 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -168,20 +168,18 @@ config IOMMU_LEAK
168 Add a simple leak tracer to the IOMMU code. This is useful when you 168 Add a simple leak tracer to the IOMMU code. This is useful when you
169 are debugging a buggy device driver that leaks IOMMU mappings. 169 are debugging a buggy device driver that leaks IOMMU mappings.
170 170
171config PAGE_FAULT_HANDLERS 171config MMIOTRACE_HOOKS
172 bool "Custom page fault handlers" 172 bool
173 depends on DEBUG_KERNEL 173 default n
174 help
175 Allow the use of custom page fault handlers. A kernel module may
176 register a function that is called on every page fault. Custom
177 handlers are used by some debugging and reverse engineering tools.
178 174
179config MMIOTRACE 175config MMIOTRACE
180 tristate "Memory mapped IO tracing" 176 tristate "Memory mapped IO tracing"
181 depends on DEBUG_KERNEL && PAGE_FAULT_HANDLERS && RELAY && DEBUG_FS 177 depends on DEBUG_KERNEL && RELAY && DEBUG_FS
178 select MMIOTRACE_HOOKS
182 default n 179 default n
183 help 180 help
184 This will build a kernel module called mmiotrace. 181 This will build a kernel module called mmiotrace.
182 Making this a built-in is heavily discouraged.
185 183
186 Mmiotrace traces Memory Mapped I/O access and is meant for debugging 184 Mmiotrace traces Memory Mapped I/O access and is meant for debugging
187 and reverse engineering. The kernel module offers wrapped 185 and reverse engineering. The kernel module offers wrapped