| /linux/Documentation/networking/ |
| H A D | udplite.rst | 37 IPPROTO need to be changed; senders additionally set the checksum coverage 58 using partial checksum coverage and so emulate UDP mode (full coverage). 60 To make use of the partial checksum coverage facilities requires setting a 61 single socket option, which takes an integer specifying the coverage length: 63 * Sender checksum coverage: UDPLITE_SEND_CSCOV 70 sets the checksum coverage length to 20 bytes (12b data + 8b header). 76 * Receiver checksum coverage: UDPLITE_RECV_CSCOV 79 required to enable traffic with partial checksum coverage. Its function is 81 all packets which have a coverage _less_ than this value. For example, if 83 packets with a minimum coverage of 20 are admitted:: [all …]
|
| /linux/Documentation/dev-tools/ |
| H A D | kcov.rst | 1 KCOV: code coverage for fuzzing 4 KCOV collects and exposes kernel code coverage information in a form suitable 5 for coverage-guided fuzzing. Coverage data of a running kernel is exported via 7 thus KCOV can capture precise coverage of a single system call. 9 Note that KCOV does not aim to collect as much coverage as possible. It aims 10 to collect more or less stable coverage that is a function of syscall inputs. 11 To achieve this goal, it does not collect coverage in soft/hard interrupts 12 (unless remove coverage collection is enabled, see below) and from some 15 Besides collecting code coverage, KCOV can also collect comparison operands. 18 Besides collecting coverage dat [all...] |
| H A D | gcov.rst | 4 gcov profiling kernel support enables the use of GCC's coverage testing 7 To get coverage data for a specific file, change to the kernel build 16 for the entire kernel and provide coverage overviews in HTML format. 37 and to get coverage data for the entire kernel:: 86 generate coverage reports. If left unset the report is omitted. 98 Global reset file: resets all coverage data to zero when 103 tool. Resets file coverage data to zero when written to. 108 option ``-ftest-coverage``. 116 coverage data for such code by keeping a copy of the data associated 118 Once the module is loaded again, the associated coverage counters are [all …]
|
| H A D | testing-overview.rst | 69 The Linux Kernel supports two different code coverage measurement tools. These 74 Documentation/dev-tools/gcov.rst is GCC's coverage testing tool, which can be 75 used with the kernel to get global or per-module coverage. Unlike KCOV, it 76 does not record per-task coverage. Coverage data can be read from debugfs, 80 kernel to allow capturing coverage on a per-task level. It's therefore useful
|
| /linux/arch/arm/probes/kprobes/ |
| H A D | test-core.c | 703 struct coverage_table coverage; variable 736 struct coverage_table *coverage = (struct coverage_table *)args; in coverage_start_fn() local 738 struct coverage_entry *entry = coverage->base + coverage->num_entries; in coverage_start_fn() 740 if (coverage->num_entries == MAX_COVERAGE_ENTRIES - 1) { in coverage_start_fn() 745 ++coverage->num_entries; in coverage_start_fn() 749 entry->nesting = coverage->nesting; in coverage_start_fn() 755 ++coverage->nesting; in coverage_start_fn() 756 ret = table_iter(d->table.table, coverage_start_fn, coverage); in coverage_start_fn() 757 --coverage->nesting; in coverage_start_fn() 766 coverage.base = kmalloc_objs(struct coverage_entry, in coverage_start() [all …]
|
| /linux/scripts/ |
| H A D | Makefile.kstack_erase | 12 kstack-erase-cflags-y += -fsanitize-coverage=stack-depth 13 kstack-erase-cflags-y += -fsanitize-coverage-stack-depth-callback-min=$(CONFIG_KSTACK_ERASE_TRACK_M… 14 DISABLE_KSTACK_ERASE := -fno-sanitize-coverage=stack-depth
|
| H A D | Makefile.kcov | 2 kcov-flags-y += -fsanitize-coverage=trace-pc 3 kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp 6 kcov-rflags-y += -Cllvm-args=-sanitizer-coverage-level=3 7 kcov-rflags-y += -Cllvm-args=-sanitizer-coverage-trace-pc 8 kcov-rflags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -Cllvm-args=-sanitizer-coverage-trace-compares
|
| /linux/tools/testing/selftests/net/rds/ |
| H A D | README.txt | 4 These scripts provide a coverage test for RDS-TCP and RDS-RDMA (over 14 configured to omit the coverage report as well.
|
| /linux/tools/perf/util/ |
| H A D | block-range.c | 173 .coverage = entry->coverage, in block_range__create() 211 .coverage = entry->coverage, in block_range__create() 301 * Compute coverage as: 303 * br->coverage / br->sym->max_coverage 308 * Returns [0-1] for coverage and -1 if we had no data what so ever or the 331 return (double)br->coverage / branch->max_coverage; in block_range__coverage()
|
| H A D | block-range.h | 32 u64 coverage; member
|
| /linux/Documentation/dev-tools/kunit/ |
| H A D | running_tips.rst | 100 Generating code coverage reports under UML 108 This is different from the "normal" way of getting coverage information that is 125 # Append coverage options to the current config 127 # Extract the coverage information from the build dir (.kunit/) 128 $ lcov -t "my_kunit_tests" -o coverage.info -c -d .kunit/ 132 $ genhtml -o /tmp/coverage_html coverage.info 140 $ lcov -t "my_kunit_tests" -o coverage.info -c -d .kunit/ --gcov-tool=/usr/bin/gcov-6 146 # Build with LLVM and append coverage options to the current config 149 $ llvm-cov export --format=lcov .kunit/vmlinux -instr-profile default.profdata > coverage.info 150 …# The coverage.info file is in lcov-compatible format and it can be used to e.g. generate HTML rep… [all …]
|
| /linux/tools/sched_ext/ |
| H A D | Kconfig | 29 # Enable extra scheduling features (for a better code coverage while testing 36 # Enable fully preemptible kernel for a better test coverage of the schedulers
|
| /linux/drivers/of/ |
| H A D | Kconfig | 17 compile-coverage. 89 can enable it manually to improve device tree unit test coverage. 114 enable it manually to improve device tree unit test coverage.
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | TODO | 2 - More coverage for ptrace:
|
| H A D | README | 61 to maximise test coverage. 96 maximise test coverage.
|
| /linux/arch/um/ |
| H A D | Makefile-skas | 11 export UM_GCOV_OPT += -fprofile-arcs -ftest-coverage
|
| H A D | Kconfig.debug | 22 This option allows developers to retrieve coverage data from a UML
|
| /linux/tools/testing/kunit/configs/ |
| H A D | coverage_uml.config | 1 # This config fragment enables coverage on UML, which is different from the
|
| /linux/drivers/scsi/lpfc/ |
| H A D | Makefile | 24 ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
|
| /linux/Documentation/features/debug/kcov/ |
| H A D | arch-support.txt | 4 # description: arch supports kcov for coverage-guided fuzzing
|
| /linux/Documentation/features/debug/gcov-profile-all/ |
| H A D | arch-support.txt | 4 # description: arch supports whole-kernel GCOV code coverage profiling
|
| /linux/tools/perf/tests/config-fragments/ |
| H A D | README | 2 defconfig to give full test coverage of a perf test run. This is only
|
| /linux/arch/um/scripts/ |
| H A D | Makefile.rules | 26 $(patsubst -pg,,$(patsubst -fprofile-arcs -ftest-coverage,,$(1)))
|
| /linux/drivers/net/usb/ |
| H A D | sierra_net.c | 125 u8 coverage; member 400 if (lsi->coverage == SIERRA_NET_COVERAGE_NONE || in sierra_net_parse_lsi() 401 lsi->coverage == SIERRA_NET_COVERAGE_NOPACKET) { in sierra_net_parse_lsi() 402 netdev_err(dev->net, "No coverage, 0x%02x\n", lsi->coverage); in sierra_net_parse_lsi()
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | s3c6410.dtsi | 12 * S3C6410 SoC. As device tree coverage for S3C6410 increases, additional
|