Lines Matching +full:fails +full:- +full:without +full:- +full:test +full:- +full:cd
1 # SPDX-License-Identifier: GPL-2.0-only
19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst
31 interpret without knowing where these lines (or sometimes individual
39 int "Default console loglevel (1-15)"
49 Note: This does not affect the log level of un-prefixed printk()
54 int "quiet console loglevel (1-15)"
65 int "Default message log level (1-7)"
71 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks
107 enabled/disabled based on various levels of scope - per source file,
147 nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' >
151 nullarbor:~ # echo -n 'file svcsock.c +p' >
155 nullarbor:~ # echo -n 'module nfsd +p' >
159 nullarbor:~ # echo -n 'func svc_process +p' >
163 nullarbor:~ # echo -n 'func svc_process -p' >
166 See Documentation/admin-guide/dynamic-debug-howto.rst for additional
196 debugging but costs about 70-100K of memory.
200 menu "Compile-time checks and compiler options"
208 This adds debug symbols to the kernel and modules (gcc -g), and
231 depends on $(cc-option,-gz=zlib)
232 depends on $(ld-option,--compress-debug-sections=zlib)
237 Users of dpkg-deb via scripts/package/builddeb may find an increase in
246 depends on $(cc-option,-gsplit-dwarf)
261 depends on $(cc-option,-gdwarf-4)
284 instance. See Documentation/dev-tools/gdb-kernel-debugging.rst
310 bool "Strip assembler-generated symbols during link"
313 Strip internal assembler-generated symbols during a link (symbols
330 This option will install uapi headers (headers exported to user-space)
333 user-space program samples. It is also needed by some features such
350 - Add the option -fno-inline-functions-called-once to gcc commands.
351 When inlining a function annotated with __init in a non-init
358 bool "Make section mismatch errors non-fatal"
395 bool "Compile-time stack metadata validation"
399 Add compile-time checks to validate stack metadata, including frame
407 tools/objtool/Documentation/stack-validation.txt.
415 bool "Force weak per-cpu definitions"
444 keys are documented in <file:Documentation/admin-guide/sysrq.rst>.
454 to a bitmask as described in Documentation/admin-guide/sysrq.rst.
495 debugfs=[on,no-mount,off]. The restrictions apply for API access
514 Access is off. Clients get -PERM when trying to create nodes in
516 Client can then back-off or continue without debugfs access.
565 properly. This can make kmalloc/kfree-intensive workloads
599 int "debug_objects bootup default value (0-1)"
612 memory. This can make kmalloc/kfree-intensive workloads much slower.
625 "slub_debug=-".
638 Try running: slabinfo -DA
657 allocations. See Documentation/dev-tools/kmemleak.rst for more
680 tristate "Simple test for the kernel memory leak detector"
714 task has ever had available in the sysrq-T and sysrq-P debug output.
740 Enable this to turn on extended checks in the virtual-memory system
750 can cause significant overhead, so only enable it in non-production
756 bool "Debug VM red-black trees"
759 Enable VM red-black tree debugging information and extra validations.
764 bool "Debug page-flags operations"
777 This option provides a debug method which can be used to test
814 on the mminit_loglevel= command-line option.
824 debugfs interface under /sys/kernel/debug/notifier-error-inject/memory
829 Example: Inject memory hotplug offline error (-12 == -ENOMEM)
831 # cd /sys/kernel/debug/notifier-error-inject/memory
832 # echo -12 > actions/MEM_GOING_OFFLINE/error
837 be called memory-notifier-error-inject.
871 These kinds of bugs usually occur when call-chains in the
935 mode for more than 20 seconds, without giving other tasks a
946 sysctl), without giving other tasks a chance to run.
951 high-availability systems that have uptime guarantees and
989 for more than 10 seconds, without letting other interrupts have a
1032 to determine when a task has become non-responsive and should
1053 high-availability systems that have uptime guarantees and
1077 tristate "Test module to generate lockups"
1085 Also it could generate series of lockups with cooling-down periods.
1141 if kernel code uses it in a preemption-unsafe way. Also, the kernel
1178 participant CPUs, tasks and irq-contexts would be needed
1191 and rwsems - in which case all dependencies between these
1196 For more details, see Documentation/locking/lockdep-design.rst.
1199 bool "Enable raw_spinlock - spinlock nesting checks"
1245 bool "Spinlock and rw-lock debugging: basic checks"
1269 injecting additional -EDEADLK wound/backoff cases. Together with
1271 will test all possible w/w mutex interface abuse with the
1295 memory-freeing routines (kfree(), kmem_cache_free(), free_pages(),
1330 bool "Locking API boot-time self-tests"
1333 Say Y here if you want the kernel to run a short self-test during
1334 bootup. The self-test checks whether common types of locking bugs
1349 Say Y here if you want kernel locking-primitive torture tests
1361 with this test harness.
1473 Enable this to turn on extended checks in the linked-list
1482 Enable this to turn on extended checks in the priority-ordered
1483 linked-list (plist) walking routines. This checks the entire
1492 Enable this to turn on checks on scatter-gather tables. This can
1538 bool "Force round-robin CPU selection for unbound work items"
1543 without explicit CPU specified are put on the local CPU. This
1547 round-robin CPU selection to flush out usages which depend on the
1565 may introduce non-contiguous block device numbers. This
1634 in charge of the OHCI-1394 controllers should be used instead.
1636 See Documentation/core-api/debugging-via-ohci1394.rst for more information.
1668 io-memory regardless of whether a driver is actively using that
1673 userspace access to *idle* io-memory ranges (see /proc/iomem) This
1695 specified notifier chain callbacks. It is useful to test the error
1707 interface /sys/kernel/debug/notifier-error-inject/pm
1712 Example: Inject PM suspend error (-12 = -ENOMEM)
1714 # cd /sys/kernel/debug/notifier-error-inject/pm/
1715 # echo -12 > actions/PM_SUSPEND_PREPARE/error
1720 be called pm-notifier-error-inject.
1731 /sys/kernel/debug/notifier-error-inject/OF-reconfig/
1737 be called of-reconfig-notifier-error-inject.
1747 interface /sys/kernel/debug/notifier-error-inject/netdev
1752 Example: Inject netdevice mtu change error (-22 = -EINVAL)
1754 # cd /sys/kernel/debug/notifier-error-inject/netdev
1755 # echo -22 > actions/NETDEV_CHANGEMTU/error
1760 be called netdev-notifier-error-inject.
1769 bool "Fault-injection framework"
1772 Provide fault-injection framework.
1773 For more details, see Documentation/fault-injection/.
1776 bool "Fault-injection capability for kmalloc"
1780 Provide fault-injection capability for kmalloc.
1783 bool "Fault-injection capability for alloc_pages()"
1786 Provide fault-injection capability for alloc_pages().
1792 Provides fault-injection capability to inject failures
1796 bool "Fault-injection capability for disk IO"
1799 Provide fault-injection capability for disk IO.
1802 bool "Fault-injection capability for faking disk interrupts"
1805 Provide fault-injection capability on end IO handling. This
1813 bool "Fault-injection capability for futexes"
1817 Provide fault-injection capability for futexes.
1820 bool "Debugfs entries for fault-injection capabilities"
1823 Enable configuration of fault-injection capabilities via debugfs.
1826 bool "Fault-injection capability for functions"
1829 Provide function-based fault-injection capability.
1832 an error value and have to handle it. This is useful to test the
1836 bool "Fault-injection capability for MMC IO"
1839 Provide fault-injection capability for MMC IO.
1841 useful to test the error handling in the mmc block device
1842 and to test how the mmc host driver handles retries from
1846 bool "stacktrace filter for fault-injection capabilities"
1852 Provide stacktrace filter for fault-injection capabilities
1862 def_bool $(cc-option,-fsanitize-coverage=trace-pc)
1874 for coverage-guided fuzzing (randomized testing).
1880 For more details, see Documentation/dev-tools/kcov.rst.
1885 depends on $(cc-option,-fsanitize-coverage=trace-cmp)
1908 KCOV uses preallocated per-cpu areas to collect coverage from
1919 tristate "Linux Kernel Dump Test Tool Module"
1929 Documentation/fault-injection/provoke-crashes.rst
1932 tristate "Linked list sorting test"
1935 Enable this to turn on 'list_sort()' function test. This test is
1942 tristate "Min heap test"
1945 Enable this to turn on min heap function tests. This test is
1952 tristate "Array-based sort test"
1955 This option enables the self-test function of 'sort()' at boot,
1972 tristate "Self test for the backtrace code"
1975 This option provides a kernel module that can be used to test
1980 Note that if you want to also test saved backtraces, you will
1986 tristate "Red-Black tree test"
1993 tristate "Reed-Solomon library test"
1999 This option enables the self-test function of rslib at boot,
2005 tristate "Interval tree test"
2012 tristate "Per cpu operations test"
2015 Enable this option to build test module which validates per-cpu
2021 tristate "Perform an atomic64_t self-test"
2023 Enable this option to test the atomic64_t functions at boot or
2029 tristate "Self test for hardware accelerated raid6 recovery"
2033 This is a one-shot self test that permutes through the
2035 N-disk array. Recovery is performed with the asynchronous
2042 tristate "Test functions located in the hexdump module at runtime"
2045 tristate "Test functions located in the string_helpers module at runtime"
2048 tristate "Test strscpy*() family of functions at runtime"
2051 tristate "Test kstrto*() family of functions at runtime"
2054 tristate "Test printf() family of functions at runtime"
2057 tristate "Test bitmap_*() family of functions at runtime"
2059 Enable this option to test the bitmap functions at boot.
2064 tristate "Test functions located in the uuid module at runtime"
2067 tristate "Test the XArray code at runtime"
2070 tristate "Test check_*_overflow() functions at runtime"
2075 Enable this option to test the rhashtable functions at boot.
2082 Enable this option to test the kernel's integer (<linux/hash.h>),
2086 This is intended to help people writing architecture-specific
2096 Enable this option to test priority array manager on boot
2105 Enable this option to test the irq timings code on boot.
2110 tristate "Test module loading with 'hello world' module"
2123 tristate "Test module for compilation of bitops operations"
2129 no compiler warnings from C=1 sparse checker or -Wextra
2136 tristate "Test module for stress/performance analysis of vmalloc allocator"
2149 tristate "Test user/kernel boundary protections"
2154 user/kernel boundary testing is working. If it fails to load,
2161 tristate "Test BPF filter functionality"
2164 This builds the "test_bpf" module that runs various test vectors
2168 the interpreter code. It also enables test stubs for eBPF maps and
2174 tristate "Test blackhole netdev functionality"
2183 tristate "Test find_bit functions"
2191 tristate "Test firmware loading via userspace interface"
2196 control the triggering of firmware loading without needing an
2197 actual firmware-using device. The contents can be rechecked by
2203 tristate "sysctl test driver"
2206 This builds the "test_sysctl" module. This driver enables to test the
2207 proc sysctl interfaces available to drivers safely without affecting
2213 tristate "KUnit test bitfield functions at runtime"
2216 Enable this option to test the bitfield functions at boot.
2220 running the KUnit test harness, and not intended for inclusion into a
2224 to the KUnit documentation in Documentation/dev-tools/kunit/.
2229 tristate "KUnit test for sysctl" if !KUNIT_ALL_TESTS
2233 This builds the proc sysctl unit test, which runs on boot.
2236 to the KUnit documentation in Documentation/dev-tools/kunit/.
2241 tristate "KUnit Test for Kernel Linked-list structures" if !KUNIT_ALL_TESTS
2245 This builds the linked list KUnit test suite.
2251 running the KUnit test harness, and not intended for inclusion into a
2255 to the KUnit documentation in Documentation/dev-tools/kunit/.
2260 tristate "KUnit test for linear_ranges"
2264 This builds the linear_ranges unit test, which runs on boot.
2267 to the KUnit documentation in Documentation/dev-tools/kunit/.
2272 tristate "KUnit test for bits.h"
2275 This builds the bits unit test.
2278 to the KUnit documentation in Documentation/dev-tools/kunit/.
2283 tristate "udelay test driver"
2291 tristate "Test static keys"
2294 Test the static key interfaces.
2308 Test the kernel's module loading mechanism: kmod. kmod implements
2310 This test provides a series of tests against kmod.
2320 tools/testing/selftests/kmod/kmod.sh --help
2325 tristate "Test CONFIG_DEBUG_VIRTUAL feature"
2328 Test the kernel's ability to detect incorrect calls to
2329 virt_to_phys() done against the non-linear part of the
2335 tristate "Test memcat_p() helper function"
2337 Test the memcat_p() helper for correctly merging two
2343 tristate "Test livepatching"
2349 Test kernel livepatching features for correctness. The tests will
2350 load test modules that will be livepatched in various scenarios.
2354 make -C tools/testing/selftests TARGETS=livepatch run_tests
2358 tools/testing/selftests/livepatch/test-callbacks.sh
2359 tools/testing/selftests/livepatch/test-livepatch.sh
2360 tools/testing/selftests/livepatch/test-shadow-vars.sh
2369 Enable this option to test object aggregation manager on boot
2374 tristate "Test level of stack variable initialization"
2376 Test if the kernel is zero-initializing stack variables and
2384 tristate "Test heap/page initialization"
2386 Test if the kernel is zero-initializing heap and page allocations.
2387 This can be useful to test init_on_alloc and init_on_free features.
2392 tristate "Test HMM (Heterogeneous Memory Management)"
2399 Say M here if you want to build the HMM test module.
2400 Doing so will allow you to run tools/testing/selftest/vm/hmm-tests.
2405 tristate "Test freeing pages"
2407 Test that a memory leak does not occur due to a race between
2414 tristate "Test floating point operations in kernel space"
2419 for self-testing floating point control register setting in
2431 memtest=0, mean disabled; -- default
2432 memtest=1, mean do 1 test pattern;
2434 memtest=17, mean do 17 test patterns.
2440 bool "Microsoft Hyper-V driver testing"
2444 Select this option to enable Hyper-V vmbus testing.