diff options
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 9431a8399844..7c6496e2225e 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -176,6 +176,33 @@ config PAGE_FAULT_HANDLERS | |||
176 | register a function that is called on every page fault. Custom | 176 | register a function that is called on every page fault. Custom |
177 | handlers are used by some debugging and reverse engineering tools. | 177 | handlers are used by some debugging and reverse engineering tools. |
178 | 178 | ||
179 | config MMIOTRACE | ||
180 | tristate "Memory mapped IO tracing" | ||
181 | depends on DEBUG_KERNEL && PAGE_FAULT_HANDLERS && RELAY && DEBUG_FS | ||
182 | default n | ||
183 | help | ||
184 | This will build a kernel module called mmiotrace. | ||
185 | |||
186 | Mmiotrace traces Memory Mapped I/O access and is meant for debugging | ||
187 | and reverse engineering. The kernel module offers wrapped | ||
188 | versions of the ioremap family of functions. The driver to be traced | ||
189 | must be modified to call these wrappers. A user space program is | ||
190 | required to collect the MMIO data. | ||
191 | |||
192 | See http://nouveau.freedesktop.org/wiki/MmioTrace | ||
193 | If you are not helping to develop drivers, say N. | ||
194 | |||
195 | config MMIOTRACE_TEST | ||
196 | tristate "Test module for mmiotrace" | ||
197 | depends on MMIOTRACE && m | ||
198 | default n | ||
199 | help | ||
200 | This is a dumb module for testing mmiotrace. It is very dangerous | ||
201 | as it will write garbage to IO memory starting at a given address. | ||
202 | However, it should be safe to use on e.g. unused portion of VRAM. | ||
203 | |||
204 | Say N, unless you absolutely know what you are doing. | ||
205 | |||
179 | # | 206 | # |
180 | # IO delay types: | 207 | # IO delay types: |
181 | # | 208 | # |