[PATCH] sim: add helper macros for branch profiling

Mike Frysinger vapier@gentoo.org
Mon Apr 12 16:02:00 GMT 2010


On Monday 12 April 2010 10:54:18 Joel Brobecker wrote:
> > 2010-04-10  Mike Frysinger  <vapier@gentoo.org>
> > 
> > 	* sim-profile.h (PROFILE_BRANCH_TAKEN, PROFILE_BRANCH_UNTAKEN): New
> > 	defines.
> 
> Forgive my ignorance, but are these macros going to be automatically
> used? Or is there another patch in the pipeline that makes use of them?

i'm using them in the Blackfin sim.  once i can get the Blackfin FDPIC shared 
lib stuff working with latest GDB again, i'll post that patch series.

i'd also point out that at a lot of the trace/profile stuff seems like it has 
a good framework, but few to no one seem to be hooking it up ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100412/7c609344/attachment.sig>


More information about the Gdb-patches mailing list