mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 04:04:35 +03:00
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.
This commit is contained in:

committed by
cgzones

parent
267014cbfe
commit
c88c80e3bd
@ -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
|
||||
|
Reference in New Issue
Block a user