Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

__pmLogMetaTypeStr, __pmLogMetaTypeStr_r - convert an archive metadata record type into a string

C Synopsis

#include<pcp/pmapi.h>#include<pcp/libpcp.h>constchar*__pmLogMetaTypeStr(inttype);char*__pmLogMetaTypeStr_r(inttype,char*buf,intbuflen);cc...-lpcp

Caveat

       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

       Given a numeric archive metadata record type (type), __pmLogMetaTypeStr produces the ASCII name  of  that
       record  type,  else  UNKNOWN  if type is not a valid record type.  __pmLogMetaTypeStr_r function does the
       same, but stores the result in a user-supplied buffer buf of length buflen, which should have room for at
       least 17 bytes.

       Examples are DESC (for type equals 1), INDOM_V2 (for type equals 2), etc.

Name

__pmLogMetaTypeStr, __pmLogMetaTypeStr_r - convert an archive metadata record type into a string

Notes

       Both of these functions are safe to call from threaded contexts.

Performance Co-Pilot                                   PCP                                   PMLOGMETATYPESTR(3)

See Also