summaryrefslogtreecommitdiffstats
path: root/linux/LinuxProcess.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-21 12:40:45 +0200
committercgzones <cgzones@googlemail.com>2020-11-25 20:49:39 +0100
commit9b31ee5b63f2559d102a743082fe97440e5dc895 (patch)
tree3816d5841e59ce201b871cc49205dfd5590acda8 /linux/LinuxProcess.h
parentc88c80e3bd0c858e4909412743064a4a1ed211b5 (diff)
Drop taskstats conditional
taskstats is only checked on runtime if the column RCHAR, WCHAR, SYSCR, SYSCW, RBYTES, WBYTES, CNCLWB, IO_READ_RATE, IO_WRITE_RATE or IO_RATE is selected. taskstats is currently enabled by default. Drop the taskstats 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 d843a0c8..4c23d13c 100644
--- a/linux/LinuxProcess.h
+++ b/linux/LinuxProcess.h
@@ -68,7 +68,6 @@ typedef enum LinuxProcessFields {
#ifdef HAVE_VSERVER
VXID = 102,
#endif
- #ifdef HAVE_TASKSTATS
RCHAR = 103,
WCHAR = 104,
SYSCR = 105,
@@ -79,7 +78,6 @@ typedef enum LinuxProcessFields {
IO_READ_RATE = 110,
IO_WRITE_RATE = 111,
IO_RATE = 112,
- #endif
CGROUP = 113,
OOM = 114,
IO_PRIORITY = 115,
@@ -148,7 +146,6 @@ typedef struct LinuxProcess_ {
long m_drs;
long m_lrs;
long m_dt;
- #ifdef HAVE_TASKSTATS
unsigned long long io_rchar;
unsigned long long io_wchar;
unsigned long long io_syscr;
@@ -160,7 +157,6 @@ typedef struct LinuxProcess_ {
unsigned long long io_rate_write_time;
double io_rate_read_bps;
double io_rate_write_bps;
- #endif
#ifdef HAVE_OPENVZ
char* ctid;
pid_t vpid;

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