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

@ -131,7 +131,7 @@ static struct kinfo_proc* ProcessList_getKInfoProcs(size_t* count) {
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, uid_t userId) {
DarwinProcessList* this = xCalloc(1, sizeof(DarwinProcessList));
ProcessList_init(&this->super, Class(Process), usersTable, pidMatchList, userId);
ProcessList_init(&this->super, Class(DarwinProcess), usersTable, pidMatchList, userId);
/* Initialize the CPU information */
this->super.cpuCount = ProcessList_allocateCPULoadInfo(&this->prev_load);