You can''t create static probes in Java, but you can instrument method
entry
and return:
dvm<pid>:::method-entry dvm<pid>:::method-return
(or use the hotspot provider with the 1.6 JVM)
Adam
On Sat, Oct 28, 2006 at 12:44:46PM -0700, Gerd Castan
wrote:> All DTrace examples I found that use Java are
> - instrumentations of the Java VM
> - Consumers, intented to visualize DTrace events in Java
>
> But how do I write and fire a probe in Java? Any hints, examples, or
documentation?
>
> Gerd
>
>
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss at opensolaris.org
--
Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl