Hey lRem, > I'm developing, thanks to Google Summer of Code, a Tcl binding to libdtrace. > I'm about to actually start coding and want to reassure myself that the API > will be enough to be of any use. I'm aware that Tcl is not a particularly > popular language, but hopefully some people here can, and will want to, > digest it enough to share their views. The URL of current draft is > <http://dev.lrem.net/tcldtrace/wiki/CommandsList> - separate page for > comments > linked, though I will be reading here as well. Also I've noted down what I > got from reading through libdtrace implementation, nothing innovative but any > errors should be easily spotted by more experienced DTrace users (and > developers): <http://dev.lrem.net/tcldtrace/wiki/LibDtrace>
Very cool! As you have noted, libdtrace was never really documented -- and there are some wonky things like, say, the buffer handler. My only advice: if you haven't already, be sure to check out the JNI interface to libdtrace, if only for its comments explaining its interactions with libdtrace. (For example, see the block comment about dtj_bufhandler() for an explanation of the buffer handler.) More information on the Java DTrace API is here: http://opensolaris.org/os/project/dtrace-chime/java_dtrace_api/ Anwyay, strong work so far -- and looking forward to seeing the finished API! - Bryan -------------------------------------------------------------------------- Bryan Cantrill, Sun Microsystems Fishworks. http://blogs.sun.com/bmc _______________________________________________ dtrace-discuss mailing list [email protected]
