diff options
| author | Raul Silvera <rsilvera@google.com> | 2017-03-01 13:21:29 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-03-01 21:36:03 +0000 |
| commit | a047f72dcfee7504a4dadc5e4c392dda761a3738 (patch) | |
| tree | 9f3f97a088c4b26b1ceec8f6355d6b28591ed127 /src/cmd/vendor/github.com/google | |
| parent | 1eed80f09adc7641227ac80a9031fd3781e54d7d (diff) | |
| download | go-a047f72dcfee7504a4dadc5e4c392dda761a3738.tar.xz | |
cmd/vendor/github.com/google/pprof: refresh from upstream
Updating to commit dec22b42d9eee442222c36c8da24ddc9905e7ee6
from github.com/google/pprof
Fixes #19322.
Change-Id: I1bc3fcd381f22d52557f61c6fb694f54fc64470c
Reviewed-on: https://go-review.googlesource.com/37652
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/vendor/github.com/google')
| -rw-r--r-- | src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go b/src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go index a1b52affbc..90b84b27c5 100644 --- a/src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go +++ b/src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go @@ -74,7 +74,7 @@ func TestSymbolizationPath(t *testing.T) { }, } s := &source{} - locateBinaries(p, s, obj, &proftest.TestUI{t, tc.msgCount}) + locateBinaries(p, s, obj, &proftest.TestUI{T: t, Ignore: tc.msgCount}) if file := p.Mapping[0].File; file != tc.want { t.Errorf("%s:%s:%s, want %s, got %s", tc.env, tc.file, tc.buildID, tc.want, file) } @@ -176,7 +176,7 @@ func TestFetch(t *testing.T) { {path + "go.nomappings.crash", "/bin/gotest.exe"}, {"http://localhost/profile?file=cppbench.cpu", ""}, } { - p, _, _, err := grabProfile(&source{ExecName: tc.execName}, tc.source, 0, nil, testObj{}, &proftest.TestUI{t, 0}) + p, _, _, err := grabProfile(&source{ExecName: tc.execName}, tc.source, 0, nil, testObj{}, &proftest.TestUI{T: t}) if err != nil { t.Fatalf("%s: %s", tc.source, err) } |
