введение в библиотеку поддержки агента домена Performance Metrics (introduction to the Performance Metrics Domain Agent support library)
Предостережение (Caveat)
Failing to complete any of the data structures or calling any of
the library routines out of order may cause unexpected behavior
in the PMDA.
Due to changes to the PMAPI(3) and PMDA(3) API in the PCP 2.0
release, as described in the product release notes, PMDAs built
using PCP 2.0 must specify PMDA_INTERFACE_2
or later and link
with libpcp_pmda.so.2 and libpcp.so.2. Pre-existing Daemon PMDAs
specifying PMDA_PROTOCOL_1
will continue to function using the
backwards compatible libpcp_pmda.so.1 and libpcp.so.1 libraries
and may be recompiled using the headers installed in
/usr/include/pcp1.x/ without any modification. These backwards
compatible headers and libraries are contained in the
pcp.sw.compat subsystem.