This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Thread-safety of a profiled binary (and GCOV runtime library)
On 07/26/2016 01:15 AM, Andi Kleen wrote:
> You definitely need a new flag: atomic or per thread instrumentation
> will almost certainly have significant overhead (either at run time
> or in memory). Just making an existing facility a lot of slower
> without a way around it is not a good idea.
Hi
Agree with that!
>
> BTW iirc there were patches from google on this a few years back.
> May be still in some branch.
That's great, I'm CCing Google people who worked on PGO, hope they will
help me to find patches/discussion about the problem.
Martin
>
> -Andi