Commit dc38fc2d authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Fix missing tree view when userland threads are hidden

(thanks to Josh Stone)
parent 0baba6d7
What's new in version 0.8.2 What's new in version 0.8.2
* BUGFIX: Fix missing tree view when userland threads are hidden
(thanks to Josh Stone)
* BUGFIX: Fix for VPID on OpenVZ systems * BUGFIX: Fix for VPID on OpenVZ systems
(thanks to Wolfgang Frisch) (thanks to Wolfgang Frisch)
......
...@@ -563,9 +563,7 @@ static bool ProcessList_processEntries(ProcessList* this, char* dirname, Process ...@@ -563,9 +563,7 @@ static bool ProcessList_processEntries(ProcessList* this, char* dirname, Process
process->pid = pid; process->pid = pid;
} }
} }
if (parent) { process->tgid = parent ? parent->pid : pid;
process->tgid = parent->pid;
}
if (showUserlandThreads && (!parent || pid != parent->pid)) { if (showUserlandThreads && (!parent || pid != parent->pid)) {
char subdirname[MAX_NAME+1]; char subdirname[MAX_NAME+1];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment