1
0
mirror of https://github.com/golang/go synced 2024-09-30 17:28:32 -06:00

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>
This commit is contained in:
Raul Silvera 2017-03-01 13:21:29 -08:00 committed by Brad Fitzpatrick
parent 1eed80f09a
commit a047f72dcf
2 changed files with 4 additions and 4 deletions

View File

@ -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)
}

View File

@ -9,8 +9,8 @@
{
"canonical": "github.com/google/pprof",
"local": "github.com/google/pprof",
"revision": "b1c91b9f8fa7647e4c43c96c50f245df551f7013",
"revisionTime": "2017-03-01T17:36:15Z",
"revision": "dec22b42d9eee442222c36c8da24ddc9905e7ee6",
"revisionTime": "2017-03-01T19:58:13Z",
},
{
"canonical": "golang.org/x/arch/x86/x86asm",