From 31db81d329ddeacc4ba18671783cca5f1ddb4b9d Mon Sep 17 00:00:00 2001 From: Daniel Martí Date: Fri, 6 Apr 2018 22:38:48 +0100 Subject: cmd/vendor/.../pprof: update to 0f7d9ba1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In particular, to pull a few fixes that were causing some tests to be flaky on our build dashboard. Fixes #24405. Fixes #24508. Fixes #24611. Change-Id: I713156ad11c924e4a4b603144d10395523d526ed Reviewed-on: https://go-review.googlesource.com/105275 Run-TryBot: Daniel Martí TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go') diff --git a/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go b/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go index e5878aed70..0003656026 100644 --- a/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go +++ b/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go @@ -192,6 +192,9 @@ type UI interface { // interactive terminal (as opposed to being redirected to a file). IsTerminal() bool + // WantBrowser indicates whether a browser should be opened with the -http option. + WantBrowser() bool + // SetAutoComplete instructs the UI to call complete(cmd) to obtain // the auto-completion of cmd, if the UI supports auto-completion at all. SetAutoComplete(complete func(string) string) -- cgit v1.3