|
From: Josef W. <Jos...@gm...> - 2005-02-13 12:16:46
|
On Saturday 12 February 2005 00:06, Jeremy Fitzhardinge wrote: > On Fri, 2005-02-11 at 15:13 -0600, Nicholas Nethercote wrote: > > On Fri, 11 Feb 2005, Julian Seward wrote: > > > It's dubious that the profiling can be made to work portably/reliably > > > now, and in any case since the JIT has been sawn off and made into a > > > library, profiling at least that part of the system is easy anyway > > > (by using a standalone test driver). So we may as well forget about > > > it, and nuke the associated code. > > > > It would be nice to have some kind of system-wide profiling, though. > > oprofile is getting very useful for this kind of thing. New versions Yes. I don't think there really is a need for the VG-internal profiling machanism. > can now take snapshots of the stack when they sample, so you get more > than a simple flat profile. If we can get it to generate some useful Yes. That is quite an interesting feature. But your code has to avoid -fomit-frame-pointer for this to work. Note that although OProfile itself can snapshot whole call chains, the current daemon breaks it up into (caller/callee) tuples. > profile data for generated code, it should cover almost all of our > profiling requirements... I am not really sure the relation of generated code to source is needed. But it would be a nifty thing: Writing the TC to an ELF file, and generate debug info for tools like OProfile to be able to get the source mapping after a VG run. As this would be a persistant TC, it could even be used to speed up further VG runs. Josef > > J > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers |