Data race in PGO profile collection for multi-process program

Pengfei Yuan 0xcoolypf@gmail.com
Tue Jun 2 03:09:00 GMT 2015


Hi,

I am trying PGO on Nginx, which has a main process and several worker processes.
I find that the collected profile data files only contain information
for the main process, which is probably a data race (the main process
exits immediately after worker processes exit).
How can I solve this problem? Should I switch to the sampling-based AutoFDO?

Regards,
Yuan, Pengfei



More information about the Gcc mailing list