https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #12 from Gejoe <gejoed at rediffmail dot com> --- Thanks for all the info. > Btw. why do you need calling __gcov_dump and __gcov_reset manually? How is > your training run special? Actually I work for a firm where the program runs on a device continually and we get the .gcda files from the device using a command which in turn invoked __gcov_dump(). Similarly to reset all the counters, we thought of using __gcov_reset after a __gcov_dump. We tar up the gcda files and take to the source code where gcov is run.