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

Commit

Permalink
Fix Linux detection of shared library mappings (#2754)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranweiler authored Jan 20, 2023
1 parent b1625d3 commit 62a0dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agent/coverage/src/record/linux/debugger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl Images {

for map in proc.maps()? {
if let Some(last) = group.last() {
if last.pathname == map.pathname {
if last.pathname != map.pathname {
// The current memory mapping is the start of a new group.
//
// Consume the current group, and track any new module image.
Expand Down

0 comments on commit 62a0dd6

Please sign in to comment.