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.
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
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
317 depends on $(cc-option,-gz=zlib)
318 depends on $(ld-option,--compress-debug-sections=zlib)
323 Users of dpkg-deb via scripts/package/builddeb may find an increase in
332 depends on $(cc-option,-gsplit-dwarf)
374 bool "Allow loading modules with non-matching BTF type info"
390 instance. See Documentation/dev-tools/gdb-kernel-debugging.rst
411 bool "Strip assembler-generated symbols during link"
414 Strip internal assembler-generated symbols during a link (symbols
432 This option will install uapi headers (headers exported to user-space)
435 user-space program samples. It is also needed by some features such
453 - Add the option -fno-inline-functions-called-once to gcc commands.
454 When inlining a function annotated with __init in a non-init
461 bool "Make section mismatch errors non-fatal"
502 bool "Compile-time stack metadata validation"
507 Validate frame pointer rules at compile-time. This helps ensure that
523 Selecting this option will pass "-Map=vmlinux.map" to ld
530 bool "Force weak per-cpu definitions"
559 keys are documented in <file:Documentation/admin-guide/sysrq.rst>.
569 to a bitmask as described in Documentation/admin-guide/sysrq.rst.
610 debugfs=[on,no-mount,off]. The restrictions apply for API access
629 Access is off. Clients get -PERM when trying to create nodes in
631 Client can then back-off or continue without debugfs access.
671 properly. This can make kmalloc/kfree-intensive workloads
705 int "debug_objects bootup default value (0-1)"
737 allocations. See Documentation/dev-tools/kmemleak.rst for more
794 task has ever had available in the sysrq-T and sysrq-P debug output.
823 Enable this to turn on extended checks in the virtual-memory system
838 bool "Debug VM red-black trees"
841 Enable VM red-black tree debugging information and extra validations.
846 bool "Debug page-flags operations"
896 on the mminit_loglevel= command-line option.
906 debugfs interface under /sys/kernel/debug/notifier-error-inject/memory
911 Example: Inject memory hotplug offline error (-12 == -ENOMEM)
913 # cd /sys/kernel/debug/notifier-error-inject/memory
914 # echo -12 > actions/MEM_GOING_OFFLINE/error
919 be called memory-notifier-error-inject.
951 mechanism for non-highmem pages and on non-highmem systems.
975 These kinds of bugs usually occur when call-chains in the
1057 high-availability systems that have uptime guarantees and
1124 to determine when a task has become non-responsive and should
1145 high-availability systems that have uptime guarantees and
1157 warning message is printed along with dump of workqueue
1170 Also it could generate series of lockups with cooling-down periods.
1226 if kernel code uses it in a preemption-unsafe way. Also, the kernel
1263 participant CPUs, tasks and irq-contexts would be needed
1276 and rwsems - in which case all dependencies between these
1281 For more details, see Documentation/locking/lockdep-design.rst.
1284 bool "Enable raw_spinlock - spinlock nesting checks"
1330 bool "Spinlock and rw-lock debugging: basic checks"
1355 injecting additional -EDEADLK wound/backoff cases. Together with
1381 memory-freeing routines (kfree(), kmem_cache_free(), free_pages(),
1402 Try increasing this value if you hit "BUG: MAX_LOCKDEP_ENTRIES too low!" message.
1410 Try increasing this value if you hit "BUG: MAX_LOCKDEP_CHAINS too low!" message.
1418 Try increasing this value if you hit "BUG: MAX_STACK_TRACE_ENTRIES too low!" message.
1434 … Try increasing this value if you hit "lockdep bfs error:-1" warning due to __cq_enqueue() failure.
1457 bool "Locking API boot-time self-tests"
1460 Say Y here if you want the kernel to run a short self-test during
1461 bootup. The self-test checks whether common types of locking bugs
1476 Say Y here if you want kernel locking-primitive torture tests
1551 flaws don't go unnoticed, by enabling a message, should this ever
1606 Enable this to turn on extended checks in the linked-list
1615 Enable this to turn on extended checks in the priority-ordered
1616 linked-list (plist) walking routines. This checks the entire
1625 Enable this to turn on checks on scatter-gather tables. This can
1679 bool "Force round-robin CPU selection for unbound work items"
1688 round-robin CPU selection to flush out usages which depend on the
1747 in charge of the OHCI-1394 controllers should be used instead.
1749 See Documentation/core-api/debugging-via-ohci1394.rst for more information.
1781 io-memory regardless of whether a driver is actively using that
1786 userspace access to *idle* io-memory ranges (see /proc/iomem) This
1809 handling of notifier call chain failures.
1820 interface /sys/kernel/debug/notifier-error-inject/pm
1825 Example: Inject PM suspend error (-12 = -ENOMEM)
1827 # cd /sys/kernel/debug/notifier-error-inject/pm/
1828 # echo -12 > actions/PM_SUSPEND_PREPARE/error
1833 be called pm-notifier-error-inject.
1844 /sys/kernel/debug/notifier-error-inject/OF-reconfig/
1850 be called of-reconfig-notifier-error-inject.
1860 interface /sys/kernel/debug/notifier-error-inject/netdev
1865 Example: Inject netdevice mtu change error (-22 = -EINVAL)
1867 # cd /sys/kernel/debug/notifier-error-inject/netdev
1868 # echo -22 > actions/NETDEV_CHANGEMTU/error
1873 be called netdev-notifier-error-inject.
1878 bool "Fault-injections of functions"
1888 bool "Fault-injection framework"
1891 Provide fault-injection framework.
1892 For more details, see Documentation/fault-injection/.
1895 bool "Fault-injection capability for kmalloc"
1899 Provide fault-injection capability for kmalloc.
1902 bool "Fault-injection capability for alloc_pages()"
1905 Provide fault-injection capability for alloc_pages().
1911 Provides fault-injection capability to inject failures
1915 bool "Fault-injection capability for disk IO"
1918 Provide fault-injection capability for disk IO.
1921 bool "Fault-injection capability for faking disk interrupts"
1924 Provide fault-injection capability on end IO handling. This
1926 thus exercising the error handling.
1928 Only works with drivers that use the generic timeout handling,
1932 bool "Fault-injection capability for futexes"
1936 Provide fault-injection capability for futexes.
1939 bool "Debugfs entries for fault-injection capabilities"
1942 Enable configuration of fault-injection capabilities via debugfs.
1945 bool "Fault-injection capability for functions"
1948 Provide function-based fault-injection capability.
1952 error handling in various subsystems.
1955 bool "Fault-injection capability for MMC IO"
1958 Provide fault-injection capability for MMC IO.
1960 useful to test the error handling in the mmc block device
1965 bool "Fault-injection capability for SunRPC"
1968 Provide fault-injection capability for SunRPC and
1972 bool "stacktrace filter for fault-injection capabilities"
1978 Provide stacktrace filter for fault-injection capabilities
1988 def_bool $(cc-option,-fsanitize-coverage=trace-pc)
2002 for coverage-guided fuzzing (randomized testing).
2008 For more details, see Documentation/dev-tools/kcov.rst.
2013 depends on $(cc-option,-fsanitize-coverage=trace-cmp)
2036 KCOV uses preallocated per-cpu areas to collect coverage from
2057 Documentation/fault-injection/provoke-crashes.rst
2066 For more information on KUnit and unit tests in general, please refer
2067 to the KUnit documentation in Documentation/dev-tools/kunit/.
2093 tristate "Array-based sort test" if !KUNIT_ALL_TESTS
2097 This option enables the self-test function of 'sort()' at boot,
2163 tristate "Red-Black tree test"
2170 tristate "Reed-Solomon library test"
2176 This option enables the self-test function of rslib at boot,
2192 Enable this option to build test module which validates per-cpu
2198 tristate "Perform an atomic64_t self-test"
2210 This is a one-shot self test that permutes through the
2212 N-disk array. Recovery is performed with the asynchronous
2269 This is intended to help people writing architecture-specific
2312 no compiler warnings from C=1 sparse checker or -Wextra
2380 actual firmware-using device. The contents can be rechecked by
2407 For more information on KUnit and unit tests in general please refer
2408 to the KUnit documentation in Documentation/dev-tools/kunit/.
2425 For more information on KUnit and unit tests in general please refer
2426 to the KUnit documentation in Documentation/dev-tools/kunit/.
2428 This is intended to help people writing architecture-specific
2436 This builds the resource API unit test.
2438 For more information on KUnit and unit tests in general please refer
2439 to the KUnit documentation in Documentation/dev-tools/kunit/.
2448 This builds the proc sysctl unit test, which runs on boot.
2450 For more information on KUnit and unit tests in general please refer
2451 to the KUnit documentation in Documentation/dev-tools/kunit/.
2456 tristate "KUnit Test for Kernel Linked-list structures" if !KUNIT_ALL_TESTS
2469 For more information on KUnit and unit tests in general please refer
2470 to the KUnit documentation in Documentation/dev-tools/kunit/.
2479 This builds the linear_ranges unit test, which runs on boot.
2481 For more information on KUnit and unit tests in general please refer
2482 to the KUnit documentation in Documentation/dev-tools/kunit/.
2491 This builds the cmdline API unit test.
2493 For more information on KUnit and unit tests in general please refer
2494 to the KUnit documentation in Documentation/dev-tools/kunit/.
2503 This builds the bits unit test.
2505 For more information on KUnit and unit tests in general please refer
2506 to the KUnit documentation in Documentation/dev-tools/kunit/.
2515 This builds SLUB allocator unit test.
2517 For more information on KUnit and unit tests in general please refer
2518 to the KUnit documentation in Documentation/dev-tools/kunit/.
2527 This builds the rational math unit test.
2528 For more information on KUnit and unit tests in general please refer
2529 to the KUnit documentation in Documentation/dev-tools/kunit/.
2538 Builds unit tests for memcpy(), memmove(), and memset() functions.
2539 For more information on KUnit and unit tests in general please refer
2540 to the KUnit documentation in Documentation/dev-tools/kunit/.
2549 Builds unit tests for the is_signed_type() macro.
2551 For more information on KUnit and unit tests in general please refer
2552 to the KUnit documentation in Documentation/dev-tools/kunit/.
2561 Builds unit tests for the check_*_overflow(), size_*(), allocation, and
2564 For more information on KUnit and unit tests in general please refer
2565 to the KUnit documentation in Documentation/dev-tools/kunit/.
2574 Test if the kernel is zero-initializing stack variables and
2585 Builds unit tests for checking internals of FORTIFY_SOURCE as used
2648 tools/testing/selftests/kmod/kmod.sh --help
2657 virt_to_phys() done against the non-linear part of the
2682 make -C tools/testing/selftests TARGETS=livepatch run_tests
2686 tools/testing/selftests/livepatch/test-callbacks.sh
2687 tools/testing/selftests/livepatch/test-livepatch.sh
2688 tools/testing/selftests/livepatch/test-shadow-vars.sh
2703 Test if the kernel is zero-initializing heap and page allocations.
2717 Doing so will allow you to run tools/testing/selftest/vm/hmm-tests.
2736 for self-testing floating point control register setting in
2767 memtest=0, mean disabled; -- default
2776 bool "Microsoft Hyper-V driver testing"
2780 Select this option to enable Hyper-V vmbus testing.
2790 Enables rustc's `-Cdebug-assertions` codegen option.
2806 Enables rustc's `-Coverflow-checks` codegen option.
2809 overflow. When overflow-checks are enabled, a Rust panic will occur