Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

dtrace_aggregate_clear (3DTRACE)

Name

dtrace_aggregate_clear - Clears aggregation data

Synopsis

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

void dtrace_aggregate_clear(dtrace_hdl_t *dtp)

Description

The dtrace_aggregate_clear() function is called to clear the aggregation data stored in the consumer.

Return Values

The dtrace_aggregate_clear() function does not return any value. However, if the function fails, it sets the DTrace error number. See the dtrace_errno(3DTRACE) man page for more information.

Errors

The dtrace_aggregate_clear() function will fail if:

EINVAL

dtp is NULL.

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Architecture
all
Availability
system/dtrace
Interface Stability
Committed
MT-Level
Safe

See Also

libdtrace(3LIB), dtrace_errno(3DTRACE), dtrace_aggregate_print(3DTRACE), dtrace_aggregate_snap(3DTRACE), dtrace_aggregate_walk(3DTRACE)