diff options
| author | Daniel Martà <mvdan@mvdan.cc> | 2018-04-06 22:38:48 +0100 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-04-06 23:03:41 +0000 |
| commit | 31db81d329ddeacc4ba18671783cca5f1ddb4b9d (patch) | |
| tree | b767e593fda986a2cd5bdeb6e88cb438a19e69ed /src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go | |
| parent | 4acb305d8bf421ccd8963faa140ce57094ce36ae (diff) | |
| download | go-31db81d329ddeacc4ba18671783cca5f1ddb4b9d.tar.xz | |
cmd/vendor/.../pprof: update to 0f7d9ba1
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à <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go')
| -rw-r--r-- | src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
