A simple demo of gcov usage in different modes:
- default (
default.sh
) - with
GCOV_PREFIX
(prefix.sh
) - with
-fprofile-dir=XXX.%p
(profdir.sh
)
Inspired by a family of questions like With gcov, is it possible to merge to .gcda files?
Needs gcov-tool-many in PATH.