Kconfig.debug (5f54c8b2d4fad95d1f8ecbe023ebe6038e6d3760) | Kconfig.debug (e4dace3615526fd66c86dd535ee4bc9e8c706e37) |
---|---|
1menu "printk and dmesg options" 2 3config PRINTK_TIME 4 bool "Show timing information on printks" 5 depends on PRINTK 6 help 7 Selecting this option causes time stamps of the printk() 8 messages to be added to the output of the syslog() system --- 360 unchanged lines hidden (view full) --- 369 bool "Compile-time stack metadata validation" 370 depends on HAVE_STACK_VALIDATION 371 default n 372 help 373 Add compile-time checks to validate stack metadata, including frame 374 pointers (if CONFIG_FRAME_POINTER is enabled). This helps ensure 375 that runtime stack traces are more reliable. 376 | 1menu "printk and dmesg options" 2 3config PRINTK_TIME 4 bool "Show timing information on printks" 5 depends on PRINTK 6 help 7 Selecting this option causes time stamps of the printk() 8 messages to be added to the output of the syslog() system --- 360 unchanged lines hidden (view full) --- 369 bool "Compile-time stack metadata validation" 370 depends on HAVE_STACK_VALIDATION 371 default n 372 help 373 Add compile-time checks to validate stack metadata, including frame 374 pointers (if CONFIG_FRAME_POINTER is enabled). This helps ensure 375 that runtime stack traces are more reliable. 376 |
377 This is also a prerequisite for generation of ORC unwind data, which 378 is needed for CONFIG_ORC_UNWINDER. 379 |
|
377 For more information, see 378 tools/objtool/Documentation/stack-validation.txt. 379 380config DEBUG_FORCE_WEAK_PER_CPU 381 bool "Force weak per-cpu definitions" 382 depends on DEBUG_KERNEL 383 help 384 s390 and alpha require percpu variables in modules to be --- 698 unchanged lines hidden (view full) --- 1083config PROVE_LOCKING 1084 bool "Lock debugging: prove locking correctness" 1085 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT 1086 select LOCKDEP 1087 select DEBUG_SPINLOCK 1088 select DEBUG_MUTEXES 1089 select DEBUG_RT_MUTEXES if RT_MUTEXES 1090 select DEBUG_LOCK_ALLOC | 380 For more information, see 381 tools/objtool/Documentation/stack-validation.txt. 382 383config DEBUG_FORCE_WEAK_PER_CPU 384 bool "Force weak per-cpu definitions" 385 depends on DEBUG_KERNEL 386 help 387 s390 and alpha require percpu variables in modules to be --- 698 unchanged lines hidden (view full) --- 1086config PROVE_LOCKING 1087 bool "Lock debugging: prove locking correctness" 1088 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT 1089 select LOCKDEP 1090 select DEBUG_SPINLOCK 1091 select DEBUG_MUTEXES 1092 select DEBUG_RT_MUTEXES if RT_MUTEXES 1093 select DEBUG_LOCK_ALLOC |
1094 select LOCKDEP_CROSSRELEASE 1095 select LOCKDEP_COMPLETIONS |
|
1091 select TRACE_IRQFLAGS 1092 default n 1093 help 1094 This feature enables the kernel to prove that all locking 1095 that occurs in the kernel runtime is mathematically 1096 correct: that under no circumstance could an arbitrary (and 1097 not yet triggered) combination of observed locking 1098 sequences (on an arbitrary number of CPUs, running an --- 24 unchanged lines hidden (view full) --- 1123 arbitrary combination of these separate locking variants. 1124 1125 For more details, see Documentation/locking/lockdep-design.txt. 1126 1127config LOCKDEP 1128 bool 1129 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT 1130 select STACKTRACE | 1096 select TRACE_IRQFLAGS 1097 default n 1098 help 1099 This feature enables the kernel to prove that all locking 1100 that occurs in the kernel runtime is mathematically 1101 correct: that under no circumstance could an arbitrary (and 1102 not yet triggered) combination of observed locking 1103 sequences (on an arbitrary number of CPUs, running an --- 24 unchanged lines hidden (view full) --- 1128 arbitrary combination of these separate locking variants. 1129 1130 For more details, see Documentation/locking/lockdep-design.txt. 1131 1132config LOCKDEP 1133 bool 1134 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT 1135 select STACKTRACE |
1131 select FRAME_POINTER if !MIPS && !PPC && !ARM_UNWIND && !S390 && !MICROBLAZE && !ARC && !SCORE | 1136 select FRAME_POINTER if !MIPS && !PPC && !ARM_UNWIND && !S390 && !MICROBLAZE && !ARC && !SCORE && !X86 |
1132 select KALLSYMS 1133 select KALLSYMS_ALL 1134 1135config LOCKDEP_SMALL 1136 bool 1137 1138config LOCK_STAT 1139 bool "Lock usage statistics" --- 12 unchanged lines hidden (view full) --- 1152 This also enables lock events required by "perf lock", 1153 subcommand of perf. 1154 If you want to use "perf lock", you also need to turn on 1155 CONFIG_EVENT_TRACING. 1156 1157 CONFIG_LOCK_STAT defines "contended" and "acquired" lock events. 1158 (CONFIG_LOCKDEP defines "acquire" and "release" events.) 1159 | 1137 select KALLSYMS 1138 select KALLSYMS_ALL 1139 1140config LOCKDEP_SMALL 1141 bool 1142 1143config LOCK_STAT 1144 bool "Lock usage statistics" --- 12 unchanged lines hidden (view full) --- 1157 This also enables lock events required by "perf lock", 1158 subcommand of perf. 1159 If you want to use "perf lock", you also need to turn on 1160 CONFIG_EVENT_TRACING. 1161 1162 CONFIG_LOCK_STAT defines "contended" and "acquired" lock events. 1163 (CONFIG_LOCKDEP defines "acquire" and "release" events.) 1164 |
1165config LOCKDEP_CROSSRELEASE 1166 bool 1167 help 1168 This makes lockdep work for crosslock which is a lock allowed to 1169 be released in a different context from the acquisition context. 1170 Normally a lock must be released in the context acquiring the lock. 1171 However, relexing this constraint helps synchronization primitives 1172 such as page locks or completions can use the lock correctness 1173 detector, lockdep. 1174 1175config LOCKDEP_COMPLETIONS 1176 bool 1177 help 1178 A deadlock caused by wait_for_completion() and complete() can be 1179 detected by lockdep using crossrelease feature. 1180 |
|
1160config DEBUG_LOCKDEP 1161 bool "Lock dependency engine debugging" 1162 depends on DEBUG_KERNEL && LOCKDEP 1163 help 1164 If you say Y here, the lock dependency engine will do 1165 additional runtime checks to debug itself, at the price 1166 of more runtime overhead. 1167 --- 374 unchanged lines hidden (view full) --- 1542 help 1543 Enable configuration of fault-injection capabilities via debugfs. 1544 1545config FAULT_INJECTION_STACKTRACE_FILTER 1546 bool "stacktrace filter for fault-injection capabilities" 1547 depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT 1548 depends on !X86_64 1549 select STACKTRACE | 1181config DEBUG_LOCKDEP 1182 bool "Lock dependency engine debugging" 1183 depends on DEBUG_KERNEL && LOCKDEP 1184 help 1185 If you say Y here, the lock dependency engine will do 1186 additional runtime checks to debug itself, at the price 1187 of more runtime overhead. 1188 --- 374 unchanged lines hidden (view full) --- 1563 help 1564 Enable configuration of fault-injection capabilities via debugfs. 1565 1566config FAULT_INJECTION_STACKTRACE_FILTER 1567 bool "stacktrace filter for fault-injection capabilities" 1568 depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT 1569 depends on !X86_64 1570 select STACKTRACE |
1550 select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM_UNWIND && !ARC && !SCORE | 1571 select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM_UNWIND && !ARC && !SCORE && !X86 |
1551 help 1552 Provide stacktrace filter for fault-injection capabilities 1553 1554config LATENCYTOP 1555 bool "Latency measuring infrastructure" 1556 depends on DEBUG_KERNEL 1557 depends on STACKTRACE_SUPPORT 1558 depends on PROC_FS | 1572 help 1573 Provide stacktrace filter for fault-injection capabilities 1574 1575config LATENCYTOP 1576 bool "Latency measuring infrastructure" 1577 depends on DEBUG_KERNEL 1578 depends on STACKTRACE_SUPPORT 1579 depends on PROC_FS |
1559 select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM_UNWIND && !ARC | 1580 select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM_UNWIND && !ARC && !X86 |
1560 select KALLSYMS 1561 select KALLSYMS_ALL 1562 select STACKTRACE 1563 select SCHEDSTATS 1564 select SCHED_DEBUG 1565 help 1566 Enable this option if you want to use the LatencyTOP tool 1567 to find out which userspace is blocking on what kernel operations. --- 336 unchanged lines hidden (view full) --- 1904 module load requests, ultimately this could be fatal. 1905 1906 To run tests run: 1907 1908 tools/testing/selftests/kmod/kmod.sh --help 1909 1910 If unsure, say N. 1911 | 1581 select KALLSYMS 1582 select KALLSYMS_ALL 1583 select STACKTRACE 1584 select SCHEDSTATS 1585 select SCHED_DEBUG 1586 help 1587 Enable this option if you want to use the LatencyTOP tool 1588 to find out which userspace is blocking on what kernel operations. --- 336 unchanged lines hidden (view full) --- 1925 module load requests, ultimately this could be fatal. 1926 1927 To run tests run: 1928 1929 tools/testing/selftests/kmod/kmod.sh --help 1930 1931 If unsure, say N. 1932 |
1933config TEST_DEBUG_VIRTUAL 1934 tristate "Test CONFIG_DEBUG_VIRTUAL feature" 1935 depends on DEBUG_VIRTUAL 1936 help 1937 Test the kernel's ability to detect incorrect calls to 1938 virt_to_phys() done against the non-linear part of the 1939 kernel's virtual address map. 1940 1941 If unsure, say N. 1942 1943 |
|
1912source "samples/Kconfig" 1913 1914source "lib/Kconfig.kgdb" 1915 1916source "lib/Kconfig.ubsan" 1917 1918config ARCH_HAS_DEVMEM_IS_ALLOWED 1919 bool --- 36 unchanged lines hidden --- | 1944source "samples/Kconfig" 1945 1946source "lib/Kconfig.kgdb" 1947 1948source "lib/Kconfig.ubsan" 1949 1950config ARCH_HAS_DEVMEM_IS_ALLOWED 1951 bool --- 36 unchanged lines hidden --- |