[gcov] Simplify file interface

Jan Hubicka jh@suse.cz
Sun Apr 6 20:01:00 GMT 2003


> Jan Hubicka wrote:
> 
> >
> >Sounds cool.  You also may like to play around with my profiledbootstrap
> >patch, that gives additional checking to the profile code.  I would like
> >to hear your opionion about that - I am quite unsure about the Makefile
> >stuff.
> url? (is that where you broke out the checking stuff into functions, rather
> than macros?)

Hi,
I am just running into problems with parallel makes and file locking.
Even with fcntl enabled I am ubnable to get this working reliably.  I
think you originally designed the code, so can you please enlighten me
how it is supposed to work?  I see that the profile is first updated and
then file is closed to be open again later and statistics updated.

How locking is perfomed when the file is closed by statistics are not
updated yet?  I see that there is INVALID_SUMMARY that appears to be
there for that reason, but I don't follow the logic....

Honza
> 
> nathan
> 
> -- 
> Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
>          The voices in my head said this was stupid too
> nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
> 
> 



More information about the Gcc-patches mailing list