0

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.

lakshman
  • 2,641
  • 6
  • 37
  • 63
Chamila Wijayarathna
  • 1,815
  • 5
  • 30
  • 54
  • 1
    http://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
  • 1
    If 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

0 Answers0