Skip to content

Commit

Permalink
pyroscope.java: add glibc detection for arm64
Browse files Browse the repository at this point in the history
Backport of grafana/alloy#661
  • Loading branch information
simonswine committed May 13, 2024
1 parent 2d14260 commit 51573af
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 51573af

Please sign in to comment.