Data race in PGO profile collection for multi-process program
Pengfei Yuan
0xcoolypf@gmail.com
Tue Jun 2 04:31:00 GMT 2015
Thank you very much for the advice. I will try __gcov_dump first.
Yuan
2015-06-02 12:14 GMT+08:00 Xinliang David Li <davidxl@google.com>:
> Using AutoFDO is one way. For PGO, you may want to to try using
> __gcov_dump interface to explicitly control the timing and order of
> the profile dump --- i.e., invoke __gcov_dump in main process after
> work processes exit and before the main process exits.
More information about the Gcc
mailing list