summaryrefslogtreecommitdiffstats
path: root/pcp
diff options
context:
space:
mode:
authorSohaib Mohamed <sohaib.amhmd@gmail.com>2021-07-18 10:00:59 +0200
committerBenBE <BenBE@geshi.org>2021-07-18 10:28:52 +0200
commit82aa9569409c5f348deceb33feec9a2511dbfb87 (patch)
tree53ce60350e476729b01dd3141dbe5354498a0e17 /pcp
parent2fe4a6351e9ba6e641f4a50933dc4c8054036f90 (diff)
PCP: fixup: missing setter for isUserlandThread
fixes the color of PROC_COMM for PCP...
Diffstat (limited to 'pcp')
-rw-r--r--pcp/PCPProcessList.c1
1 files changed, 1 insertions, 0 deletions
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy