Matthew Bromley-Barratt writes:
> Thanks for the various replies I've had. Not been able to get on to a solaris 
> box for various reasons so I've not been able to pursue anything yet. Will do 
> so soonest.
> 
> >From what I've seen dtrace seems to be about measuring programme metrics 
> >without adding anything to the programme's source code. However, I don't 
> >mind instrumenting my own application. Windview works by letting you place 
> >calls to a function wvevent(<unique_id>) which results in <unique_id> 
> >appearing as a unique event in that thread's timeline. It is very useful 
> >indeed!

That'd be DTRACE_PROBE() in dtrace.  See:

  
http://wikis.sun.com/display/DTrace/Statically+Defined+Tracing+for+User+Applications

-- 
James Carlson, Solaris Networking              <james.d.carl...@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to