Lines Matching +full:message +full:- +full:handling +full:- +full:unit
1 # SPDX-License-Identifier: GPL-2.0-only
19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst
27 to every message.
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
86 Note: This does not affect what message level gets printed on the console
91 bool "Delay each boot printk message by N milliseconds"
118 enabled/disabled based on various levels of scope - per source file,
157 // enable the message at line 1603 of file svcsock.c
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.
211 menu "Compile-time checks and compiler options"
219 This adds debug symbols to the kernel and modules (gcc -g), and
242 depends on $(cc-option,-gz=zlib)
243 depends on $(ld-option,--compress-debug-sections=zlib)
248 Users of dpkg-deb via scripts/package/builddeb may find an increase in
257 depends on $(cc-option,-gsplit-dwarf)
302 5.0+ accepts the -gdwarf-5 flag but only had partial support for some
306 15-18% savings in resulting image and debug info section sizes as
325 def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "119")
340 instance. See Documentation/dev-tools/gdb-kernel-debugging.rst
358 bool "Strip assembler-generated symbols during link"
361 Strip internal assembler-generated symbols during a link (symbols
379 This option will install uapi headers (headers exported to user-space)
382 user-space program samples. It is also needed by some features such
400 - Add the option -fno-inline-functions-called-once to gcc commands.
401 When inlining a function annotated with __init in a non-init
408 bool "Make section mismatch errors non-fatal"
445 bool "Compile-time stack metadata validation"
449 Add compile-time checks to validate stack metadata, including frame
457 tools/objtool/Documentation/stack-validation.txt.
468 Selecting this option will pass "-Map=vmlinux.map" to ld
475 bool "Force weak per-cpu definitions"
504 keys are documented in <file:Documentation/admin-guide/sysrq.rst>.
514 to a bitmask as described in Documentation/admin-guide/sysrq.rst.
555 debugfs=[on,no-mount,off]. The restrictions apply for API access
574 Access is off. Clients get -PERM when trying to create nodes in
576 Client can then back-off or continue without debugfs access.
625 properly. This can make kmalloc/kfree-intensive workloads
659 int "debug_objects bootup default value (0-1)"
672 memory. This can make kmalloc/kfree-intensive workloads much slower.
685 "slub_debug=-".
698 Try running: slabinfo -DA
717 allocations. See Documentation/dev-tools/kmemleak.rst for more
774 task has ever had available in the sysrq-T and sysrq-P debug output.
800 Enable this to turn on extended checks in the virtual-memory system
810 can cause significant overhead, so only enable it in non-production
816 bool "Debug VM red-black trees"
819 Enable VM red-black tree debugging information and extra validations.
824 bool "Debug page-flags operations"
874 on the mminit_loglevel= command-line option.
884 debugfs interface under /sys/kernel/debug/notifier-error-inject/memory
889 Example: Inject memory hotplug offline error (-12 == -ENOMEM)
891 # cd /sys/kernel/debug/notifier-error-inject/memory
892 # echo -12 > actions/MEM_GOING_OFFLINE/error
897 be called memory-notifier-error-inject.
929 mechanism for non-highmem pages and on non-highmem systems.
953 These kinds of bugs usually occur when call-chains in the
1034 high-availability systems that have uptime guarantees and
1115 to determine when a task has become non-responsive and should
1136 high-availability systems that have uptime guarantees and
1155 warning message is printed along with dump of workqueue
1168 Also it could generate series of lockups with cooling-down periods.
1224 if kernel code uses it in a preemption-unsafe way. Also, the kernel
1261 participant CPUs, tasks and irq-contexts would be needed
1274 and rwsems - in which case all dependencies between these
1279 For more details, see Documentation/locking/lockdep-design.rst.
1282 bool "Enable raw_spinlock - spinlock nesting checks"
1328 bool "Spinlock and rw-lock debugging: basic checks"
1353 injecting additional -EDEADLK wound/backoff cases. Together with
1379 memory-freeing routines (kfree(), kmem_cache_free(), free_pages(),
1400 Try increasing this value if you hit "BUG: MAX_LOCKDEP_ENTRIES too low!" message.
1408 Try increasing this value if you hit "BUG: MAX_LOCKDEP_CHAINS too low!" message.
1416 Try increasing this value if you hit "BUG: MAX_STACK_TRACE_ENTRIES too low!" message.
1432 … Try increasing this value if you hit "lockdep bfs error:-1" warning due to __cq_enqueue() failure.
1455 bool "Locking API boot-time self-tests"
1458 Say Y here if you want the kernel to run a short self-test during
1459 bootup. The self-test checks whether common types of locking bugs
1474 Say Y here if you want kernel locking-primitive torture tests
1549 flaws don't go unnoticed, by enabling a message, should this ever
1605 Enable this to turn on extended checks in the linked-list
1614 Enable this to turn on extended checks in the priority-ordered
1615 linked-list (plist) walking routines. This checks the entire
1624 Enable this to turn on checks on scatter-gather tables. This can
1670 bool "Force round-robin CPU selection for unbound work items"
1679 round-robin CPU selection to flush out usages which depend on the
1738 in charge of the OHCI-1394 controllers should be used instead.
1740 See Documentation/core-api/debugging-via-ohci1394.rst for more information.
1772 io-memory regardless of whether a driver is actively using that
1777 userspace access to *idle* io-memory ranges (see /proc/iomem) This
1800 handling of notifier call chain failures.
1811 interface /sys/kernel/debug/notifier-error-inject/pm
1816 Example: Inject PM suspend error (-12 = -ENOMEM)
1818 # cd /sys/kernel/debug/notifier-error-inject/pm/
1819 # echo -12 > actions/PM_SUSPEND_PREPARE/error
1824 be called pm-notifier-error-inject.
1835 /sys/kernel/debug/notifier-error-inject/OF-reconfig/
1841 be called of-reconfig-notifier-error-inject.
1851 interface /sys/kernel/debug/notifier-error-inject/netdev
1856 Example: Inject netdevice mtu change error (-22 = -EINVAL)
1858 # cd /sys/kernel/debug/notifier-error-inject/netdev
1859 # echo -22 > actions/NETDEV_CHANGEMTU/error
1864 be called netdev-notifier-error-inject.
1873 bool "Fault-injection framework"
1876 Provide fault-injection framework.
1877 For more details, see Documentation/fault-injection/.
1880 bool "Fault-injection capability for kmalloc"
1884 Provide fault-injection capability for kmalloc.
1887 bool "Fault-injection capability for alloc_pages()"
1890 Provide fault-injection capability for alloc_pages().
1896 Provides fault-injection capability to inject failures
1900 bool "Fault-injection capability for disk IO"
1903 Provide fault-injection capability for disk IO.
1906 bool "Fault-injection capability for faking disk interrupts"
1909 Provide fault-injection capability on end IO handling. This
1911 thus exercising the error handling.
1913 Only works with drivers that use the generic timeout handling,
1917 bool "Fault-injection capability for futexes"
1921 Provide fault-injection capability for futexes.
1924 bool "Debugfs entries for fault-injection capabilities"
1927 Enable configuration of fault-injection capabilities via debugfs.
1930 bool "Fault-injection capability for functions"
1933 Provide function-based fault-injection capability.
1937 error handling in various subsystems.
1940 bool "Fault-injection capability for MMC IO"
1943 Provide fault-injection capability for MMC IO.
1945 useful to test the error handling in the mmc block device
1950 bool "Fault-injection capability for SunRPC"
1953 Provide fault-injection capability for SunRPC and
1957 bool "stacktrace filter for fault-injection capabilities"
1963 Provide stacktrace filter for fault-injection capabilities
1973 def_bool $(cc-option,-fsanitize-coverage=trace-pc)
1984 for coverage-guided fuzzing (randomized testing).
1990 For more details, see Documentation/dev-tools/kcov.rst.
1995 depends on $(cc-option,-fsanitize-coverage=trace-cmp)
2018 KCOV uses preallocated per-cpu areas to collect coverage from
2039 Documentation/fault-injection/provoke-crashes.rst
2063 tristate "Array-based sort test" if !KUNIT_ALL_TESTS
2067 This option enables the self-test function of 'sort()' at boot,
2108 tristate "Red-Black tree test"
2115 tristate "Reed-Solomon library test"
2121 This option enables the self-test function of rslib at boot,
2137 Enable this option to build test module which validates per-cpu
2143 tristate "Perform an atomic64_t self-test"
2155 This is a one-shot self test that permutes through the
2157 N-disk array. Recovery is performed with the asynchronous
2214 This is intended to help people writing architecture-specific
2257 no compiler warnings from C=1 sparse checker or -Wextra
2325 actual firmware-using device. The contents can be rechecked by
2351 For more information on KUnit and unit tests in general please refer
2352 to the KUnit documentation in Documentation/dev-tools/kunit/.
2360 This builds the resource API unit test.
2362 For more information on KUnit and unit tests in general please refer
2363 to the KUnit documentation in Documentation/dev-tools/kunit/.
2372 This builds the proc sysctl unit test, which runs on boot.
2374 For more information on KUnit and unit tests in general please refer
2375 to the KUnit documentation in Documentation/dev-tools/kunit/.
2380 tristate "KUnit Test for Kernel Linked-list structures" if !KUNIT_ALL_TESTS
2393 For more information on KUnit and unit tests in general please refer
2394 to the KUnit documentation in Documentation/dev-tools/kunit/.
2403 This builds the linear_ranges unit test, which runs on boot.
2405 For more information on KUnit and unit tests in general please refer
2406 to the KUnit documentation in Documentation/dev-tools/kunit/.
2414 This builds the cmdline API unit test.
2416 For more information on KUnit and unit tests in general please refer
2417 to the KUnit documentation in Documentation/dev-tools/kunit/.
2425 This builds the bits unit test.
2427 For more information on KUnit and unit tests in general please refer
2428 to the KUnit documentation in Documentation/dev-tools/kunit/.
2437 This builds SLUB allocator unit test.
2439 For more information on KUnit and unit tests in general please refer
2440 to the KUnit documentation in Documentation/dev-tools/kunit/.
2449 This builds the rational math unit test.
2450 For more information on KUnit and unit tests in general please refer
2451 to the KUnit documentation in Documentation/dev-tools/kunit/.
2493 tools/testing/selftests/kmod/kmod.sh --help
2502 virt_to_phys() done against the non-linear part of the
2527 make -C tools/testing/selftests TARGETS=livepatch run_tests
2531 tools/testing/selftests/livepatch/test-callbacks.sh
2532 tools/testing/selftests/livepatch/test-livepatch.sh
2533 tools/testing/selftests/livepatch/test-shadow-vars.sh
2549 Test if the kernel is zero-initializing stack variables and
2559 Test if the kernel is zero-initializing heap and page allocations.
2573 Doing so will allow you to run tools/testing/selftest/vm/hmm-tests.
2592 for self-testing floating point control register setting in
2623 memtest=0, mean disabled; -- default
2632 bool "Microsoft Hyper-V driver testing"
2636 Select this option to enable Hyper-V vmbus testing.