NAME
pmdaProfile - update instance profile for PMDA in prepara
tion 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 pro
file describes the instances that pmcd requires in the
pmResult structure returned by the next fetch. pmdaPro
file simply stores the new profile.
CAVEAT
The PMDA must be using PMDA_PROTOCOL_2 or later, as speci
fied in the call to pmdaDSO(3) or pmdaDaemon(3).
SEE ALSO
PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3) and
pmdaFetch(3).
Man(1) output converted with
man2html