diff options
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 9491c0ae03a3..aa0d6462b1fc 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -170,22 +170,19 @@ config IOMMU_LEAK | |||
170 | 170 | ||
171 | config MMIOTRACE_HOOKS | 171 | config MMIOTRACE_HOOKS |
172 | bool | 172 | bool |
173 | default n | ||
174 | 173 | ||
175 | config MMIOTRACE | 174 | config MMIOTRACE |
176 | tristate "Memory mapped IO tracing" | 175 | bool "Memory mapped IO tracing" |
177 | depends on DEBUG_KERNEL && RELAY && DEBUG_FS | 176 | depends on DEBUG_KERNEL && RELAY && DEBUG_FS |
178 | select MMIOTRACE_HOOKS | 177 | select MMIOTRACE_HOOKS |
179 | default n | 178 | default y |
180 | help | 179 | help |
181 | This will build a kernel module called mmiotrace. | 180 | Mmiotrace traces Memory Mapped I/O access and is meant for |
182 | Making this a built-in is heavily discouraged. | 181 | debugging and reverse engineering. It is called from the ioremap |
183 | 182 | implementation and works via page faults. A user space program is | |
184 | Mmiotrace traces Memory Mapped I/O access and is meant for debugging | 183 | required to collect the MMIO data from debugfs files. |
185 | and reverse engineering. The kernel module offers wrapped | 184 | Tracing is disabled by default and can be enabled from a debugfs |
186 | versions of the ioremap family of functions. The driver to be traced | 185 | file. |
187 | must be modified to call these wrappers. A user space program is | ||
188 | required to collect the MMIO data. | ||
189 | 186 | ||
190 | See http://nouveau.freedesktop.org/wiki/MmioTrace | 187 | See http://nouveau.freedesktop.org/wiki/MmioTrace |
191 | If you are not helping to develop drivers, say N. | 188 | If you are not helping to develop drivers, say N. |
@@ -193,7 +190,6 @@ config MMIOTRACE | |||
193 | config MMIOTRACE_TEST | 190 | config MMIOTRACE_TEST |
194 | tristate "Test module for mmiotrace" | 191 | tristate "Test module for mmiotrace" |
195 | depends on MMIOTRACE && m | 192 | depends on MMIOTRACE && m |
196 | default n | ||
197 | help | 193 | help |
198 | This is a dumb module for testing mmiotrace. It is very dangerous | 194 | This is a dumb module for testing mmiotrace. It is very dangerous |
199 | as it will write garbage to IO memory starting at a given address. | 195 | as it will write garbage to IO memory starting at a given address. |