https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751
--- Comment #8 from Gejoe <gejoed at rediffmail dot com> --- (In reply to Martin Liška from comment #6) > Yes, __gcov_reset is supposed to be called at the beginning when an > application wants to start > profiling. Again, you don't need to call it manually. But reset comes into a picture where something has happened already and then the result needs to be cleared, isn't it ? At the application start, applying a reset would not make sense I think. gcov_reset would be sensible only after a gcov_dump , isn't it ? Let me know if I miss the actual design/flow of these functions. Thanks !