diff options
author | Dániel Bakai <bakaidl@gmail.com> | 2020-12-13 15:54:13 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-12-13 17:58:16 +0100 |
commit | 3655b6ca0b1b89a2d6415211c1ce484dd6afe39f (patch) | |
tree | 1db4c8b1ae468aa3f2a6d3fb1c6ddfc4501cdd41 /darwin/DarwinProcess.h | |
parent | 1506283affdb024106df283fb4dbc0253470f1c9 (diff) |
Add column in darwin to indicate whether the the process is running under translation
Diffstat (limited to 'darwin/DarwinProcess.h')
-rw-r--r-- | darwin/DarwinProcess.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/darwin/DarwinProcess.h b/darwin/DarwinProcess.h index ed9562af..33dbcd14 100644 --- a/darwin/DarwinProcess.h +++ b/darwin/DarwinProcess.h @@ -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; |