__pmFreeProfile man page

__pmFreeProfile ā€” free a PMAPI instance profile

C Synopsis

#include "pmapi.h"
#include "libpcp.h"

void __pmFreeProfile(pmProfile *prof);

cc ... -lpcp

Caveat

This documentation is intended for internal Performance Co-Pilot (PCP) developer use.

These interfaces are not part of the PCP APIs that are guaranteed to remain fixed across releases, and they may not work, or may provide different semantics at some point in the future.

Description

__pmFreeProfile frees the storage for the PMAPI instance profile prof, assuming the storage was allocated using malloc(3) according to the scheme used in __pmDecodeProfile(3).

See Also

malloc(3), PMAPI(3) and __pmDecodeProfile(3).

Info

PCP Performance Co-Pilot