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)
1873 for coverage-guided fuzzing (randomized testing).
1879 For more details, see Documentation/dev-tools/kcov.rst.
1884 depends on $(cc-option,-fsanitize-coverage=trace-cmp)
1907 KCOV uses preallocated per-cpu areas to collect coverage from
1918 tristate "Linux Kernel Dump Test Tool Module"
1928 Documentation/fault-injection/provoke-crashes.rst
1931 tristate "Linked list sorting test"
1934 Enable this to turn on 'list_sort()' function test. This test is
1941 tristate "Min heap test"
1944 Enable this to turn on min heap function tests. This test is
1951 tristate "Array-based sort test"
1954 This option enables the self-test function of 'sort()' at boot,
1971 tristate "Self test for the backtrace code"
1974 This option provides a kernel module that can be used to test
1979 Note that if you want to also test saved backtraces, you will
1985 tristate "Red-Black tree test"
1992 tristate "Reed-Solomon library test"
1998 This option enables the self-test function of rslib at boot,
2004 tristate "Interval tree test"
2011 tristate "Per cpu operations test"
2014 Enable this option to build test module which validates per-cpu
2020 tristate "Perform an atomic64_t self-test"
2022 Enable this option to test the atomic64_t functions at boot or
2028 tristate "Self test for hardware accelerated raid6 recovery"
2032 This is a one-shot self test that permutes through the
2034 N-disk array. Recovery is performed with the asynchronous
2041 tristate "Test functions located in the hexdump module at runtime"
2044 tristate "Test functions located in the string_helpers module at runtime"
2047 tristate "Test strscpy*() family of functions at runtime"
2050 tristate "Test kstrto*() family of functions at runtime"
2053 tristate "Test printf() family of functions at runtime"
2056 tristate "Test bitmap_*() family of functions at runtime"
2058 Enable this option to test the bitmap functions at boot.
2063 tristate "Test functions located in the uuid module at runtime"
2066 tristate "Test the XArray code at runtime"
2069 tristate "Test check_*_overflow() functions at runtime"
2074 Enable this option to test the rhashtable functions at boot.
2081 Enable this option to test the kernel's integer (<linux/hash.h>),
2085 This is intended to help people writing architecture-specific
2095 Enable this option to test priority array manager on boot
2104 Enable this option to test the irq timings code on boot.
2109 tristate "Test module loading with 'hello world' module"
2122 tristate "Test module for compilation of bitops operations"
2128 no compiler warnings from C=1 sparse checker or -Wextra
2135 tristate "Test module for stress/performance analysis of vmalloc allocator"
2148 tristate "Test user/kernel boundary protections"
2153 user/kernel boundary testing is working. If it fails to load,
2160 tristate "Test BPF filter functionality"
2163 This builds the "test_bpf" module that runs various test vectors
2167 the interpreter code. It also enables test stubs for eBPF maps and
2173 tristate "Test blackhole netdev functionality"
2182 tristate "Test find_bit functions"
2190 tristate "Test firmware loading via userspace interface"
2195 control the triggering of firmware loading without needing an
2196 actual firmware-using device. The contents can be rechecked by
2202 tristate "sysctl test driver"
2205 This builds the "test_sysctl" module. This driver enables to test the
2206 proc sysctl interfaces available to drivers safely without affecting
2212 tristate "KUnit test bitfield functions at runtime"
2215 Enable this option to test the bitfield functions at boot.
2219 running the KUnit test harness, and not intended for inclusion into a
2223 to the KUnit documentation in Documentation/dev-tools/kunit/.
2228 tristate "KUnit test for sysctl" if !KUNIT_ALL_TESTS
2232 This builds the proc sysctl unit test, which runs on boot.
2235 to the KUnit documentation in Documentation/dev-tools/kunit/.
2240 tristate "KUnit Test for Kernel Linked-list structures" if !KUNIT_ALL_TESTS
2244 This builds the linked list KUnit test suite.
2250 running the KUnit test harness, and not intended for inclusion into a
2254 to the KUnit documentation in Documentation/dev-tools/kunit/.
2259 tristate "KUnit test for linear_ranges"
2263 This builds the linear_ranges unit test, which runs on boot.
2266 to the KUnit documentation in Documentation/dev-tools/kunit/.
2271 tristate "KUnit test for bits.h"
2274 This builds the bits unit test.
2277 to the KUnit documentation in Documentation/dev-tools/kunit/.
2282 tristate "udelay test driver"
2290 tristate "Test static keys"
2293 Test the static key interfaces.
2307 Test the kernel's module loading mechanism: kmod. kmod implements
2309 This test provides a series of tests against kmod.
2319 tools/testing/selftests/kmod/kmod.sh --help
2324 tristate "Test CONFIG_DEBUG_VIRTUAL feature"
2327 Test the kernel's ability to detect incorrect calls to
2328 virt_to_phys() done against the non-linear part of the
2334 tristate "Test memcat_p() helper function"
2336 Test the memcat_p() helper for correctly merging two
2342 tristate "Test livepatching"
2348 Test kernel livepatching features for correctness. The tests will
2349 load test modules that will be livepatched in various scenarios.
2353 make -C tools/testing/selftests TARGETS=livepatch run_tests
2357 tools/testing/selftests/livepatch/test-callbacks.sh
2358 tools/testing/selftests/livepatch/test-livepatch.sh
2359 tools/testing/selftests/livepatch/test-shadow-vars.sh
2368 Enable this option to test object aggregation manager on boot
2373 tristate "Test level of stack variable initialization"
2375 Test if the kernel is zero-initializing stack variables and
2383 tristate "Test heap/page initialization"
2385 Test if the kernel is zero-initializing heap and page allocations.
2386 This can be useful to test init_on_alloc and init_on_free features.
2391 tristate "Test HMM (Heterogeneous Memory Management)"
2398 Say M here if you want to build the HMM test module.
2399 Doing so will allow you to run tools/testing/selftest/vm/hmm-tests.
2404 tristate "Test freeing pages"
2406 Test that a memory leak does not occur due to a race between
2413 tristate "Test floating point operations in kernel space"
2418 for self-testing floating point control register setting in
2430 memtest=0, mean disabled; -- default
2431 memtest=1, mean do 1 test pattern;
2433 memtest=17, mean do 17 test patterns.
2439 bool "Microsoft Hyper-V driver testing"
2443 Select this option to enable Hyper-V vmbus testing.