Changes

Jump to: navigation, search

DTrace 0.1 Release

73 bytes removed, 13:10, 18 October 2008
Step 3: .Mozconfig file
Once you have extracted all the contents of the tar file (from Step 1), you should have a mozilla directory.
<codepre>
//Assuming you placed it within your home directory<br>
$cd ~/mozilla<br>
$vi .mozconfig
</code>
Inside the .mozconfig editor, add at least following:
<code>
<b>ac_add_options --enable-dtrace</b><br>
ac_add_options --disable-tests<br>
ac_add_options --enable-optimize<br>
ac_add_options --enable-application=browser
</codepre>
The bolded option is the one we need. This tells the build to check for D-Trace dependancies and build the necessary probes on runtime. The rest are to ensure your build goes as fast as possible, and the application in the end will consume less memory. :wq out of the file and compile Mozilla using:<br>
This works the same way. But I have seen most OpenSolaris people do this when it comes to installing patches to improve the D-Trace functionality.
 
==Step 4: Check for current probes==
1
edit

Navigation menu