mirror of
https://github.com/golang/go
synced 2024-11-18 14:24:44 -07: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:
parent
1eed80f09a
commit
a047f72dcf
4
src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go
generated
vendored
4
src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go
generated
vendored
@ -74,7 +74,7 @@ func TestSymbolizationPath(t *testing.T) {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
s := &source{}
|
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 {
|
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)
|
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"},
|
{path + "go.nomappings.crash", "/bin/gotest.exe"},
|
||||||
{"http://localhost/profile?file=cppbench.cpu", ""},
|
{"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 {
|
if err != nil {
|
||||||
t.Fatalf("%s: %s", tc.source, err)
|
t.Fatalf("%s: %s", tc.source, err)
|
||||||
}
|
}
|
||||||
|
4
src/cmd/vendor/vendor.json
vendored
4
src/cmd/vendor/vendor.json
vendored
@ -9,8 +9,8 @@
|
|||||||
{
|
{
|
||||||
"canonical": "github.com/google/pprof",
|
"canonical": "github.com/google/pprof",
|
||||||
"local": "github.com/google/pprof",
|
"local": "github.com/google/pprof",
|
||||||
"revision": "b1c91b9f8fa7647e4c43c96c50f245df551f7013",
|
"revision": "dec22b42d9eee442222c36c8da24ddc9905e7ee6",
|
||||||
"revisionTime": "2017-03-01T17:36:15Z",
|
"revisionTime": "2017-03-01T19:58:13Z",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"canonical": "golang.org/x/arch/x86/x86asm",
|
"canonical": "golang.org/x/arch/x86/x86asm",
|
||||||
|
Loading…
Reference in New Issue
Block a user