golang/go

runtime/pprof: provide memory mapping info on macOS

Open

#19,790 创建于 2017年3月30日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Go (19,008 fork)batch import
NeedsFixOS-Darwincompiler/runtimehelp wanted

仓库指标

Star
 (133,883 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南