Skip to content

Commit

Permalink
Merge pull request #135 from willfindlay/will-dev
Browse files Browse the repository at this point in the history
Implement a fix for processes with invalid parent symlinks
  • Loading branch information
willfindlay committed Aug 3, 2020
2 parents 5897bc1 + 2ebfc7e commit d8fb9d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ebph/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,8 @@ def running_processes() -> Iterator[Tuple[int, str, int, int]]:
tid = p.pid
if not exe:
continue
profile_key = calculate_profile_key(exe)
try:
profile_key = calculate_profile_key(exe)
except Exception:
continue
yield (profile_key, exe, pid, tid)

0 comments on commit d8fb9d1

Please sign in to comment.