How can I add a DTrace probe inside a java code so that I can fire it and profile it on OS X? I tried com.sun.tracing framework which works well in Solaris, but not supported in OSX.
Asked
Active
Viewed 211 times
0
-
1http://dtrace.org/guide/chapter.html ,this site explains thoroughly what u are asking i believe u will find your answer if you read it, sorry ur right – We're All Mad Here Dec 09 '13 at 19:13
-
1If I'm reading [this blog post entry](https://wiki.openjdk.java.net/display/MacOSXPort/Mac+OS+X+Port+Using+HotSpot+DTrace+Probes) correctly, you don't have JSDT probes on Mac OS X. You're probably [better off using btrace](https://kenai.com/projects/btrace) in this case. – Anya Shenanigans Dec 09 '13 at 22:48