aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug80
1 files changed, 76 insertions, 4 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index e1d4764435ed..aa81d2848448 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -394,7 +394,7 @@ config LOCKDEP
394 bool 394 bool
395 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT 395 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
396 select STACKTRACE 396 select STACKTRACE
397 select FRAME_POINTER if !X86 && !MIPS 397 select FRAME_POINTER if !X86 && !MIPS && !PPC
398 select KALLSYMS 398 select KALLSYMS
399 select KALLSYMS_ALL 399 select KALLSYMS_ALL
400 400
@@ -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
@@ -676,13 +731,13 @@ config FAULT_INJECTION_STACKTRACE_FILTER
676 depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT 731 depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT
677 depends on !X86_64 732 depends on !X86_64
678 select STACKTRACE 733 select STACKTRACE
679 select FRAME_POINTER 734 select FRAME_POINTER if !PPC
680 help 735 help
681 Provide stacktrace filter for fault-injection capabilities 736 Provide stacktrace filter for fault-injection capabilities
682 737
683config LATENCYTOP 738config LATENCYTOP
684 bool "Latency measuring infrastructure" 739 bool "Latency measuring infrastructure"
685 select FRAME_POINTER if !MIPS 740 select FRAME_POINTER if !MIPS && !PPC
686 select KALLSYMS 741 select KALLSYMS
687 select KALLSYMS_ALL 742 select KALLSYMS_ALL
688 select STACKTRACE 743 select STACKTRACE
@@ -693,6 +748,14 @@ config LATENCYTOP
693 Enable this option if you want to use the LatencyTOP tool 748 Enable this option if you want to use the LatencyTOP tool
694 to find out which userspace is blocking on what kernel operations. 749 to find out which userspace is blocking on what kernel operations.
695 750
751config SYSCTL_SYSCALL_CHECK
752 bool "Sysctl checks"
753 depends on SYSCTL_SYSCALL
754 ---help---
755 sys_sysctl uses binary paths that have been found challenging
756 to properly maintain and use. This enables checks that help
757 you to keep things correct.
758
696source kernel/trace/Kconfig 759source kernel/trace/Kconfig
697 760
698config PROVIDE_OHCI1394_DMA_INIT 761config PROVIDE_OHCI1394_DMA_INIT
@@ -735,6 +798,15 @@ config FIREWIRE_OHCI_REMOTE_DMA
735 798
736 If unsure, say N. 799 If unsure, say N.
737 800
801menuconfig BUILD_DOCSRC
802 bool "Build targets in Documentation/ tree"
803 depends on HEADERS_CHECK
804 help
805 This option attempts to build objects from the source files in the
806 kernel Documentation/ tree.
807
808 Say N if you are unsure.
809
738source "samples/Kconfig" 810source "samples/Kconfig"
739 811
740source "lib/Kconfig.kgdb" 812source "lib/Kconfig.kgdb"