Merge branch 'dynamic-columns' of https://github.com/smalinux/htop into smalinux-dynamic-columns

This commit is contained in:
Nathan Scott
2021-08-13 15:56:01 +10:00
59 changed files with 1065 additions and 176 deletions

View File

@ -12,13 +12,13 @@ in the source distribution for its full text.
#include "config.h" // IWYU pragma: keep
#include <stdbool.h>
#include <sys/types.h>
#include "Object.h"
#include "Process.h"
#include "RichString.h"
#include "Settings.h"
#include "pcp/Platform.h"
#define PROCESS_FLAG_LINUX_CGROUP 0x00000800
#define PROCESS_FLAG_LINUX_OOM 0x00001000
@ -29,6 +29,10 @@ in the source distribution for its full text.
typedef struct PCPProcess_ {
Process super;
/* default result offset to use for searching proc metrics */
unsigned int offset;
unsigned long int cminflt;
unsigned long int cmajflt;
unsigned long long int utime;