pmdaprofile(3)

pmdaprofile3

Update instance profile for pmda in preparation for the next fetch from pmcd

Part of pmdaProfile(3).

C synopsis

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

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

cc ... -lpcp_pmda -lpcp

Overview

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).

From libpcp-pmda3-dev 4.3.2+really4.3.1-0.1 in Debian 10 (Buster). Parsed by carta from the page's man source.