On Fri, Jun 26, 2009 at 11:55 AM, Ryan Johnson<ryanj...@ece.cmu.edu> wrote:
>
> Also, is there any documentation for libdtrace other than the programs that
> use it?

The tools are a good start.  Especially intrstat for what you want to
to, as it consumes aggregation data to print out.

The second place is /usr/include/dtrace.h, look for "DTrace Program
Interface".  Not really documentation per se, but pretty useful once
you start looking at the code for the utilities.  Look for
dtrace_aggregate_snap to get a feel for what libdtrace provides you
for handling aggregates.

If you'd like, I could send you a stripped down consumer so you don't
have to worry much about all the baggage in the code for other
utilities.

Chad
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to