summaryrefslogtreecommitdiffstats
path: root/pcp/Platform.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2021-05-27 16:05:48 +1000
committerNathan Scott <nathans@redhat.com>2021-06-09 17:09:29 +1000
commit4bcb5d116bd371fb72e8c43335316184fb8febd9 (patch)
tree532f3d46adb9fc6f1240a1ab10c1c3fdd4dc41b3 /pcp/Platform.h
parent4d7cee56f04c7c716ad8289047b8d1cb44c4c4fe (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.h2
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 */

© 2014-2024 Faster IT GmbH | imprint | privacy policy