golang/go

runtime/pprof: provide memory mapping info on macOS

Open

#19.790 aberto em 30 de mar. de 2017

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Go (19.008 forks)batch import
NeedsFixOS-Darwincompiler/runtimehelp wanted

Métricas do repositório

Stars
 (133.883 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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.

Guia do colaborador