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