• Home
  • Raw
  • Download

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
50 int "Default console loglevel (1-15)"
60 Note: This does not affect the log level of un-prefixed printk()
65 int "quiet console loglevel (1-15)"
76 int "Default message log level (1-7)"
82 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks
118 enabled/disabled based on various levels of scope - per source file,
158 nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' >
162 nullarbor:~ # echo -n 'file svcsock.c +p' >
166 nullarbor:~ # echo -n 'module nfsd +p' >
170 nullarbor:~ # echo -n 'func svc_process +p' >
174 nullarbor:~ # echo -n 'func svc_process -p' >
177 See Documentation/admin-guide/dynamic-debug-howto.rst for additional
207 debugging but costs about 70-100K of memory.
225 menu "Compile-time checks and compiler options"
237 def_bool $(as-instr,.uleb128 .Lexpr_end4 - .Lexpr_start3\n.Lexpr_start3:\n.Lexpr_end4:)
245 This adds debug symbols to the kernel and modules (gcc -g), and
276 if using clang without clang's integrated assembler, and gdb 7.0+.
288 5.0+ accepts the -gdwarf-5 flag but only had partial support for some
292 15-18% savings in resulting image and debug info section sizes as
330 depends on $(cc-option,-gz=zlib)
331 depends on $(ld-option,--compress-debug-sections=zlib)
336 Users of dpkg-deb via scripts/package/builddeb may find an increase in
345 depends on $(cc-option,-gz=zstd)
346 depends on $(ld-option,--compress-debug-sections=zstd)
357 depends on $(cc-option,-gsplit-dwarf)
358 # RISC-V linker relaxation + -gsplit-dwarf has issues with LLVM and GCC
360 # https://github.com/llvm/llvm-project/issues/56642
400 Support for the --lang_exclude flag which makes pahole exclude
413 bool "Allow loading modules with non-matching BTF type info"
416 For modules whose split BTF does not match vmlinux, load without
429 instance. See Documentation/dev-tools/gdb-kernel-debugging.rst
450 bool "Strip assembler-generated symbols during link"
453 Strip internal assembler-generated symbols during a link (symbols
471 This option will install uapi headers (headers exported to user-space)
474 user-space program samples. It is also needed by some features such
492 - Add the option -fno-inline-functions-called-once to gcc commands.
493 When inlining a function annotated with __init in a non-init
500 bool "Make section mismatch errors non-fatal"
542 bool "Compile-time stack metadata validation"
547 Validate frame pointer rules at compile-time. This helps ensure that
563 Selecting this option will pass "-Map=vmlinux.map" to ld
570 bool "Force weak per-cpu definitions"
599 keys are documented in <file:Documentation/admin-guide/sysrq.rst>.
609 to a bitmask as described in Documentation/admin-guide/sysrq.rst.
650 debugfs=[on,no-mount,off]. The restrictions apply for API access
669 Access is off. Clients get -PERM when trying to create nodes in
671 Client can then back-off or continue without debugfs access.
711 properly. This can make kmalloc/kfree-intensive workloads
745 int "debug_objects bootup default value (0-1)"
765 task has ever had available in the sysrq-T and sysrq-P debug output.
794 Enable this to turn on extended checks in the virtual-memory system
819 bool "Debug VM red-black trees"
822 Enable VM red-black tree debugging information and extra validations.
827 bool "Debug page-flags operations"
840 This option provides a debug method which can be used to test
877 on the mminit_loglevel= command-line option.
887 debugfs interface under /sys/kernel/debug/notifier-error-inject/memory
892 Example: Inject memory hotplug offline error (-12 == -ENOMEM)
894 # cd /sys/kernel/debug/notifier-error-inject/memory
895 # echo -12 > actions/MEM_GOING_OFFLINE/error
900 be called memory-notifier-error-inject.
932 mechanism for non-highmem pages and on non-highmem systems.
956 These kinds of bugs usually occur when call-chains in the
1022 mode for more than 20 seconds, without giving other tasks a
1033 sysctl), without giving other tasks a chance to run.
1038 high-availability systems that have uptime guarantees and
1072 for more than 10 seconds, without letting other interrupts have a
1077 # Note that arch-specific variants are always preferred.
1092 an arch-specific hardlockup detector or if resources needed
1115 The arch-specific implementation of the hardlockup detector will
1165 to determine when a task has become non-responsive and should
1186 high-availability systems that have uptime guarantees and
1210 bool "Report per-cpu work items which hog CPU for too long"
1213 Say Y here to enable reporting of concurrency-managed per-cpu work
1217 them from stalling other per-cpu work items. Occassional
1223 tristate "Test module to generate lockups"
1231 Also it could generate series of lockups with cooling-down periods.
1286 if kernel code uses it in a preemption-unsafe way. Also, the kernel
1327 participant CPUs, tasks and irq-contexts would be needed
1340 and rwsems - in which case all dependencies between these
1345 For more details, see Documentation/locking/lockdep-design.rst.
1348 bool "Enable raw_spinlock - spinlock nesting checks"
1394 bool "Spinlock and rw-lock debugging: basic checks"
1419 injecting additional -EDEADLK wound/backoff cases. Together with
1421 will test all possible w/w mutex interface abuse with the
1445 memory-freeing routines (kfree(), kmem_cache_free(), free_pages(),
1498 … Try increasing this value if you hit "lockdep bfs error:-1" warning due to __cq_enqueue() failure.
1521 bool "Locking API boot-time self-tests"
1524 Say Y here if you want the kernel to run a short self-test during
1525 bootup. The self-test checks whether common types of locking bugs
1540 Say Y here if you want kernel locking-primitive torture tests
1552 with this test harness.
1607 Enables debug prints when a CPU fails to respond to a given
1691 Enable this to turn on extended checks in the linked-list walking
1704 Enable this to turn on extended checks in the priority-ordered
1705 linked-list (plist) walking routines. This checks the entire
1714 Enable this to turn on checks on scatter-gather tables. This can
1743 bool "Force round-robin CPU selection for unbound work items"
1748 without explicit CPU specified are put on the local CPU. This
1752 round-robin CPU selection to flush out usages which depend on the
1821 in charge of the OHCI-1394 controllers should be used instead.
1823 See Documentation/core-api/debugging-via-ohci1394.rst for more information.
1855 io-memory regardless of whether a driver is actively using that
1860 userspace access to *idle* io-memory ranges (see /proc/iomem) This
1882 specified notifier chain callbacks. It is useful to test the error
1894 interface /sys/kernel/debug/notifier-error-inject/pm
1899 Example: Inject PM suspend error (-12 = -ENOMEM)
1901 # cd /sys/kernel/debug/notifier-error-inject/pm/
1902 # echo -12 > actions/PM_SUSPEND_PREPARE/error
1907 be called pm-notifier-error-inject.
1918 /sys/kernel/debug/notifier-error-inject/OF-reconfig/
1924 be called of-reconfig-notifier-error-inject.
1934 interface /sys/kernel/debug/notifier-error-inject/netdev
1939 Example: Inject netdevice mtu change error (-22 = -EINVAL)
1941 # cd /sys/kernel/debug/notifier-error-inject/netdev
1942 # echo -22 > actions/NETDEV_CHANGEMTU/error
1947 be called netdev-notifier-error-inject.
1952 bool "Fault-injections of functions"
1957 value of these functions. This is useful to test error paths of code.
1962 bool "Fault-injection framework"
1965 Provide fault-injection framework.
1966 For more details, see Documentation/fault-injection/.
1969 bool "Fault-injection capability for kmalloc"
1973 Provide fault-injection capability for kmalloc.
1976 bool "Fault-injection capability for alloc_pages()"
1979 Provide fault-injection capability for alloc_pages().
1985 Provides fault-injection capability to inject failures
1989 bool "Fault-injection capability for disk IO"
1992 Provide fault-injection capability for disk IO.
1995 bool "Fault-injection capability for faking disk interrupts"
1998 Provide fault-injection capability on end IO handling. This
2006 bool "Fault-injection capability for futexes"
2010 Provide fault-injection capability for futexes.
2013 bool "Debugfs entries for fault-injection capabilities"
2016 Enable configuration of fault-injection capabilities via debugfs.
2019 bool "Fault-injection capability for functions"
2022 Provide function-based fault-injection capability.
2025 an error value and have to handle it. This is useful to test the
2029 bool "Fault-injection capability for MMC IO"
2032 Provide fault-injection capability for MMC IO.
2034 useful to test the error handling in the mmc block device
2035 and to test how the mmc host driver handles retries from
2039 bool "Fault-injection capability for SunRPC"
2042 Provide fault-injection capability for SunRPC and
2046 bool "Configfs interface for fault-injection capabilities"
2050 This option allows configfs-based drivers to dynamically configure
2051 fault-injection via configfs. Each parameter for driver-specific
2052 fault-injection can be made visible as a configfs attribute in a
2057 bool "stacktrace filter for fault-injection capabilities"
2063 Provide stacktrace filter for fault-injection capabilities
2073 def_bool $(cc-option,-fsanitize-coverage=trace-pc)
2087 for coverage-guided fuzzing (randomized testing).
2093 For more details, see Documentation/dev-tools/kcov.rst.
2098 depends on $(cc-option,-fsanitize-coverage=trace-cmp)
2121 KCOV uses preallocated per-cpu areas to collect coverage from
2132 tristate "Dhrystone benchmark test"
2134 Enable this to include the Dhrystone 2.1 benchmark. This test
2141 the kernel command line (when built-in), or from userspace (when
2142 built-in or modular.
2160 If the number of iterations is <= 0, the test will devise a suitable
2161 number of iterations (test runs for at least 2s) automatically.
2167 tristate "Linux Kernel Dump Test Tool Module"
2177 Documentation/fault-injection/provoke-crashes.rst
2180 tristate "KUnit test for cpumask" if !KUNIT_ALL_TESTS
2187 to the KUnit documentation in Documentation/dev-tools/kunit/.
2192 tristate "Linked list sorting test" if !KUNIT_ALL_TESTS
2196 Enable this to turn on 'list_sort()' function test. This test is
2203 tristate "Min heap test"
2206 Enable this to turn on min heap function tests. This test is
2213 tristate "Array-based sort test" if !KUNIT_ALL_TESTS
2217 This option enables the self-test function of 'sort()' at boot,
2223 tristate "64bit/32bit division and modulo test"
2226 Enable this to turn on 'do_div()' function test. This test is
2233 tristate "Test iov_iter operation" if !KUNIT_ALL_TESTS
2239 (iov_iter). This test is executed only once during system boot (so
2259 bool "Self test for fprobe"
2271 tristate "Self test for the backtrace code"
2274 This option provides a kernel module that can be used to test
2279 Note that if you want to also test saved backtraces, you will
2285 tristate "Self test for reference tracker"
2295 tristate "Red-Black tree test"
2302 tristate "Reed-Solomon library test"
2308 This option enables the self-test function of rslib at boot,
2314 tristate "Interval tree test"
2321 tristate "Per cpu operations test"
2324 Enable this option to build test module which validates per-cpu
2330 tristate "Perform an atomic64_t self-test"
2332 Enable this option to test the atomic64_t functions at boot or
2338 tristate "Self test for hardware accelerated raid6 recovery"
2342 This is a one-shot self test that permutes through the
2344 N-disk array. Recovery is performed with the asynchronous
2351 tristate "Test functions located in the hexdump module at runtime"
2354 tristate "Test string functions at runtime"
2357 tristate "Test functions located in the string_helpers module at runtime"
2360 tristate "Test kstrto*() family of functions at runtime"
2363 tristate "Test printf() family of functions at runtime"
2366 tristate "Test scanf() family of functions at runtime"
2369 tristate "Test bitmap_*() family of functions at runtime"
2371 Enable this option to test the bitmap functions at boot.
2376 tristate "Test functions located in the uuid module at runtime"
2379 tristate "Test the XArray code at runtime"
2382 tristate "Test the Maple Tree code at runtime or module load"
2384 Enable this option to test the maple tree code functions at boot, or
2393 Enable this option to test the rhashtable functions at boot.
2404 Enable this option to test priority array manager on boot
2413 Enable this option to test the irq timings code on boot.
2418 tristate "Test module loading with 'hello world' module"
2431 tristate "Test module for compilation of bitops operations"
2437 no compiler warnings from C=1 sparse checker or -Wextra
2444 tristate "Test module for stress/performance analysis of vmalloc allocator"
2457 tristate "Test user/kernel boundary protections"
2462 user/kernel boundary testing is working. If it fails to load,
2469 tristate "Test BPF filter functionality"
2472 This builds the "test_bpf" module that runs various test vectors
2476 the interpreter code. It also enables test stubs for eBPF maps and
2482 tristate "Test blackhole netdev functionality"
2491 tristate "Test find_bit functions"
2499 tristate "Test firmware loading via userspace interface"
2504 control the triggering of firmware loading without needing an
2505 actual firmware-using device. The contents can be rechecked by
2511 tristate "sysctl test driver"
2514 This builds the "test_sysctl" module. This driver enables to test the
2515 proc sysctl interfaces available to drivers safely without affecting
2521 tristate "KUnit test bitfield functions at runtime" if !KUNIT_ALL_TESTS
2525 Enable this option to test the bitfield functions at boot.
2529 running the KUnit test harness, and not intended for inclusion into a
2533 to the KUnit documentation in Documentation/dev-tools/kunit/.
2538 tristate "KUnit test checksum functions at runtime" if !KUNIT_ALL_TESTS
2542 Enable this option to test the checksum functions at boot.
2546 running the KUnit test harness, and not intended for inclusion into a
2550 to the KUnit documentation in Documentation/dev-tools/kunit/.
2555 tristate "KUnit Test for integer hash functions" if !KUNIT_ALL_TESTS
2559 Enable this option to test the kernel's string (<linux/stringhash.h>), and
2564 running the KUnit test harness, and not intended for inclusion into a
2568 to the KUnit documentation in Documentation/dev-tools/kunit/.
2570 This is intended to help people writing architecture-specific
2574 tristate "KUnit test for resource API" if !KUNIT_ALL_TESTS
2578 This builds the resource API unit test.
2581 to the KUnit documentation in Documentation/dev-tools/kunit/.
2586 tristate "KUnit test for sysctl" if !KUNIT_ALL_TESTS
2590 This builds the proc sysctl unit test, which runs on boot.
2593 to the KUnit documentation in Documentation/dev-tools/kunit/.
2598 tristate "KUnit Test for Kernel Linked-list structures" if !KUNIT_ALL_TESTS
2602 This builds the linked list KUnit test suite.
2608 running the KUnit test harness, and not intended for inclusion into a
2612 to the KUnit documentation in Documentation/dev-tools/kunit/.
2617 tristate "KUnit Test for Kernel Hashtable structures" if !KUNIT_ALL_TESTS
2621 This builds the hashtable KUnit test suite.
2625 in Documentation/dev-tools/kunit/.
2630 tristate "KUnit test for linear_ranges"
2634 This builds the linear_ranges unit test, which runs on boot.
2637 to the KUnit documentation in Documentation/dev-tools/kunit/.
2642 tristate "KUnit test for cmdline API" if !KUNIT_ALL_TESTS
2646 This builds the cmdline API unit test.
2649 to the KUnit documentation in Documentation/dev-tools/kunit/.
2654 tristate "KUnit test for bits.h" if !KUNIT_ALL_TESTS
2658 This builds the bits unit test.
2661 to the KUnit documentation in Documentation/dev-tools/kunit/.
2666 tristate "KUnit test for SLUB cache error detection" if !KUNIT_ALL_TESTS
2670 This builds SLUB allocator unit test.
2673 to the KUnit documentation in Documentation/dev-tools/kunit/.
2678 tristate "KUnit test for rational.c" if !KUNIT_ALL_TESTS
2682 This builds the rational math unit test.
2684 to the KUnit documentation in Documentation/dev-tools/kunit/.
2689 tristate "Test memcpy(), memmove(), and memset() functions at runtime" if !KUNIT_ALL_TESTS
2695 to the KUnit documentation in Documentation/dev-tools/kunit/.
2708 Note this config option will be replaced by the use of KUnit test
2712 tristate "Test is_signed_type() macro" if !KUNIT_ALL_TESTS
2719 to the KUnit documentation in Documentation/dev-tools/kunit/.
2724 tristate "Test check_*_overflow() functions at runtime" if !KUNIT_ALL_TESTS
2732 to the KUnit documentation in Documentation/dev-tools/kunit/.
2737 tristate "Test level of stack variable initialization" if !KUNIT_ALL_TESTS
2741 Test if the kernel is zero-initializing stack variables and
2748 tristate "Test fortified str*() and mem*() function internals at runtime" if !KUNIT_ALL_TESTS
2757 bool "Test hw_breakpoint constraints accounting" if !KUNIT_ALL_TESTS
2767 tristate "Test strcat() family of functions at runtime" if !KUNIT_ALL_TESTS
2772 tristate "Test strscpy*() family of functions at runtime" if !KUNIT_ALL_TESTS
2781 Enable this option to test the kernel's siphash (<linux/siphash.h>) hash
2784 This is intended to help people writing architecture-specific
2788 tristate "udelay test driver"
2796 tristate "Test static keys"
2799 Test the static key interfaces.
2804 tristate "Test DYNAMIC_DEBUG"
2824 Test the kernel's module loading mechanism: kmod. kmod implements
2826 This test provides a series of tests against kmod.
2836 tools/testing/selftests/kmod/kmod.sh --help
2841 tristate "Test CONFIG_DEBUG_VIRTUAL feature"
2844 Test the kernel's ability to detect incorrect calls to
2845 virt_to_phys() done against the non-linear part of the
2851 tristate "Test memcat_p() helper function"
2853 Test the memcat_p() helper for correctly merging two
2859 tristate "Test livepatching"
2865 Test kernel livepatching features for correctness. The tests will
2866 load test modules that will be livepatched in various scenarios.
2870 make -C tools/testing/selftests TARGETS=livepatch run_tests
2874 tools/testing/selftests/livepatch/test-callbacks.sh
2875 tools/testing/selftests/livepatch/test-livepatch.sh
2876 tools/testing/selftests/livepatch/test-shadow-vars.sh
2885 Enable this option to test object aggregation manager on boot
2889 tristate "Test heap/page initialization"
2891 Test if the kernel is zero-initializing heap and page allocations.
2892 This can be useful to test init_on_alloc and init_on_free features.
2897 tristate "Test HMM (Heterogeneous Memory Management)"
2904 Say M here if you want to build the HMM test module.
2905 Doing so will allow you to run tools/testing/selftest/vm/hmm-tests.
2910 tristate "Test freeing pages"
2912 Test that a memory leak does not occur due to a race between
2919 tristate "Test floating point operations in kernel space"
2924 for self-testing floating point control register setting in
2930 tristate "Test clocksource watchdog in kernel space"
2934 a test of the clocksource watchdog. This module may be loaded
2955 memtest=0, mean disabled; -- default
2956 memtest=1, mean do 1 test pattern;
2958 memtest=17, mean do 17 test patterns.
2964 bool "Microsoft Hyper-V driver testing"
2968 Select this option to enable Hyper-V vmbus testing.
2978 Enables rustc's `-Cdebug-assertions` codegen option.
2994 Enables rustc's `-Coverflow-checks` codegen option.
2997 overflow. When overflow-checks are enabled, a Rust panic will occur
3005 bool "Allow unoptimized build-time assertions"
3016 the check fails).
3029 please refer to the KUnit documentation in Documentation/dev-tools/kunit/.