From 82aa9569409c5f348deceb33feec9a2511dbfb87 Mon Sep 17 00:00:00 2001 From: Sohaib Mohamed Date: Sun, 18 Jul 2021 10:00:59 +0200 Subject: [PATCH] PCP: fixup: missing setter for isUserlandThread fixes the color of PROC_COMM for PCP... --- pcp/PCPProcessList.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pcp/PCPProcessList.c b/pcp/PCPProcessList.c index fccd60d7..5a02aba0 100644 --- a/pcp/PCPProcessList.c +++ b/pcp/PCPProcessList.c @@ -323,6 +323,7 @@ static bool PCPProcessList_updateProcesses(PCPProcessList* this, double period, Process* proc = ProcessList_getProcess(pl, pid, &preExisting, PCPProcess_new); PCPProcess* pp = (PCPProcess*) proc; PCPProcessList_updateID(proc, pid, offset); + proc->isUserlandThread = proc->pid != proc->tgid; /* * These conditions will not trigger on first occurrence, cause we need to