Query: pmfreeeventresult
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PMFREEEVENTRESULT(3) Library Functions Manual PMFREEEVENTRESULT(3)NAMEpmFreeEventResult - release storage allocated for unpacked event recordsC SYNOPSIS#include <pcp/pmapi.h> void pmFreeEventResult(pmResult **rset); cc ... -lpcpDESCRIPTIONWhen processing event records, if pmUnpackEventRecords(3) is used to unpack event records from a metric within a pmResult structure with a value of type PM_TYPE_EVENT then the structure returned from pmUnpackEventRecords(3) is a NULL pointer terminated array of pointers to pmResult structures, one for each event record. pmFreeEventResult is a convenience method that frees all of the pmResult structures and the array of pointers (rset).SEE ALSOPMAPI(3) and pmUnpackEventRecords(3). Performance Co-Pilot PCP PMFREEEVENTRESULT(3)