summaryrefslogtreecommitdiffstats
path: root/pcp/PCPProcessList.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcp/PCPProcessList.c')
-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