Query: pmdaprofile
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PMDAPROFILE(3) Library Functions Manual PMDAPROFILE(3)NAMEpmdaProfile - update instance profile for PMDA in preparation for the next fetch from PMCDC SYNOPSIS#include <pcp/pmapi.h> #include <pcp/impl.h> #include <pcp/pmda.h> int pmdaProfile(__pmProfile *prof, pmdaExt *pmda); cc ... -lpcp_pmda -lpcpDESCRIPTIONAs 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.CAVEATThe PMDA must be using PMDA_PROTOCOL_2 or later, as specified in the call to pmdaDSO(3) or pmdaDaemon(3).SEE ALSOPMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3) and pmdaFetch(3). Performance Co-Pilot PCP PMDAPROFILE(3)