diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index d2099f41aa1e..ba106db5a65b 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -74,6 +74,9 @@ config DEBUG_FS | |||
74 | debugging files into. Enable this option to be able to read and | 74 | debugging files into. Enable this option to be able to read and |
75 | write to these files. | 75 | write to these files. |
76 | 76 | ||
77 | For detailed documentation on the debugfs API, see | ||
78 | Documentation/DocBook/filesystems. | ||
79 | |||
77 | If unsure, say N. | 80 | If unsure, say N. |
78 | 81 | ||
79 | config HEADERS_CHECK | 82 | config HEADERS_CHECK |
@@ -419,7 +422,6 @@ config DEBUG_LOCKING_API_SELFTESTS | |||
419 | 422 | ||
420 | config STACKTRACE | 423 | config STACKTRACE |
421 | bool | 424 | bool |
422 | depends on DEBUG_KERNEL | ||
423 | depends on STACKTRACE_SUPPORT | 425 | depends on STACKTRACE_SUPPORT |
424 | 426 | ||
425 | config DEBUG_KOBJECT | 427 | config DEBUG_KOBJECT |
@@ -531,16 +533,34 @@ config BOOT_PRINTK_DELAY | |||
531 | config RCU_TORTURE_TEST | 533 | config RCU_TORTURE_TEST |
532 | tristate "torture tests for RCU" | 534 | tristate "torture tests for RCU" |
533 | depends on DEBUG_KERNEL | 535 | depends on DEBUG_KERNEL |
534 | depends on m | ||
535 | default n | 536 | default n |
536 | help | 537 | help |
537 | This option provides a kernel module that runs torture tests | 538 | This option provides a kernel module that runs torture tests |
538 | on the RCU infrastructure. The kernel module may be built | 539 | on the RCU infrastructure. The kernel module may be built |
539 | after the fact on the running kernel to be tested, if desired. | 540 | after the fact on the running kernel to be tested, if desired. |
540 | 541 | ||
542 | Say Y here if you want RCU torture tests to be built into | ||
543 | the kernel. | ||
541 | Say M if you want the RCU torture tests to build as a module. | 544 | Say M if you want the RCU torture tests to build as a module. |
542 | Say N if you are unsure. | 545 | Say N if you are unsure. |
543 | 546 | ||
547 | config RCU_TORTURE_TEST_RUNNABLE | ||
548 | bool "torture tests for RCU runnable by default" | ||
549 | depends on RCU_TORTURE_TEST = y | ||
550 | default n | ||
551 | help | ||
552 | This option provides a way to build the RCU torture tests | ||
553 | directly into the kernel without them starting up at boot | ||
554 | time. You can use /proc/sys/kernel/rcutorture_runnable | ||
555 | to manually override this setting. This /proc file is | ||
556 | available only when the RCU torture tests have been built | ||
557 | into the kernel. | ||
558 | |||
559 | Say Y here if you want the RCU torture tests to start during | ||
560 | boot (you probably don't). | ||
561 | Say N here if you want the RCU torture tests to start only | ||
562 | after being manually enabled via /proc. | ||
563 | |||
544 | config KPROBES_SANITY_TEST | 564 | config KPROBES_SANITY_TEST |
545 | bool "Kprobes sanity tests" | 565 | bool "Kprobes sanity tests" |
546 | depends on DEBUG_KERNEL | 566 | depends on DEBUG_KERNEL |
@@ -563,6 +583,9 @@ config BACKTRACE_SELF_TEST | |||
563 | for distributions or general kernels, but only for kernel | 583 | for distributions or general kernels, but only for kernel |
564 | developers working on architecture code. | 584 | developers working on architecture code. |
565 | 585 | ||
586 | Note that if you want to also test saved backtraces, you will | ||
587 | have to enable STACKTRACE as well. | ||
588 | |||
566 | Say N if you are unsure. | 589 | Say N if you are unsure. |
567 | 590 | ||
568 | config LKDTM | 591 | config LKDTM |
@@ -634,6 +657,8 @@ config LATENCYTOP | |||
634 | Enable this option if you want to use the LatencyTOP tool | 657 | Enable this option if you want to use the LatencyTOP tool |
635 | to find out which userspace is blocking on what kernel operations. | 658 | to find out which userspace is blocking on what kernel operations. |
636 | 659 | ||
660 | source kernel/trace/Kconfig | ||
661 | |||
637 | config PROVIDE_OHCI1394_DMA_INIT | 662 | config PROVIDE_OHCI1394_DMA_INIT |
638 | bool "Remote debugging over FireWire early on boot" | 663 | bool "Remote debugging over FireWire early on boot" |
639 | depends on PCI && X86 | 664 | depends on PCI && X86 |