golang/go

runtime/pprof: provide memory mapping info on macOS

Open

#19,790 opened on Mar 30, 2017

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Go (19,008 forks)batch import
NeedsFixOS-Darwincompiler/runtimehelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Noticed during google/pprof#120

https://github.com/golang/go/blob/master/src/runtime/pprof/proto.go#L370 depends on /proc/self/maps which results in missing memory mapping info in profile data from non-linux system (e.g. OSX).

Provide it to help offline symbolization for non-Go symbols.

Contributor guide