dtrace_update - Process aggregation data
cc [ flag... ] file... -ldtrace [ library... ] #include <dtrace.h> void dtrace_update(dtrace_hdl_t *dtp)
The dtrace_update() function flushes and repopulates the following caches maintained by DTrace:
Cache of information about the modules loaded on a system
Cache of macros such as $uid, $gid, and $pid available to the D program
The dtrace_close() function has no return value, although it will set the DTrace error number to indicate a failure. See the dtrace_errno(3DTRACE) man page for more information.
The dtrace_update() function will fail if:
The dtp parameter is NULL.
See attributes(7) for descriptions of the following attributes:
|