diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-04-09 15:41:21 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-04-09 15:41:21 -0300 |
commit | 2f450084772bdddaafd77e107679d20572d43b5d (patch) | |
tree | 3beb31ec8588c8467e9b1ca6ebb52f8725727da8 /linux/LinuxProcess.h | |
parent | b291fba02b8d9bb52cd8a23ef5fffbba4f89ff0a (diff) |
Enable OOM support unconditionally on Linux.
Read OOM data only if column is enabled.
Make sort ordering more consistent. Closes #182.
Diffstat (limited to 'linux/LinuxProcess.h')
-rw-r--r-- | linux/LinuxProcess.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/linux/LinuxProcess.h b/linux/LinuxProcess.h index bfc70234..aa63b599 100644 --- a/linux/LinuxProcess.h +++ b/linux/LinuxProcess.h @@ -14,6 +14,7 @@ in the source distribution for its full text. #define PROCESS_FLAG_LINUX_OPENVZ 0x0200 #define PROCESS_FLAG_LINUX_VSERVER 0x0400 #define PROCESS_FLAG_LINUX_CGROUP 0x0800 +#define PROCESS_FLAG_LINUX_OOM 0x1000 typedef enum UnsupportedProcessFields { FLAGS = 9, @@ -70,9 +71,7 @@ typedef enum LinuxProcessFields { #ifdef HAVE_CGROUP CGROUP = 113, #endif - #ifdef HAVE_OOM OOM = 114, - #endif IO_PRIORITY = 115, LAST_PROCESSFIELD = 116, } LinuxProcessField; @@ -116,9 +115,7 @@ typedef struct LinuxProcess_ { #ifdef HAVE_CGROUP char* cgroup; #endif - #ifdef HAVE_OOM unsigned int oom; - #endif } LinuxProcess; #ifndef Process_isKernelThread |