summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Process.h b/Process.h
index 922afdd6..f7d1adf3 100644
--- a/Process.h
+++ b/Process.h
@@ -65,6 +65,9 @@ typedef enum ProcessField_ {
#ifdef HAVE_TASKSTATS
RCHAR, WCHAR, SYSCR, SYSCW, RBYTES, WBYTES, CNCLWB, IO_READ_RATE, IO_WRITE_RATE, IO_RATE,
#endif
+ #ifdef HAVE_CGROUP
+ CGROUP,
+ #endif
LAST_PROCESSFIELD
} ProcessField;
@@ -155,6 +158,9 @@ typedef struct Process_ {
double io_rate_write_bps;
unsigned long long io_rate_write_time;
#endif
+ #ifdef HAVE_CGROUP
+ char* cgroup;
+ #endif
} Process;