Add column in darwin to indicate whether the the process is running under translation

This commit is contained in:
Dániel Bakai
2020-12-13 15:54:13 +01:00
committed by BenBE
parent 1506283aff
commit 3655b6ca0b
4 changed files with 61 additions and 13 deletions

View File

@ -12,6 +12,11 @@ in the source distribution for its full text.
#include "DarwinProcessList.h"
#include "Settings.h"
typedef enum DarwinProcessFields_ {
// Add platform-specific fields here, with ids >= 100
TRANSLATED = 100,
LAST_PROCESSFIELD = 101,
} DarwinProcessField;
typedef struct DarwinProcess_ {
Process super;
@ -19,6 +24,7 @@ typedef struct DarwinProcess_ {
uint64_t utime;
uint64_t stime;
bool taskAccess;
bool translated;
} DarwinProcess;
extern const ProcessClass DarwinProcess_class;