User Tools

Site Tools


solaris:dtrace_update.3dtrace

dtrace_update


NAME

dtrace_update - Process aggregation data

SYNOPSIS

cc [ flag… ] file… -ldtrace [ library… ]
#include <dtrace.h>

void dtrace_update(dtrace_hdl_t *dtp)

DESCRIPTION

The dtrace_update() function flushes and repopulates the following caches maintained by DTrace:

oCache of information about the modules loaded on a system
oCache of macros such as $uid, $gid, and $pid available to the D program

RETURN VALUES

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.

ERRORS

The dtrace_update() function will fail if:

EINVAL

The dtp parameter is NULL.

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

SEE ALSO

libdtrace(3LIB), dtrace_errno(3DTRACE)


solaris/dtrace_update.3dtrace.txt · Last modified: 2023/07/19 08:58 by A User Not Logged in