Searched refs:gcov (Results 1 – 19 of 19) sorted by relevance
3 :Original: Documentation/dev-tools/gcov.rst6 在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.c18 在获得这些统计文件后,可以使用图形化的gcov前端工具(比如 lcov_ ),来实现82 gcov功能需要在debugfs中创建如下文件:84 ``/sys/kernel/debug/gcov``85 gcov相关功能的根路径[all …]
73 Documentation/translations/zh_CN/dev-tools/gcov.rst 是GCC的覆盖率测试76 gcov工具进行解释。
26 gcov
3 :Original: Documentation/dev-tools/gcov.rst6 在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.c18 在獲得這些統計文件後,可以使用圖形化的gcov前端工具(比如 lcov_ ),來實現82 gcov功能需要在debugfs中創建如下文件:84 ``/sys/kernel/debug/gcov``85 gcov相關功能的根路徑[all …]
28 gcov
1 Using gcov with the Linux kernel4 gcov profiling kernel support enables the use of GCC's coverage testing6 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.c14 in the current directory. In addition, graphical gcov front-ends such92 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 …]
74 Documentation/dev-tools/gcov.rst is GCC's coverage testing tool, which can be77 and interpreted using the usual gcov tooling.
29 GCOV_CMD=gcov42 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 \
10 can be used to compile the kernel with the necessary gcov options. The28 # Create a suitable gcov enabled .config31 # Alternatly create a gcov disabled .config
17 bool "Enable gcov support"28 If you're involved in UML kernel development and want to use gcov,
5 bool "Enable gcov-based kernel profiling"11 This option enables gcov-based code profiling (e.g. for code coverage
2 # normal gcov used in other arches (no debugfs).
2 # Feature name: gcov-profile-all
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-6265 See Documentation/dev-tools/gcov.rst for details on how to do this.274 $ echo 0 > /sys/kernel/debug/gcov/reset
96 obj-$(CONFIG_GCOV_KERNEL) += gcov/
1275 $ ./create_gcov --binary=./sort --profile=inj --gcov=sort.gcov -gcov_version=11276 $ gcc-5 -O3 -fauto-profile=sort.gcov sort.c -o sort_autofdo
1733 source "kernel/gcov/Kconfig"
10150 F: Documentation/dev-tools/gcov.rst10151 F: kernel/gcov/