Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 62a0dd6

Browse files
authored
Fix Linux detection of shared library mappings (#2754)
1 parent b1625d3 commit 62a0dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agent/coverage/src/record/linux/debugger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl Images {
223223

224224
for map in proc.maps()? {
225225
if let Some(last) = group.last() {
226-
if last.pathname == map.pathname {
226+
if last.pathname != map.pathname {
227227
// The current memory mapping is the start of a new group.
228228
//
229229
// Consume the current group, and track any new module image.

0 commit comments

Comments
 (0)