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

NAME

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

C SYNOPSIS

10       #include <pcp/pmapi.h>
11       #include <pcp/libpcp.h>
12
13       const char *__pmLogMetaTypeStr(int type);
14       char *__pmTLogMetaypeStr_r(int type, char *buf, int buflen);
15
16       cc ... -lpcp
17

CAVEAT

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

DESCRIPTION

27       Given  a  numeric archive metadata record type (type), pmLogMetaTypeStr
28       produces the ASCII name of that record type, else UNKNOWN  if  type  is
29       not  a  valid  record type.  pmLogMetaTypeStr_r function does the same,
30       but stores the result in a user-supplied buffer buf of  length  buflen,
31       which should have room for at least 17 bytes.
32
33       Examples  are  DESC  (for type equals 0), INDOM_V2 (for type equals 1),
34       etc.
35

NOTES

37       Both of these functions are safe to call from threaded contexts.
38
39
40
41Performance Co-Pilot                  PCP                  PMLOGMETATYPESTR(3)
Impressum