[Bug gcov-profile/95348] GCC records zero functions and modules in the profiling data file, ICC does NOT
qing.zhao at oracle dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 15:17:45 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95348
--- Comment #26 from Qing Zhao <qing.zhao at oracle dot com> ---
> --- Comment #25 from Martin Liška <marxin at gcc dot gnu.org> ---
>> I will try to get more data on our real application.
>>
>> one question: why not just delete the entire records whose counter is zero
>> and delete the entire file whose counter is zero?
>
> Because we need to distinguish in between situations where a function was
> really not executed (counter == 0) and the situation where we miss profile for
> a function.
Understood. However, is it possible to just provide an option for the user to
choose
to just delete all the zero records and files in order to save more space?
>
> How exactly do you merge profiles? Do you run parallel invocation which can
> take log2(N)?
We run serial merge adding one at a time right now.
Is it possible for gcov-merge to add a new functionality to automatically merge
complete
Set of subdirectories?
More information about the Gcc-bugs
mailing list