pmdaprofile(3) - Linux man page

Name

pmdaProfile - update instance profile for PMDA in preparation for the next fetch from PMCD

C Synopsis

#include <pcp/pmapi.h>
#include <pcp/impl.h>
#include <pcp/pmda.h>

int pmdaProfile(__pmProfile *prof, pmdaExt *pmda);

cc ... -lpcp_pmda -lpcp

Description

As part of the Performance Metrics Domain Agent (PMDA) API (see pmda(3)), pmdaProfile is the default callback which handles the receipt of a __pmProfile from pmcd(1). A profile describes the instances that pmcd requires in the pmResult structure returned by the next fetch. pmdaProfile simply stores the new profile.

Caveat

The PMDA must be using PMDA_PROTOCOL_2 or later, as specified in the call to pmdadso(3) or pmdadaemon(3).

See Also

pmapi(3), pmda(3), pmdadaemon(3), pmdadso(3) and pmdafetch(3).