.gcda files are not present on the build machine. These files are generated at run time on test machine. The sample gather_on_build.sh script listed below correctly refers to .gcno files only. Fixes: 2521f2c228ad ("gcov: add gcov profiling infrastructure") Signed-off-by: Baruch Siach <baruch@xxxxxxxxxx> --- Documentation/dev-tools/gcov.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/dev-tools/gcov.rst b/Documentation/dev-tools/gcov.rst index 075df6a4598d..71052273c084 100644 --- a/Documentation/dev-tools/gcov.rst +++ b/Documentation/dev-tools/gcov.rst @@ -148,7 +148,7 @@ a) gcov is run on the TEST machine from the build tree: - all C source files + headers - - all .gcda and .gcno files + - all .gcno files - all links to directories It is important to note that these files need to be placed into the -- 2.45.2