/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 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 D | index.rst | 25 gcov
|
/openbmc/linux/Documentation/translations/zh_CN/dev-tools/ |
H A D | gcov.rst | 3 :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 D | index.rst | 26 gcov
|
/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/linux/kernel/gcov/ |
H A D | base.c | 9 * 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 D | fs.c | 9 * 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 D | Kconfig | 2 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 D | gcov.h | 7 * 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 D | gcc_4_7.c | 9 * 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 D | clang.c | 4 * 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 D | Kconfig.debug | 16 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 D | arch-support.txt | 2 # 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 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/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/linux/drivers/scsi/lpfc/ |
H A D | Makefile | 24 ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage 25 ccflags-$(GCOV) += -O0
|
/openbmc/openbmc-build-scripts/scripts/ |
H A D | build-unit-test-docker | 904 --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 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/qemu/ |
H A D | .gitignore | 22 *.gcov
|
/openbmc/linux/tools/testing/kunit/configs/ |
H A D | coverage_uml.config | 2 # normal gcov used in other arches (no debugfs).
|
/openbmc/linux/arch/powerpc/kexec/ |
H A D | Makefile | 12 # Disable GCOV, KCOV & sanitizers in odd or sensitive code
|
/openbmc/linux/Documentation/translations/zh_TW/dev-tools/ |
H A D | index.rst | 38 - gcov
|
/openbmc/linux/arch/powerpc/kernel/trace/ |
H A D | Makefile | 23 # Disable GCOV, KCOV & sanitizers in odd or sensitive code
|
/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
|