logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pmdaInterfaceMoved - reset internal state of a pmdaInterface structure

C Synopsis

#include<pcp/pmapi.h>#include<pcp/pmda.h>voidpmdaInterfaceMoved(pmdaInterface*dispatch);cc...-lpcp_pmda-lpcp

Caveat

       The PMDA must be using PMDA_INTERFACE_2 or later.

Description

       After  a  call  to  either  pmdaDaemon(3) or pmdaDSO(3) to initialize the pmdaInterface structure, if the
       caller needs to relocate or move the structure for any reason then pmdaInterfaceMoved needs to be  called
       with the new base address of the pmdaInterface routine as specified by dispatch.

       pmdaInterfaceMoved will re-establish the internal integrity of the pmdaInterface structure at the new lo‐
       cation before any other routine in libpcp_pmda called.

Name

pmdaInterfaceMoved - reset internal state of a pmdaInterface structure

See Also

PMAPI(3), PMDA(3), pmdaDaemon(3) and pmdaDSO(3).

Performance Co-Pilot                                   PCP                                 PMDAINTERFACEMOVED(3)

See Also