Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d31bfe3

Browse files
committed
Skip not waiting processes
1 parent 03bb2cf commit d31bfe3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

collector.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ probe_waits(History *observations, HTAB *profile_hash,
165165
if (proc->pid == 0)
166166
continue;
167167

168+
if (proc->wait_event_info == 0)
169+
continue;
170+
168171
/* Collect next wait event sample */
169172
item.pid = proc->pid;
170173
item.wait_event_info = proc->wait_event_info;

0 commit comments

Comments
 (0)