Movatterモバイル変換


[0]ホーム

URL:


man7.org > Linux >man-pages

Linux/UNIX system programming training


pmapi_internal(3) — Linux manual page

NAME |C SYNOPSIS |CAVEAT |DESCRIPTION |MULTI-THREADED APPLICATIONS |SEE ALSO |COLOPHON

PMAPI_INTERNAL(3)        Library Functions ManualPMAPI_INTERNAL(3)

NAME        top

PMAPI_INTERNAL- internal details for the Performance Metrics       Application Programming Interface

C SYNOPSIS        top

#include "pmapi.h"#include "libpcp.h"        ... assorted routines ...cc ... -lpcp

CAVEAT        top

       This  documentation  is intended for internal Performance Co-Pilot       (PCP) developer use.       These interfaces are not part of the PCP APIs that are  guaranteed       to  remain  fixed  across  releases, and they may not work, or may       provide different semantics at some point in the future.

DESCRIPTION        top

       Refer toPMAPI(3) for general information about the  external  in‐       terfaces  defined in <pcp/pmapi.h>.  The interfaces described here       assume that context.

MULTI-THREADED APPLICATIONS        top

       The following groups of internal functions and services inlibpcp       are  restricted  to being called from a single-thread, and this is       enforced by returningPM_ERR_THREADwhen an attempt  to  call  the       routines in each group from more than one thread is detected.       1.  The interval timer services use global state with semantics           that demand it is only used in the context of a single thread,           so__pmAFregister(3),__pmAFunregister(3),__pmAFblock(3),__pmAFunblock(3) and__pmAFisempty(3).       2.  The following access control manipulation routines that are           principally intended for single-threaded applications:__pmAc‐cAddOp,__pmAccSaveHosts,__pmAccRestoreHosts,__pmAc‐cFreeSavedHosts,__pmAccAddHost,__pmAccAddClient,__pmAccDel‐Clientand__pmAccDumpHosts.       3.  The following routines that identifypmlogger control ports           and are principally intended for single-threaded applications:__pmLogFindPortand__pmLogFindLocalPorts.

SEE ALSO        top

PMAPI(3).

COLOPHON        top

       This page is part of thePCP (Performance Co-Pilot) project.  In‐       formation about the project can be found at ⟨http://www.pcp.io/⟩.       If you have a bug report for this manual page, send it to       pcp@groups.io.  This page was obtained from the project's upstream       Git repository ⟨https://github.com/performancecopilot/pcp.git⟩ on       2025-08-11.  (At that time, the date of the most recent commit       that was found in the repository was 2025-08-11.)  If you discover       any rendering problems in this HTML version of the page, or you       believe there is a better or more up-to-date source for the page,       or you have corrections or improvements to the information in this       COLOPHON (which isnot part of the original manual page), send a       mail to man-pages@man7.orgPerformance Co-Pilot               PCPPMAPI_INTERNAL(3)


HTML rendering created 2025-09-06 byMichael Kerrisk, author ofThe Linux Programming Interface.

For details of in-depthLinux/UNIX system programming training courses that I teach, lookhere.

Hosting byjambit GmbH.

Cover of TLPI


[8]ページ先頭

©2009-2025 Movatter.jp