summaryrefslogtreecommitdiffstats
path: root/linux/LinuxProcess.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-21 12:30:25 +0200
committercgzones <cgzones@googlemail.com>2020-11-25 20:49:39 +0100
commitc88c80e3bd0c858e4909412743064a4a1ed211b5 (patch)
tree185144437fc1ba7266d97fb31bad4ef0bac4a081 /linux/LinuxProcess.h
parent267014cbfe584ff9a1bc74d671f8aaa27251fd49 (diff)
Drop cgroup conditional
cgroup is only checked on runtime if the column CGROUP is selected. cgroup is currently disabled by default, but most distributions do enable it. Drop the cgroup configuration switch, to reduce the maintenance cost.
Diffstat (limited to 'linux/LinuxProcess.h')
-rw-r--r--linux/LinuxProcess.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/LinuxProcess.h b/linux/LinuxProcess.h
index f5f33a77..d843a0c8 100644
--- a/linux/LinuxProcess.h
+++ b/linux/LinuxProcess.h
@@ -80,9 +80,7 @@ typedef enum LinuxProcessFields {
IO_WRITE_RATE = 111,
IO_RATE = 112,
#endif
- #ifdef HAVE_CGROUP
CGROUP = 113,
- #endif
OOM = 114,
IO_PRIORITY = 115,
#ifdef HAVE_DELAYACCT
@@ -170,9 +168,7 @@ typedef struct LinuxProcess_ {
#ifdef HAVE_VSERVER
unsigned int vxid;
#endif
- #ifdef HAVE_CGROUP
char* cgroup;
- #endif
unsigned int oom;
char* ttyDevice;
#ifdef HAVE_DELAYACCT

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