Benjamin Smedberg
2009-Jan-06 02:50 UTC
[dtrace-discuss] Tracing entry/exit of JITted methods?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is there a provider or technique that would allow probes to fire at the entry/exit for JITted methods? Mozilla is trying to get easier profiling and debugging for our trace-JITting JavaScript interpreter. - --BDS -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFJYsb0SSwGp5sTYNkRAmAGAKDb5O7ybTWo34I4INyTtNn/4bORqACdE8Eg GDQAy+npJBJTSxtT1Rrc1xg=McGP -----END PGP SIGNATURE-----
I''m not a dtrace expert. I think you can do it by adding some code in prologue and epilogue of JITted methods. Ginn On Jan 6, 2009, at 10:50 AM, Benjamin Smedberg wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Is there a provider or technique that would allow probes to fire at > the > entry/exit for JITted methods? Mozilla is trying to get easier > profiling and > debugging for our trace-JITting JavaScript interpreter. > > - --BDS > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iD8DBQFJYsb0SSwGp5sTYNkRAmAGAKDb5O7ybTWo34I4INyTtNn/4bORqACdE8Eg > GDQAy+npJBJTSxtT1Rrc1xg> =McGP > -----END PGP SIGNATURE----- > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-------- Ginn Chen Software Engineer, Browser Team Sun Microsystems, Inc. Phone: x82869 / +86-10-62673869 Fax: +86-10-62780969