diff options
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 6eccc643c32e..0701ddda1df8 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -47,6 +47,30 @@ config UNUSED_SYMBOLS | |||
| 47 | you really need it, and what the merge plan to the mainline kernel for | 47 | you really need it, and what the merge plan to the mainline kernel for |
| 48 | your module is. | 48 | your module is. |
| 49 | 49 | ||
| 50 | config DEBUG_FS | ||
| 51 | bool "Debug Filesystem" | ||
| 52 | depends on SYSFS | ||
| 53 | help | ||
| 54 | debugfs is a virtual file system that kernel developers use to put | ||
| 55 | debugging files into. Enable this option to be able to read and | ||
| 56 | write to these files. | ||
| 57 | |||
| 58 | If unsure, say N. | ||
| 59 | |||
| 60 | config HEADERS_CHECK | ||
| 61 | bool "Run 'make headers_check' when building vmlinux" | ||
| 62 | depends on !UML | ||
| 63 | help | ||
| 64 | This option will extract the user-visible kernel headers whenever | ||
| 65 | building the kernel, and will run basic sanity checks on them to | ||
| 66 | ensure that exported files do not attempt to include files which | ||
| 67 | were not exported, etc. | ||
| 68 | |||
| 69 | If you're making modifications to header files which are | ||
| 70 | relevant for userspace, say 'Y', and check the headers | ||
| 71 | exported to $(INSTALL_HDR_PATH) (usually 'usr/include' in | ||
| 72 | your build tree), to make sure they're suitable. | ||
| 73 | |||
| 50 | config DEBUG_KERNEL | 74 | config DEBUG_KERNEL |
| 51 | bool "Kernel debugging" | 75 | bool "Kernel debugging" |
| 52 | help | 76 | help |
| @@ -302,16 +326,6 @@ config DEBUG_INFO | |||
| 302 | 326 | ||
| 303 | If unsure, say N. | 327 | If unsure, say N. |
| 304 | 328 | ||
| 305 | config DEBUG_FS | ||
| 306 | bool "Debug Filesystem" | ||
| 307 | depends on SYSFS | ||
| 308 | help | ||
| 309 | debugfs is a virtual file system that kernel developers use to put | ||
| 310 | debugging files into. Enable this option to be able to read and | ||
| 311 | write to these files. | ||
| 312 | |||
| 313 | If unsure, say N. | ||
| 314 | |||
| 315 | config DEBUG_VM | 329 | config DEBUG_VM |
| 316 | bool "Debug VM" | 330 | bool "Debug VM" |
| 317 | depends on DEBUG_KERNEL | 331 | depends on DEBUG_KERNEL |
| @@ -372,20 +386,6 @@ config FORCED_INLINING | |||
| 372 | become the default in the future, until then this option is there to | 386 | become the default in the future, until then this option is there to |
| 373 | test gcc for this. | 387 | test gcc for this. |
| 374 | 388 | ||
| 375 | config HEADERS_CHECK | ||
| 376 | bool "Run 'make headers_check' when building vmlinux" | ||
| 377 | depends on !UML | ||
| 378 | help | ||
| 379 | This option will extract the user-visible kernel headers whenever | ||
| 380 | building the kernel, and will run basic sanity checks on them to | ||
| 381 | ensure that exported files do not attempt to include files which | ||
| 382 | were not exported, etc. | ||
| 383 | |||
| 384 | If you're making modifications to header files which are | ||
| 385 | relevant for userspace, say 'Y', and check the headers | ||
| 386 | exported to $(INSTALL_HDR_PATH) (usually 'usr/include' in | ||
| 387 | your build tree), to make sure they're suitable. | ||
| 388 | |||
| 389 | config RCU_TORTURE_TEST | 389 | config RCU_TORTURE_TEST |
| 390 | tristate "torture tests for RCU" | 390 | tristate "torture tests for RCU" |
| 391 | depends on DEBUG_KERNEL | 391 | depends on DEBUG_KERNEL |
| @@ -402,6 +402,7 @@ config RCU_TORTURE_TEST | |||
| 402 | 402 | ||
| 403 | config LKDTM | 403 | config LKDTM |
| 404 | tristate "Linux Kernel Dump Test Tool Module" | 404 | tristate "Linux Kernel Dump Test Tool Module" |
| 405 | depends on DEBUG_KERNEL | ||
| 405 | depends on KPROBES | 406 | depends on KPROBES |
| 406 | default n | 407 | default n |
| 407 | help | 408 | help |
