summaryrefslogtreecommitdiffstats
path: root/linux/LinuxProcess.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-19 17:47:38 +1000
committerNathan Scott <nathans@redhat.com>2020-08-19 17:47:38 +1000
commitf9625cacf0358de3a7fe4645120711a89d6cd30c (patch)
treef1b70351d3dc6989c5ade5e83f544aa2c99cfefe /linux/LinuxProcess.h
parente9947acfc65a946fa254a66655be1e077f8f64ed (diff)
parent078c2ddde5a64a8a9b3bcf40d62e1f81477db029 (diff)
Merge branch 'hishamhm-pull-843'
Diffstat (limited to 'linux/LinuxProcess.h')
-rw-r--r--linux/LinuxProcess.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/linux/LinuxProcess.h b/linux/LinuxProcess.h
index 586aa717..f9984330 100644
--- a/linux/LinuxProcess.h
+++ b/linux/LinuxProcess.h
@@ -15,6 +15,7 @@ in the source distribution for its full text.
#define PROCESS_FLAG_LINUX_VSERVER 0x0400
#define PROCESS_FLAG_LINUX_CGROUP 0x0800
#define PROCESS_FLAG_LINUX_OOM 0x1000
+#define PROCESS_FLAG_LINUX_SMAPS 0x2000
typedef enum UnsupportedProcessFields {
FLAGS = 9,
@@ -78,7 +79,10 @@ typedef enum LinuxProcessFields {
PERCENT_IO_DELAY = 117,
PERCENT_SWAP_DELAY = 118,
#endif
- LAST_PROCESSFIELD = 119,
+ M_PSS = 119,
+ M_SWAP = 120,
+ M_PSSWP = 121,
+ LAST_PROCESSFIELD = 122,
} LinuxProcessField;
#include "IOPriority.h"
@@ -94,6 +98,9 @@ typedef struct LinuxProcess_ {
unsigned long long int cutime;
unsigned long long int cstime;
long m_share;
+ long m_pss;
+ long m_swap;
+ long m_psswp;
long m_trs;
long m_drs;
long m_lrs;

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