/openbmc/linux/Documentation/translations/zh_CN/dev-tools/ |
H A D | gcov.rst | 3 :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 D | testing-overview.rst | 73 Documentation/translations/zh_CN/dev-tools/gcov.rst 是GCC的覆盖率测试 76 gcov工具进行解释。
|
H A D | index.rst | 26 gcov
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | gcov.rst | 1 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 81 The gcov kernel support creates the following files in debugfs: 83 ``/sys/kernel/debug/gcov`` 84 Parent directory for all gcov-related files. 86 ``/sys/kernel/debug/gcov/reset`` [all …]
|
H A D | index.rst | 25 gcov
|
H A D | testing-overview.rst | 74 Documentation/dev-tools/gcov.rst is GCC's coverage testing tool, which can be 77 and interpreted using the usual gcov tooling.
|
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/ |
H A D | gcc-target.inc | 37 gcov gcov-symlinks \ 106 FILES:gcov = "${bindir}/${TARGET_PREFIX}gcov* \ 107 ${bindir}/${TARGET_PREFIX}gcov-tool* \ 109 FILES:gcov-symlinks = "${bindir}/gcov \ 110 ${bindir}/gcov-tool \ 187 ln -sf ${TARGET_PREFIX}gcov gcov 188 ln -sf ${TARGET_PREFIX}gcov-tool gcov-tool
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/lcov/ |
H A D | lcov_1.16.bb | 1 SUMMARY = "A graphical front-end for gcov" 4 tool gcov. It collects gcov data for multiple source files and creates \ 50 gcov \ 51 gcov-symlinks \
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test/ |
H A D | 0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch | 24 # Merge gcov graph from several test cases. This can be used to check 53 - print 'Usage: %s <gcov graph files>' % (sys.argv[0]) 54 + print('Usage: %s <gcov graph files>' % (sys.argv[0]))
|
/openbmc/linux/arch/um/ |
H A D | Kconfig.debug | 17 bool "Enable gcov support" 28 If you're involved in UML kernel development and want to use gcov,
|
/openbmc/linux/kernel/gcov/ |
H A D | Kconfig | 5 bool "Enable gcov-based kernel profiling" 11 This option enables gcov-based code profiling (e.g. for code coverage
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/ |
H A D | 0001-configure-Check-for-function-from-respective-library.patch | 25 - AC_CHECK_LIB(gcov,main) 27 + AC_CHECK_LIB(gcov,gcov_write_summary)
|
/openbmc/qemu/ |
H A D | .gitignore | 22 *.gcov
|
/openbmc/linux/Documentation/translations/zh_TW/dev-tools/ |
H A D | index.rst | 38 - gcov
|
/openbmc/linux/tools/testing/kunit/configs/ |
H A D | coverage_uml.config | 2 # normal gcov used in other arches (no debugfs).
|
/openbmc/linux/Documentation/features/debug/gcov-profile-all/ |
H A D | arch-support.txt | 2 # Feature name: gcov-profile-all
|
/openbmc/openbmc/meta-arm/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/ |
H A D | external-arm-sdk-toolchain.bb | 50 ${bindir}/${TARGET_PREFIX}gcov \ 119 for i in gcov gcc* g++ cpp; do
|
/openbmc/linux/Documentation/dev-tools/kunit/ |
H A D | running_tips.rst | 109 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 254 See Documentation/dev-tools/gcov.rst for details on how to do this. 263 $ echo 0 > /sys/kernel/debug/gcov/reset
|
/openbmc/linux/Documentation/ |
H A D | dontdiff | 16 *.gcov
|
/openbmc/linux/kernel/ |
H A D | Makefile | 87 obj-$(CONFIG_GCOV_KERNEL) += gcov/
|
/openbmc/qemu/scripts/ |
H A D | meson-buildoptions.sh | 249 --enable-gcov) printf "%s" -Db_coverage=true ;; 250 --disable-gcov) printf "%s" -Db_coverage=false ;;
|
/openbmc/qemu/docs/devel/testing/ |
H A D | main.rst | 1001 GCC gcov support 1004 ``gcov`` is a GCC tool to analyze the testing coverage by 1006 ``--enable-gcov`` option and build. Then run the tests as usual. 1016 Further analysis can be conducted by running the ``gcov`` command 1017 directly on the various .gcda output files. Please read the ``gcov``
|
/openbmc/linux/Documentation/trace/coresight/ |
H A D | coresight.rst | 582 $ create_gcov --binary=./sort --profile=inj.data --gcov=sort.gcov -gcov_version=1 583 $ gcc-5 -O3 -fauto-profile=sort.gcov sort.c -o sort_autofdo
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-intel-pt.txt | 1217 $ ./create_gcov --binary=./sort --profile=inj --gcov=sort.gcov -gcov_version=1 1218 $ gcc-5 -O3 -fauto-profile=sort.gcov sort.c -o sort_autofdo
|
/openbmc/linux/arch/ |
H A D | Kconfig | 1491 source "kernel/gcov/Kconfig"
|