Home
last modified time | relevance | path

Searched refs:gcov (Results 1 – 19 of 19) sorted by relevance

/linux/Documentation/translations/zh_CN/dev-tools/
H A Dgcov.rst3 :Original: Documentation/dev-tools/gcov.rst
6 在Linux内核里使用gcov做代码覆盖率检查
9 gcov分析核心支持在Linux内核中启用GCC的覆盖率测试工具 gcov_ ,Linux内核
10 运行时的代码覆盖率数据会以gcov兼容的格式导出到“gcov”debugfs目录中,可
11 以通过gcov的 ``-o`` 选项(如下示例)获得指定文件的代码运行覆盖率统计数据
15 # gcov -o /sys/kernel/debug/gcov/tmp/linux-out/kernel spinlock.c
18 在获得这些统计文件后,可以使用图形化的gcov前端工具(比如 lcov_ ),来实现
82 gcov功能需要在debugfs中创建如下文件:
84 ``/sys/kernel/debug/gcov``
85 gcov相关功能的根路径
[all …]
H A Dtesting-overview.rst73 Documentation/translations/zh_CN/dev-tools/gcov.rst 是GCC的覆盖率测试
76 gcov工具进行解释。
H A Dindex.rst26 gcov
/linux/Documentation/translations/zh_TW/dev-tools/
H A Dgcov.rst3 :Original: Documentation/dev-tools/gcov.rst
6 在Linux內核裏使用gcov做代碼覆蓋率檢查
9 gcov分析核心支持在Linux內核中啓用GCC的覆蓋率測試工具 gcov_ ,Linux內核
10 運行時的代碼覆蓋率數據會以gcov兼容的格式導出到“gcov”debugfs目錄中,可
11 以通過gcov的 ``-o`` 選項(如下示例)獲得指定文件的代碼運行覆蓋率統計數據
15 # gcov -o /sys/kernel/debug/gcov/tmp/linux-out/kernel spinlock.c
18 在獲得這些統計文件後,可以使用圖形化的gcov前端工具(比如 lcov_ ),來實現
82 gcov功能需要在debugfs中創建如下文件:
84 ``/sys/kernel/debug/gcov``
85 gcov相關功能的根路徑
[all …]
H A Dindex.rst28 gcov
/linux/Documentation/dev-tools/
H A Dgcov.rst1 Using gcov with the Linux kernel
4 gcov profiling kernel support enables the use of GCC's coverage testing
6 is exported in gcov-compatible format via the "gcov" debugfs directory.
8 directory and use gcov with the ``-o`` option as follows (requires root)::
11 # gcov -o /sys/kernel/debug/gcov/tmp/linux-out/kernel spinlock.c
14 in the current directory. In addition, graphical gcov front-ends such
92 The gcov kernel support creates the following files in debugfs:
94 ``/sys/kernel/debug/gcov``
95 Parent directory for all gcov-related files.
97 ``/sys/kernel/debug/gcov/reset``
[all …]
H A Dindex.rst26 gcov
H A Dtesting-overview.rst74 Documentation/dev-tools/gcov.rst is GCC's coverage testing tool, which can be
77 and interpreted using the usual gcov tooling.
/linux/tools/testing/selftests/net/rds/
H A Drun.sh29 GCOV_CMD=gcov
42 GCOV_VER=$($GCOV_CMD -v | grep gcov | awk '{print $3}'| awk 'BEGIN {FS="-"}{print $1}')
45 GCOV_CMD=gcov-$(gcc -dumpversion)
55 GCOV_VER=$($GCOV_CMD -v | grep gcov | awk '{print $3}'| \
205 (set +x; cd /sys/kernel/debug/gcov; find ./* -name '*.gcda' | \
212 gcovr -s --html-details --gcov-executable "$GCOV_CMD" --gcov-ignore-parse-errors \
H A DREADME.txt10 can be used to compile the kernel with the necessary gcov options. The
28 # Create a suitable gcov enabled .config
31 # Alternatly create a gcov disabled .config
/linux/arch/um/
H A DKconfig.debug17 bool "Enable gcov support"
28 If you're involved in UML kernel development and want to use gcov,
/linux/kernel/gcov/
H A DKconfig5 bool "Enable gcov-based kernel profiling"
11 This option enables gcov-based code profiling (e.g. for code coverage
/linux/tools/testing/kunit/configs/
H A Dcoverage_uml.config2 # normal gcov used in other arches (no debugfs).
/linux/Documentation/features/debug/gcov-profile-all/
H A Darch-support.txt2 # Feature name: gcov-profile-all
/linux/Documentation/dev-tools/kunit/
H A Drunning_tips.rst109 documented in Documentation/dev-tools/gcov.rst.
140 $ lcov -t "my_kunit_tests" -o coverage.info -c -d .kunit/ --gcov-tool=/usr/bin/gcov-6
265 See Documentation/dev-tools/gcov.rst for details on how to do this.
274 $ echo 0 > /sys/kernel/debug/gcov/reset
/linux/kernel/
H A DMakefile96 obj-$(CONFIG_GCOV_KERNEL) += gcov/
/linux/tools/perf/Documentation/
H A Dperf-intel-pt.txt1275 $ ./create_gcov --binary=./sort --profile=inj --gcov=sort.gcov -gcov_version=1
1276 $ gcc-5 -O3 -fauto-profile=sort.gcov sort.c -o sort_autofdo
/linux/arch/
H A DKconfig1733 source "kernel/gcov/Kconfig"
/linux/
H A DMAINTAINERS10150 F: Documentation/dev-tools/gcov.rst
10151 F: kernel/gcov/