"To hook this into a program of your own, libdtrace could be used, with a
small consumer the style of truss or lockstat, see sources of these
programs."

Ok, sounds good, but when I check the man page for libdtrace it says:

The interfaces  provided  by  libdtrace.so.1  are  currently
     private  to  the  implementation  of  the Solaris system and
     DTrace subsystem and are  subject  to  change  at  any  time
     without  notice.   Applications using these interfaces might
     fail to run on future releases. Refer to the Solaris Dynamic
     Tracing  Guide  for  a  description of the public documented
     interfaces available for the DTrace facility.

And in the book "Solaris Dynamic Tracing  Guide" I don't find any info about 
how to use dtrace from a application. Nor anything about the libdtrace library? 
Got any pointers for this?

Thanks
/Micke
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to