Home
last modified time | relevance | path

Searched full:gcov (Results 1 – 25 of 67) sorted by relevance

123

/openbmc/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
25 .. _gcov: https://gcc.gnu.org/onlinedocs/gcc/Gcov.html
81 The gcov kernel support creates the following files in debugfs:
83 ``/sys/kernel/debug/gcov``
84 Parent directory for all gcov-related files.
[all …]
H A Dindex.rst25 gcov
/openbmc/linux/Documentation/translations/zh_CN/dev-tools/
H A Dgcov.rst3 :Original: Documentation/dev-tools/gcov.rst
10 运行时的代码覆盖率数据会以gcov兼容的格式导出到“gcov”debugfs目录中,可
15 # gcov -o /sys/kernel/debug/gcov/tmp/linux-out/kernel spinlock.c
28 .. _gcov: https://gcc.gnu.org/onlinedocs/gcc/Gcov.html
84 ``/sys/kernel/debug/gcov``
87 ``/sys/kernel/debug/gcov/reset``
90 ``/sys/kernel/debug/gcov/path/to/compile/dir/file.gcda``
94 ``/sys/kernel/debug/gcov/path/to/compile/dir/file.gcno``
163 [user@build] gcov -o /tmp/coverage/tmp/out/init main.c
173 .. _gcov: https://gcc.gnu.org/onlinedocs/gcc/Gcov.html
[all …]
H A Dindex.rst26 gcov
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/
H A Dgcc-target.inc37 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 Dlcov_1.16.bb1 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/linux/kernel/gcov/
H A Dbase.c9 * Based on the gcov-kernel patch by:
17 #define pr_fmt(fmt) "gcov: " fmt
23 #include "gcov.h"
53 * store_gcov_u32 - store 32 bit number in gcov format to buffer
76 * store_gcov_u64 - store 64 bit number in gcov format to buffer
H A Dfs.c9 * Based on the gcov-kernel patch by:
18 #define pr_fmt(fmt) "gcov: " fmt
30 #include "gcov.h"
47 * struct gcov_node represents an entity within the gcov/ subdirectory
50 * are needed by the gcov tool to work correctly.
199 * seq_file.start() implementation for gcov data files. Note that the
216 /* seq_file.next() implementation for gcov data files. */
228 /* seq_file.show() implementation for gcov data files. */
285 * open() implementation for gcov data files. Create a copy of the profiling
325 * release() implementation for gcov data files. Release resources allocated
[all …]
H A DKconfig2 menu "GCOV-based kernel profiling"
5 bool "Enable gcov-based kernel profiling"
11 This option enables gcov-based code profiling (e.g. for code coverage
H A Dgcov.h7 * understanding, refer to gcc source: gcc/gcov-io.h.
38 /* Opaque gcov_info. The gcov structures can change as for example in gcc 4.7 so
40 * implementation of gcov. This also means no direct access to the members in
H A Dgcc_4_7.c9 * gcc/gcov-io.h
19 #include "gcov.h"
84 * @version: gcov version magic indicating the gcc version used for compilation
88 * @filename: name of the associated gcov data file
H A Dclang.c4 * modified from kernel/gcov/gcc_4_7.c
45 #define pr_fmt(fmt) "gcov: " fmt
53 #include "gcov.h"
/openbmc/linux/arch/um/
H A DKconfig.debug16 config GCOV config
17 bool "Enable gcov support"
28 If you're involved in UML kernel development and want to use gcov,
/openbmc/linux/Documentation/features/debug/gcov-profile-all/
H A Darch-support.txt2 # Feature name: gcov-profile-all
4 # description: arch supports whole-kernel GCOV code coverage profiling
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test/
H A D0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch24 # 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/openbmc/meta-openembedded/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/
H A D0001-configure-Check-for-function-from-respective-library.patch25 - AC_CHECK_LIB(gcov,main)
27 + AC_CHECK_LIB(gcov,gcov_write_summary)
/openbmc/linux/drivers/scsi/lpfc/
H A DMakefile24 ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
25 ccflags-$(GCOV) += -O0
/openbmc/openbmc-build-scripts/scripts/
H A Dbuild-unit-test-docker904 --slave /usr/bin/gcov gcov /usr/bin/gcov-14 \
905 --slave /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-14 \
906 --slave /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-14
/openbmc/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
254 See Documentation/dev-tools/gcov.rst for details on how to do this.
263 $ echo 0 > /sys/kernel/debug/gcov/reset
/openbmc/qemu/
H A D.gitignore22 *.gcov
/openbmc/linux/tools/testing/kunit/configs/
H A Dcoverage_uml.config2 # normal gcov used in other arches (no debugfs).
/openbmc/linux/arch/powerpc/kexec/
H A DMakefile12 # Disable GCOV, KCOV & sanitizers in odd or sensitive code
/openbmc/linux/Documentation/translations/zh_TW/dev-tools/
H A Dindex.rst38 - gcov
/openbmc/linux/arch/powerpc/kernel/trace/
H A DMakefile23 # Disable GCOV, KCOV & sanitizers in odd or sensitive code
/openbmc/openbmc/meta-arm/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/
H A Dexternal-arm-sdk-toolchain.bb50 ${bindir}/${TARGET_PREFIX}gcov \
119 for i in gcov gcc* g++ cpp; do

123