Skip to content

Commit

Permalink
pyroscope.java: add glibc detection for arm64 (#6900)
Browse files Browse the repository at this point in the history
Backport of grafana/alloy#661
  • Loading branch information
simonswine authored May 15, 2024
1 parent 385e049 commit 54b0959
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/component/pyroscope/java/asprof/asprof.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ func isGlibcMapping(m *procfs.ProcMap) bool {
if strings.Contains(m.Pathname, "x86_64-linux-gnu/libc-") {
return true
}
if strings.Contains(m.Pathname, "aarch64-linux-gnu/libc-") {
return true
}
return false
}

Expand Down

0 comments on commit 54b0959

Please sign in to comment.