diff options
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index e2a4ff6fc3a6..58a93fbd68aa 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -302,4 +302,27 @@ config FTRACE_STARTUP_TEST | |||
302 | functioning properly. It will do tests on all the configured | 302 | functioning properly. It will do tests on all the configured |
303 | tracers of ftrace. | 303 | tracers of ftrace. |
304 | 304 | ||
305 | config MMIOTRACE | ||
306 | bool "Memory mapped IO tracing" | ||
307 | depends on HAVE_MMIOTRACE_SUPPORT && DEBUG_KERNEL && PCI | ||
308 | select TRACING | ||
309 | help | ||
310 | Mmiotrace traces Memory Mapped I/O access and is meant for | ||
311 | debugging and reverse engineering. It is called from the ioremap | ||
312 | implementation and works via page faults. Tracing is disabled by | ||
313 | default and can be enabled at run-time. | ||
314 | |||
315 | See Documentation/tracers/mmiotrace.txt. | ||
316 | If you are not helping to develop drivers, say N. | ||
317 | |||
318 | config MMIOTRACE_TEST | ||
319 | tristate "Test module for mmiotrace" | ||
320 | depends on MMIOTRACE && m | ||
321 | help | ||
322 | This is a dumb module for testing mmiotrace. It is very dangerous | ||
323 | as it will write garbage to IO memory starting at a given address. | ||
324 | However, it should be safe to use on e.g. unused portion of VRAM. | ||
325 | |||
326 | Say N, unless you absolutely know what you are doing. | ||
327 | |||
305 | endmenu | 328 | endmenu |