]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: use symbol information already in profile in tests
authorAustin Clements <austin@google.com>
Thu, 20 Apr 2017 20:10:59 +0000 (16:10 -0400)
committerAustin Clements <austin@google.com>
Fri, 28 Apr 2017 22:58:11 +0000 (22:58 +0000)
commitc1ac70ff9206191d3e9daf5cf9f9de193f8dd9a8
tree75207be49883a6a5234581ab6585c34af35befd4
parent2133d63fa81777315981fbf961338218832e5099
runtime/pprof: use symbol information already in profile in tests

Currently the pprof tests re-symbolize PCs in profiles, and do so in a
way that can't handle inlining. Proto profiles already contain full
symbol information, so this modifies the tests to use the symbol
information already present in the profile.

Change-Id: I63cd491de7197080fd158b1e4f782630f1bbbb56
Reviewed-on: https://go-review.googlesource.com/41255
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/runtime/pprof/pprof_test.go