Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Conversation

@prashantv
Copy link
Contributor

Profile did not work because the location output contained "M=1". Found
that pprof outputs this if there's a "Mapping":
https://github.com/golang/go/blob/f78a4c84ac8ed44aaf331989aa32e40081fd8f13/src/cmd/pprof/internal/profile/profile.go#L383

This change ignores the "M=" and uses the next field in that space.

r @sectioneight

Profile did not work because the location output contained "M=1". Found
that pprof outputs this if there's a "Mapping":
https://github.com/golang/go/blob/f78a4c84ac8ed44aaf331989aa32e40081fd8f13/src/cmd/pprof/internal/profile/profile.go#L383

This change ignores the "M=" and uses the next field in that space.
@prashantv prashantv added the bug label Oct 14, 2015
@ascandella
Copy link
Contributor

💯

prashantv added a commit that referenced this pull request Oct 14, 2015
Add support for mappings in Location
@prashantv prashantv merged commit d9ad231 into master Oct 14, 2015
@prashantv prashantv deleted the pprof-mapping branch October 14, 2015 05:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants