]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/vendor/github.com/google/pprof: refresh from upstream
authorRaul Silvera <rsilvera@google.com>
Wed, 1 Mar 2017 21:21:29 +0000 (13:21 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 1 Mar 2017 21:36:03 +0000 (21:36 +0000)
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>

src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go
src/cmd/vendor/vendor.json

index a1b52affbcbe16ecc9a8e7eaa50328f27335cb81..90b84b27c5109d7a17fb4572560a11e71ac2d07e 100644 (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)
                }
index a6e828147d852e35c5c64e3e5c5521f64bbea620..39d5b36300bff5b25e70a166a781167d0907ae83 100644 (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",