diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 016e89a44ac8..156822e3cc79 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -128,7 +128,7 @@ config DEBUG_HIGHMEM | |||
128 | config DEBUG_BUGVERBOSE | 128 | config DEBUG_BUGVERBOSE |
129 | bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED | 129 | bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED |
130 | depends on BUG | 130 | depends on BUG |
131 | depends on ARM || ARM26 || M32R || M68K || SPARC32 || SPARC64 || (X86 && !X86_64) || FRV | 131 | depends on ARM || ARM26 || M32R || M68K || SPARC32 || SPARC64 || X86_32 || FRV |
132 | default !EMBEDDED | 132 | default !EMBEDDED |
133 | help | 133 | help |
134 | Say Y here to make BUG() panics output the file name and line number | 134 | Say Y here to make BUG() panics output the file name and line number |
@@ -168,13 +168,34 @@ config DEBUG_FS | |||
168 | 168 | ||
169 | If unsure, say N. | 169 | If unsure, say N. |
170 | 170 | ||
171 | config DEBUG_VM | ||
172 | bool "Debug VM" | ||
173 | depends on DEBUG_KERNEL | ||
174 | help | ||
175 | Enable this to debug the virtual-memory system. | ||
176 | |||
177 | If unsure, say N. | ||
178 | |||
171 | config FRAME_POINTER | 179 | config FRAME_POINTER |
172 | bool "Compile the kernel with frame pointers" | 180 | bool "Compile the kernel with frame pointers" |
173 | depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML) | 181 | depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML) |
174 | default y if DEBUG_INFO && UML | 182 | default y if DEBUG_INFO && UML |
175 | help | 183 | help |
176 | If you say Y here the resulting kernel image will be slightly larger | 184 | If you say Y here the resulting kernel image will be slightly larger |
177 | and slower, but it might give very useful debugging information | 185 | and slower, but it might give very useful debugging information on |
178 | on some architectures or you use external debuggers. | 186 | some architectures or if you use external debuggers. |
179 | If you don't debug the kernel, you can say N. | 187 | If you don't debug the kernel, you can say N. |
180 | 188 | ||
189 | config RCU_TORTURE_TEST | ||
190 | tristate "torture tests for RCU" | ||
191 | depends on DEBUG_KERNEL | ||
192 | default n | ||
193 | help | ||
194 | This option provides a kernel module that runs torture tests | ||
195 | on the RCU infrastructure. The kernel module may be built | ||
196 | after the fact on the running kernel to be tested, if desired. | ||
197 | |||
198 | Say Y here if you want RCU torture tests to start automatically | ||
199 | at boot time (you probably don't). | ||
200 | Say M if you want the RCU torture tests to build as a module. | ||
201 | Say N if you are unsure. | ||