1PMDAPROFILE(3) Library Functions Manual PMDAPROFILE(3)
2
3
4
6 pmdaProfile - update instance profile for PMDA in preparation for the
7 next fetch from PMCD
8
10 #include <pcp/pmapi.h>
11 #include <pcp/impl.h>
12 #include <pcp/pmda.h>
13
14 int pmdaProfile(__pmProfile *prof, pmdaExt *pmda);
15
16 cc ... -lpcp_pmda -lpcp
17
19 As part of the Performance Metrics Domain Agent (PMDA) API (see
20 PMDA(3)), pmdaProfile is the default callback which handles the receipt
21 of a __pmProfile from pmcd(1). A profile describes the instances that
22 pmcd requires in the pmResult structure returned by the next fetch.
23 pmdaProfile simply stores the new profile.
24
26 The PMDA must be using PMDA_PROTOCOL_2 or later, as specified in the
27 call to pmdaDSO(3) or pmdaDaemon(3).
28
30 PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3) and pmdaFetch(3).
31
32
33
34Performance Co-Pilot PCP PMDAPROFILE(3)