1PMDAINTERFACEMOVED(3)      Library Functions Manual      PMDAINTERFACEMOVED(3)
2
3
4

NAME

6       pmdaInterfaceMoved - reset internal state of a pmdaInterface structure
7

C SYNOPSIS

9       #include <pcp/pmapi.h>
10       #include <pcp/pmda.h>
11
12       void pmdaInterfaceMoved(pmdaInterface *dispatch)
13
14       cc ... -lpcp_pmda -lpcp
15

DESCRIPTION

17       After  a  call  to either pmdaDaemon(3) or pmdaDSO(3) to initialize the
18       pmdaInterface structure, if the caller needs to relocate  or  move  the
19       structure  for  any  reason  then pmdaInterfaceMoved needs to be called
20       with the new base address of the pmdaInterface routine as specified  by
21       dispatch.
22
23       pmdaInterfaceMoved  will re-establish the internal integrity of the pm‐
24       daInterface structure at the new location before any other  routine  in
25       libpcp_pmda called.
26

CAVEAT

28       The PMDA must be using PMDA_INTERFACE_2 or later.
29

SEE ALSO

31       PMAPI(3), PMDA(3), pmdaDaemon(3) and pmdaDSO(3).
32
33
34
35Performance Co-Pilot                  PCP                PMDAINTERFACEMOVED(3)
Impressum