[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
Fri May 29 16:40:27 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95348
--- Comment #14 from Qing Zhao <qing.zhao at oracle dot com> ---
>
> -fprofile-dir=gcc_prof_dir/%p"
>
> So my recommendation would be not to use it and let GCOV run-time library merge
> the profiles. Of course, I'll be interested in `perf report` of such a
> instrumented run..
For our application, all processes generating profiling feedback data to a
single directory seems is not a choice.
We chose -fprofile-dir=%p and then use gcov-merge to merge them.
More information about the Gcc-bugs
mailing list