aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug48
1 files changed, 47 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 0b504814e378..ce697e0b319e 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -597,6 +597,19 @@ config RCU_TORTURE_TEST_RUNNABLE
597 Say N here if you want the RCU torture tests to start only 597 Say N here if you want the RCU torture tests to start only
598 after being manually enabled via /proc. 598 after being manually enabled via /proc.
599 599
600config RCU_CPU_STALL_DETECTOR
601 bool "Check for stalled CPUs delaying RCU grace periods"
602 depends on CLASSIC_RCU
603 default n
604 help
605 This option causes RCU to printk information on which
606 CPUs are delaying the current grace period, but only when
607 the grace period extends for excessive time periods.
608
609 Say Y if you want RCU to perform such checks.
610
611 Say N if you are unsure.
612
600config KPROBES_SANITY_TEST 613config KPROBES_SANITY_TEST
601 bool "Kprobes sanity tests" 614 bool "Kprobes sanity tests"
602 depends on DEBUG_KERNEL 615 depends on DEBUG_KERNEL
@@ -624,6 +637,28 @@ config BACKTRACE_SELF_TEST
624 637
625 Say N if you are unsure. 638 Say N if you are unsure.
626 639
640config DEBUG_BLOCK_EXT_DEVT
641 bool "Force extended block device numbers and spread them"
642 depends on DEBUG_KERNEL
643 depends on BLOCK
644 default n
645 help
646 Conventionally, block device numbers are allocated from
647 predetermined contiguous area. However, extended block area
648 may introduce non-contiguous block device numbers. This
649 option forces most block device numbers to be allocated from
650 the extended space and spreads them to discover kernel or
651 userland code paths which assume predetermined contiguous
652 device number allocation.
653
654 Note that turning on this debug option shuffles all the
655 device numbers for all IDE and SCSI devices including libata
656 ones, so root partition specified using device number
657 directly (via rdev or root=MAJ:MIN) won't work anymore.
658 Textual device names (root=/dev/sdXn) will continue to work.
659
660 Say N if you are unsure.
661
627config LKDTM 662config LKDTM
628 tristate "Linux Kernel Dump Test Tool Module" 663 tristate "Linux Kernel Dump Test Tool Module"
629 depends on DEBUG_KERNEL 664 depends on DEBUG_KERNEL
@@ -661,10 +696,21 @@ config FAIL_PAGE_ALLOC
661 696
662config FAIL_MAKE_REQUEST 697config FAIL_MAKE_REQUEST
663 bool "Fault-injection capability for disk IO" 698 bool "Fault-injection capability for disk IO"
664 depends on FAULT_INJECTION 699 depends on FAULT_INJECTION && BLOCK
665 help 700 help
666 Provide fault-injection capability for disk IO. 701 Provide fault-injection capability for disk IO.
667 702
703config FAIL_IO_TIMEOUT
704 bool "Faul-injection capability for faking disk interrupts"
705 depends on FAULT_INJECTION && BLOCK
706 help
707 Provide fault-injection capability on end IO handling. This
708 will make the block layer "forget" an interrupt as configured,
709 thus exercising the error handling.
710
711 Only works with drivers that use the generic timeout handling,
712 for others it wont do anything.
713
668config FAULT_INJECTION_DEBUG_FS 714config FAULT_INJECTION_DEBUG_FS
669 bool "Debugfs entries for fault-injection capabilities" 715 bool "Debugfs entries for fault-injection capabilities"
670 depends on FAULT_INJECTION && SYSFS && DEBUG_FS 716 depends on FAULT_INJECTION && SYSFS && DEBUG_FS