DOKK / manpages / debian 12 / libpcp3-dev / pmUnloadNameSpace.3.en
PMUNLOADNAMESPACE(3) Library Functions Manual PMUNLOADNAMESPACE(3)

pmUnloadNameSpace - unload a local performance metrics name space for an application

#include <pcp/pmapi.h>

void pmUnloadNameSpace(void);

cc ... -lpcp

If one has previously loaded a local Name Space using pmLoadNameSpace(3) or pmLoadASCIINameSpace(3), then calling pmUnloadNameSpace(3) will free up the memory associated with the Name Space and force all subsequent PMNS routine calls to use the distributed PMNS. If pmUnloadNameSpace(3) is called before calling pmLoadNameSpace(3) or pmLoadASCIINameSpace(3), then it will effectively do nothing.

PMAPI(3), pmLoadASCIINameSpace(3), pmLoadNameSpace(3) and PMNS(5).

PCP Performance Co-Pilot