Andrew, As I understand it, the direct calls to routines in libdtrace.so are considered unstable and not for public consumption. However, there is an approved Java API, and a person who has documented libdtrace.so so that others can use it. (He documented it for use with TCL, but I think it applies to C.)
Java: http://opensolaris.org/os/project/dtrace-chime/java_dtrace_api/ C/TCL: http://dev.lrem.net/tcldtrace/wiki/LibDtrace http://www.osdevcon.org/2008/files/osdevcon2008-petr.pdf Chip > -----Original Message----- > From: [email protected] [mailto:dtrace-discuss- > [email protected]] On Behalf Of Andrew Gabriel > Sent: Wednesday, April 01, 2009 4:54 PM > To: [email protected] > Subject: [dtrace-discuss] Dtrace API (libdtrace?) > > Is there any document saying how to use the Dtrace API (e.g. as used by > lockstat)? > > I am looking to produce program of my own for which I want to fetch > data > connected by Dtrace. > > I know it's not a committed interface. > > -- > Cheers > Andrew > _______________________________________________ > dtrace-discuss mailing list > [email protected] _______________________________________________ dtrace-discuss mailing list [email protected]
