diff options
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 14 |
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 | ||
171 | config PAGE_FAULT_HANDLERS | 171 | config 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 | ||
179 | config MMIOTRACE | 175 | config 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 |