com.sun.rtsjx
Class DTraceUserEvent

java.lang.Object
  extended by com.sun.rtsjx.DTraceUserEvent

public class DTraceUserEvent
extends java.lang.Object


Method Summary
static void fire(java.lang.String msg)
          Fire the 'user-event' probe from the jrts DTrace provider with the msg String argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fire

public static void fire(java.lang.String msg)
Fire the 'user-event' probe from the jrts DTrace provider with the msg String argument. The firing of the probe can be used in a DTrace script using a clause like this one:
 jrts$target:::user-event
 {
     printf("%d thread %d fires user-event with message: %s\n",timestamp,tid,copyinstr(arg0,arg1));
 }
 

Parameters:
msg - The String that is passed down to the DTrace probe