Home
last modified time | relevance | path

Searched refs:coverage (Results 1 – 25 of 89) sorted by relevance

1234

/linux/Documentation/dev-tools/
H A Dkcov.rst1 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 Dgcov.rst4 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 counter
[all...]
H A Dtesting-devices.rst10 with some overlap in coverage and different requirements. This document aims to
45 improve coverage, generate the reference for each platform and enable the exist
/linux/Documentation/networking/
H A Dudplite.rst37 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
[all...]
/linux/scripts/
H A DMakefile.kcov2 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
H A DMakefile.kstack_erase12 kstack-erase-cflags-y += -fsanitize-coverage=stack-depth
13 kstack-erase-cflags-y += -fsanitize-coverage-stack-depth-callback-min=$(CONFIG_KSTACK_ERASE_TRACK_MIN_SIZE)
14 DISABLE_KSTACK_ERASE := -fno-sanitize-coverage=stack-depth
/linux/arch/arm/probes/kprobes/
H A Dtest-core.c670 * Decoding table test coverage analysis
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()
741 pr_err("FAIL: Out of space for test coverage data"); in coverage_start_fn()
745 ++coverage->num_entries; in coverage_start_fn()
749 entry->nesting = coverage->nesting; in coverage_start_fn()
755 ++coverage in coverage_start_fn()
[all...]
/linux/tools/testing/selftests/net/rds/
H A DREADME.txt4 These scripts provide a coverage test for RDS-TCP by creating two
11 kernel may optionally be configured to omit the coverage report as well.
41 An HTML coverage report will be output in tools/testing/selftests/net/rds/rds_logs/coverage/.
/linux/tools/perf/util/
H A Dblock-range.c173 .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()
/linux/drivers/gpu/drm/ci/xfails/
H A Dmsm-sc7180-trogdor-lazor-limozeen-fails.txt16 kms_plane_alpha_blend@coverage-7efc,Fail
17 kms_plane_alpha_blend@coverage-vs-premult-vs-constant,Fail
H A Dmsm-sc7180-trogdor-kingoftown-fails.txt16 kms_plane_alpha_blend@coverage-7efc,Fail
17 kms_plane_alpha_blend@coverage-vs-premult-vs-constant,Fail
H A Dmsm-apq8016-skips.txt15 # Currently fails and causes coverage loss for other tests
H A Dmeson-g12b-skips.txt16 # Currently fails and causes coverage loss for other tests
H A Drockchip-rk3288-skips.txt19 # Currently fails and causes coverage loss for other tests
H A Dpanfrost-mt8183-skips.txt22 # Currently fails and causes coverage loss for other tests
H A Dpanfrost-g12b-skips.txt22 # Currently fails and causes coverage loss for other tests
/linux/Documentation/dev-tools/kunit/
H A Drunning_tips.rst100 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
[all...]
/linux/Documentation/translations/zh_CN/dev-tools/
H A Dgcov.rst29 .. _lcov: http://ltp.sourceforge.net/coverage/lcov.php
96 在gcc编译时如果配置了选项 ``-ftest-coverage`` 时生成的。
160 /tmp/coverage: 从测试机器上面拷贝的数据文件路径
163 [user@build] gcov -o /tmp/coverage/tmp/out/init main.c
/linux/Documentation/translations/zh_TW/dev-tools/
H A Dgcov.rst29 .. _lcov: http://ltp.sourceforge.net/coverage/lcov.php
96 在gcc編譯時如果配置了選項 ``-ftest-coverage`` 時生成的。
160 /tmp/coverage: 從測試機器上面拷貝的數據文件路徑
163 [user@build] gcov -o /tmp/coverage/tmp/out/init main.c
/linux/arch/x86/um/vdso/
H A DMakefile50 CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage
51 CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage
/linux/Documentation/admin-guide/perf/
H A Dnvidia-pmu.rst34 traffic coverage.
66 the PMU traffic coverage.
112 the PMU traffic coverage.
157 for more info about the PMU traffic coverage.
198 for more info about the PMU traffic coverage.
225 The PMU traffic coverage may vary dependent on the chip configuration:
256 | Following table contains traffic coverage of Grace SoC PMU in socket-A:
313 | Following table contains traffic coverage of Grace SoC PMU in socket-A:
/linux/tools/testing/selftests/arm64/fp/
H A DTODO2 - More coverage for ptrace:
/linux/tools/testing/kunit/configs/
H A Dcoverage_uml.config1 # This config fragment enables coverage on UML, which is different from the
/linux/drivers/scsi/lpfc/
H A DMakefile24 ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
/linux/Documentation/features/debug/kcov/
H A Darch-support.txt4 # description: arch supports kcov for coverage-guided fuzzing

1234