diff options
author | Nathan Scott <nathans@redhat.com> | 2021-05-27 16:05:48 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-06-09 17:09:29 +1000 |
commit | 4bcb5d116bd371fb72e8c43335316184fb8febd9 (patch) | |
tree | 532f3d46adb9fc6f1240a1ab10c1c3fdd4dc41b3 /pcp/Platform.h | |
parent | 4d7cee56f04c7c716ad8289047b8d1cb44c4c4fe (diff) |
Update the PCP platform to use common Process fields and code
Remove code now that we have common platform-independent command
line wrangling (thanks BenBE!). Add PCP platform support for a
handful of other recently arriving odds and ends - ELAPSED time,
CWD, and so on.
Diffstat (limited to 'pcp/Platform.h')
-rw-r--r-- | pcp/Platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pcp/Platform.h b/pcp/Platform.h index 2a1bd3b4..cd90bc00 100644 --- a/pcp/Platform.h +++ b/pcp/Platform.h @@ -206,6 +206,8 @@ typedef enum Metric_ { PCP_PROC_LABELS, /* proc.psinfo.labels */ PCP_PROC_ENVIRON, /* proc.psinfo.environ */ PCP_PROC_TTYNAME, /* proc.psinfo.ttyname */ + PCP_PROC_EXE, /* proc.psinfo.exe */ + PCP_PROC_CWD, /* proc.psinfo.cwd */ PCP_PROC_ID_UID, /* proc.id.uid */ PCP_PROC_ID_USER, /* proc.id.uid_nm */ |