]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/vendor: upgrade pprof to latest
authorAlberto Donizetti <alb.donizetti@gmail.com>
Fri, 7 May 2021 17:10:28 +0000 (19:10 +0200)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Sat, 8 May 2021 14:59:49 +0000 (14:59 +0000)
commit68327e1aa11457cd570bc7eaf03a0260950f27d9
tree998e9b0c2b3a08f582555c4039217a982384dde9
parent4c8f48ed4f3db0e3ba376e6b7a261d26b41d8dd0
cmd/vendor: upgrade pprof to latest

This change upgrades the vendored pprof to pick up the fix for a
serious issue that made the source view in browser mode blank
(tracked upstream as google/pprof#621).

I also had to patch pprof.go, since one of the upstream commit we
included introduced a breaking change in the file interface (the Base
method is now called ObjAddr and has a different signature).

I've manually verified that the upgrade fixes the aforementioned
issues with the source view.

Fixes #45786

Change-Id: I00659ae539a2ad603758e1f06572374d483b9ddc
Reviewed-on: https://go-review.googlesource.com/c/go/+/318049
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
14 files changed:
src/cmd/go.mod
src/cmd/go.sum
src/cmd/pprof/pprof.go
src/cmd/vendor/github.com/google/pprof/driver/driver.go
src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go
src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
src/cmd/vendor/github.com/google/pprof/internal/report/report.go
src/cmd/vendor/github.com/google/pprof/internal/report/source.go
src/cmd/vendor/github.com/google/pprof/internal/report/source_html.go
src/cmd/vendor/github.com/google/pprof/internal/report/synth.go [new file with mode: 0644]
src/cmd/vendor/github.com/google/pprof/profile/encode.go
src/cmd/vendor/github.com/google/pprof/profile/merge.go
src/cmd/vendor/modules.txt