Skip to content

RFC Fix no gcda files with kunit.py

Alex Hung linux-um 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1um: include .fini_array.* in linker scriptsarch/um/include/asm/common.lds.S arch/um/kernel/dyn.lds.S+2 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1][RFC] Fix no gcda files with kunit.py

This patch is generated by Claude Sonnet and it is outside my knowledge domain. Any comments or solutions are appreciated.

Command: CC="ccache gcc" ./tools/testing/kunit/kunit.py run --kunitconfig drivers/gpu/drm/amd/display/amdgpu_dm/tests/.kunitconfig

Without this patch, the error messages is shown with some WIP kunit patches by lcov command:

Found gcov version: 13.3.0
Using intermediate gcov format
Writing temporary data to /tmp/geninfo_dat9yJO
Scanning .kunit/drivers/gpu/drm/amd/display/amdgpu_dm for .gcda files ...
geninfo: ERROR: no .gcda files found in .kunit/drivers/gpu/drm/amd/display/amdgpu_dm\
...

With this fix, it shows

Found gcov version: 13.3.0
Using intermediate gcov format
Writing temporary data to /tmp/geninfo_datLqI9
Scanning .kunit/drivers/gpu/drm/amd/display/amdgpu_dm for .gcda files ... Found 25 data files in .kunit/drivers/gpu/drm/amd/display/amdgpu_dm Processing .kunit/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.gcda
...

Alex Hung (1):
um: include .fini_array.* in linker scripts

 arch/um/include/asm/common.lds.S | 1 +
 arch/um/kernel/dyn.lds.S         | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

--
2.43.0