> This warnings/notes are caused
> by inconsistent profile due to data race (which is currently common in
> multi-thread programs),

I never quite understood why the gcov counters are not simply marked
__thread. This would make the profiled programs faster too because
they wouldn't bounce cache lines  that much. Especially on larger
systems (>2S) frequent cache line bouncing can lead to extreme slow downs,
and even on smaller systems it's very expensive.
This would also eliminate data races, except for signals and somesuch.

-Andi

Reply via email to