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 1c0b7504cab3..944239296f13 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -323,4 +323,27 @@ config FTRACE_STARTUP_TEST | |||
323 | functioning properly. It will do tests on all the configured | 323 | functioning properly. It will do tests on all the configured |
324 | tracers of ftrace. | 324 | tracers of ftrace. |
325 | 325 | ||
326 | config MMIOTRACE | ||
327 | bool "Memory mapped IO tracing" | ||
328 | depends on HAVE_MMIOTRACE_SUPPORT && DEBUG_KERNEL && PCI | ||
329 | select TRACING | ||
330 | help | ||
331 | Mmiotrace traces Memory Mapped I/O access and is meant for | ||
332 | debugging and reverse engineering. It is called from the ioremap | ||
333 | implementation and works via page faults. Tracing is disabled by | ||
334 | default and can be enabled at run-time. | ||
335 | |||
336 | See Documentation/tracers/mmiotrace.txt. | ||
337 | If you are not helping to develop drivers, say N. | ||
338 | |||
339 | config MMIOTRACE_TEST | ||
340 | tristate "Test module for mmiotrace" | ||
341 | depends on MMIOTRACE && m | ||
342 | help | ||
343 | This is a dumb module for testing mmiotrace. It is very dangerous | ||
344 | as it will write garbage to IO memory starting at a given address. | ||
345 | However, it should be safe to use on e.g. unused portion of VRAM. | ||
346 | |||
347 | Say N, unless you absolutely know what you are doing. | ||
348 | |||
326 | endmenu | 349 | endmenu |