Re: [PATCH] gcov: fix gcov-tool merge for TOPN counters

2020-07-03 Thread Martin Liška
On 7/2/20 9:03 PM, Gerald Pfeifer wrote: On Tue, 16 Jun 2020, Martin Liška wrote: libgcc/ChangeLog: * libgcov-util.c (read_gcda_finalize): Remove const operator. (merge_wrapper): Add both counts and use them properly. (topn_to_memory_representation): New function.

Re: [PATCH] gcov: fix gcov-tool merge for TOPN counters

2020-07-02 Thread Gerald Pfeifer
On Tue, 16 Jun 2020, Martin Liška wrote: > libgcc/ChangeLog: > > * libgcov-util.c (read_gcda_finalize): Remove const operator. > (merge_wrapper): Add both counts and use them properly. > (topn_to_memory_representation): New function. > (gcov_merge): Covert on disk represent