Formatting Output APIs
-
void *dtrace_printf_create(dtrace_hdl_t *dtp, const char *s) -
Generates formatted data from a string,
s.dtpis the DTrace handle returned bydtrace_open(). Seedtrace_printf_create(3DTRACE). -
void *dtrace_printa_create(dtrace_hdl_t *dtp, const char *s) -
Generates formatted data from a string,
s.dtpis the DTrace handle returned bydtrace_open(). Seedtrace_printa_create(3DTRACE). -
size_t dtrace_printf_format(dtrace_hdl_t *dtp, void *fmtdata, char *s, size_t len) -
Extracts the formatted string from
fmtdataand writes at mostlenbytes of this string intobuf.dtpis the DTrace handle returned bydtrace_open(). Seedtrace_printf_format(3DTRACE). -
int dtrace_fprintf(dtrace_hdl_t *dtp, FILE *fp, void *fmtdata, const dtrace_probedata_t *data, const dtrace_recdesc_t *recp, uint_t nrecs, const void *buf, size_t len) -
Process the data from the
printf() action in a D program. Seedtrace_fprintf(3DTRACE). -
int dtrace_fprinta(dtrace_hdl_t *dtp, FILE *fp, void *fmtdata, const dtrace_probedata_t *data, const dtrace_recdesc_t *recs, uint_t nrecs, const void *buf, size_t len) -
Process the data from the
printa() action in a D program. Seedtrace_fprinta(3DTRACE). -
int dtrace_system(dtrace_hdl_t *dtp, FILE *fp, void *fmtdata, const dtrace_probedata_t *data, const dtrace_recdesc_t *recp, uint_t nrecs, const void *buf, size_t len) -
Process the data from the
system() action in a D program. Seedtrace_system(3DTRACE). -
int dtrace_freopen(dtrace_hdl_t *dtp, FILE *fp, void *fmtdata, const dtrace_probedata_t *data, const dtrace_recdesc_t *recp, uint_t nrecs, const void *buf, size_t len) -
Process the data from the
freopen() action in a D program. Seedtrace_freopen(3DTRACE).