aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug57
1 files changed, 56 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 0b504814e378..aa81d2848448 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -495,6 +495,15 @@ config DEBUG_VM
495 495
496 If unsure, say N. 496 If unsure, say N.
497 497
498config DEBUG_VIRTUAL
499 bool "Debug VM translations"
500 depends on DEBUG_KERNEL && X86
501 help
502 Enable some costly sanity checks in virtual to page code. This can
503 catch mistakes with virt_to_page() and friends.
504
505 If unsure, say N.
506
498config DEBUG_WRITECOUNT 507config DEBUG_WRITECOUNT
499 bool "Debug filesystem writers count" 508 bool "Debug filesystem writers count"
500 depends on DEBUG_KERNEL 509 depends on DEBUG_KERNEL
@@ -597,6 +606,19 @@ config RCU_TORTURE_TEST_RUNNABLE
597 Say N here if you want the RCU torture tests to start only 606 Say N here if you want the RCU torture tests to start only
598 after being manually enabled via /proc. 607 after being manually enabled via /proc.
599 608
609config RCU_CPU_STALL_DETECTOR
610 bool "Check for stalled CPUs delaying RCU grace periods"
611 depends on CLASSIC_RCU
612 default n
613 help
614 This option causes RCU to printk information on which
615 CPUs are delaying the current grace period, but only when
616 the grace period extends for excessive time periods.
617
618 Say Y if you want RCU to perform such checks.
619
620 Say N if you are unsure.
621
600config KPROBES_SANITY_TEST 622config KPROBES_SANITY_TEST
601 bool "Kprobes sanity tests" 623 bool "Kprobes sanity tests"
602 depends on DEBUG_KERNEL 624 depends on DEBUG_KERNEL
@@ -624,6 +646,28 @@ config BACKTRACE_SELF_TEST
624 646
625 Say N if you are unsure. 647 Say N if you are unsure.
626 648
649config DEBUG_BLOCK_EXT_DEVT
650 bool "Force extended block device numbers and spread them"
651 depends on DEBUG_KERNEL
652 depends on BLOCK
653 default n
654 help
655 Conventionally, block device numbers are allocated from
656 predetermined contiguous area. However, extended block area
657 may introduce non-contiguous block device numbers. This
658 option forces most block device numbers to be allocated from
659 the extended space and spreads them to discover kernel or
660 userland code paths which assume predetermined contiguous
661 device number allocation.
662
663 Note that turning on this debug option shuffles all the
664 device numbers for all IDE and SCSI devices including libata
665 ones, so root partition specified using device number
666 directly (via rdev or root=MAJ:MIN) won't work anymore.
667 Textual device names (root=/dev/sdXn) will continue to work.
668
669 Say N if you are unsure.
670
627config LKDTM 671config LKDTM
628 tristate "Linux Kernel Dump Test Tool Module" 672 tristate "Linux Kernel Dump Test Tool Module"
629 depends on DEBUG_KERNEL 673 depends on DEBUG_KERNEL
@@ -661,10 +705,21 @@ config FAIL_PAGE_ALLOC
661 705
662config FAIL_MAKE_REQUEST 706config FAIL_MAKE_REQUEST
663 bool "Fault-injection capability for disk IO" 707 bool "Fault-injection capability for disk IO"
664 depends on FAULT_INJECTION 708 depends on FAULT_INJECTION && BLOCK
665 help 709 help
666 Provide fault-injection capability for disk IO. 710 Provide fault-injection capability for disk IO.
667 711
712config FAIL_IO_TIMEOUT
713 bool "Faul-injection capability for faking disk interrupts"
714 depends on FAULT_INJECTION && BLOCK
715 help
716 Provide fault-injection capability on end IO handling. This
717 will make the block layer "forget" an interrupt as configured,
718 thus exercising the error handling.
719
720 Only works with drivers that use the generic timeout handling,
721 for others it wont do anything.
722
668config FAULT_INJECTION_DEBUG_FS 723config FAULT_INJECTION_DEBUG_FS
669 bool "Debugfs entries for fault-injection capabilities" 724 bool "Debugfs entries for fault-injection capabilities"
670 depends on FAULT_INJECTION && SYSFS && DEBUG_FS 725 depends on FAULT_INJECTION && SYSFS && DEBUG_FS