| Solaris |
|
|
The Mozilla DTrace project is a Dynamic Tracing Framework for Mozilla, and it's a place where two significant open source communities meet - both DTrace and Mozilla.
The tracing framework has now landed in Mozilla head which allows any Mozilla developer to easily add in their own custom dtrace probes to Mozilla. As a proof of concept we've added Mozilla USDT probes to analyze page and image load times as well as DNS lookups, they are currently under review. Brendan Gregg has also inserted Javascript USDT probes to Mozilla head which uses this framework and this patch has landed.
All the gory details, including the original project proposal are in the following Mozilla bugzilla bugs:
Bugzilla 370906: Dynamic Tracing Framework for Mozilla
Status:// landed in CVS head 2007-10-10.
Bugzilla 388564: Latest JavaScript provider patch
Status:// landed in CVS head 2007-10-19.
Bugzilla 401697: Adding custom load URL probes to Mozilla
Status:// Patch and DTrace script ready for review. Also the example output for the script might be helpful.
Javascript DTrace providers have been enabled for the Firefox nightly builds. They are tar'd binaries - so just download, untar, run and enjoy.
They are also enabled in the latest Firefox 3.0 release builds, with package and tar provided. Compiled and uploaded by Alfred.
DTraceToolkit Includes a JavaScript subdirectory containing 14 scripts, and example output (screenshots) in the Examples subdirectory. By Brendan.
If you're interested in this project and want to have a try, check out the link's below:
JavaScript Probes://
DTrace meets JavaScript, the original prototype demonstration by Brendan Gregg. See JavaScript Examples for some background on the various scripts. See DTraceToolkit for the latest versions of these scripts.
Mozilla Probes://
For examples of adding and working with Custom Mozilla probes for URI and Image loading as well as DNS lookup probes refer to John Rice's blog.
If you have difficulties using our patches or any suggestions/ideas/DTrace scripts to share with us, please send feedback to dtrace-discuss@opensolaris.org.
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.