diff options
| author | Hiroshi Ioka <hirochachacha@gmail.com> | 2016-09-16 16:25:48 +0900 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2016-11-11 14:47:41 +0000 |
| commit | c439a5d8b77a3b87d94bc49714faeeb2a04112f4 (patch) | |
| tree | ba81412e1376ad7a62f10ff29d5595ad1123cfe0 /src/encoding/json | |
| parent | 428df5e39c0a696b71724237879a22a718a854a7 (diff) | |
| download | go-c439a5d8b77a3b87d94bc49714faeeb2a04112f4.tar.xz | |
cmd/pprof: don't print binary outputs in interactive mode
Some commands generate binary outputs which are not human readable.
In interactive mode, there are no use-cases for such outputs.
Instead, the new code writes it to the temporary file on the $CWD and
shows the file name. So the user can use any program to display the
file outside interactive shell.
Fixes #17465
Change-Id: I5c479db26017607f7a28eafbff2385533e5c584e
Reviewed-on: https://go-review.googlesource.com/31123
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/encoding/json')
0 files changed, 0 insertions, 0 deletions
