aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/crash_cgo_test.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-10-28 18:40:38 +0000
committerAustin Clements <austin@google.com>2016-10-28 18:41:16 +0000
commit14f3284ddb682ccf111716b50f43dc6ee072cf4c (patch)
treeae8bdbfa1bf7bb5047a8c2714ac39a0ce774c0ad /src/runtime/crash_cgo_test.go
parenteb88b3eefa113f67e7cf72dfd085f65bbd125179 (diff)
downloadgo-14f3284ddb682ccf111716b50f43dc6ee072cf4c.tar.gz
go-14f3284ddb682ccf111716b50f43dc6ee072cf4c.zip
Revert "runtime/pprof: write profiles in protobuf format."
This reverts commit 7d14401bcbee4a8ff33ac869ef5ebb156a179ab6. Reason for revert: Doesn't build. Change-Id: I766179ab9225109d9232f783326e4d3843254980 Reviewed-on: https://go-review.googlesource.com/32256 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime/crash_cgo_test.go')
-rw-r--r--src/runtime/crash_cgo_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go
index 472afcb38b..34d1f0594a 100644
--- a/src/runtime/crash_cgo_test.go
+++ b/src/runtime/crash_cgo_test.go
@@ -271,11 +271,10 @@ func testCgoPprof(t *testing.T, buildArg, runArg string) {
if err != nil {
t.Fatal(err)
}
-
fn := strings.TrimSpace(string(got))
defer os.Remove(fn)
- cmd := testEnv(exec.Command(testenv.GoToolPath(t), "tool", "pprof", "-top", "-nodecount=1", "-symbolize=force", exe, fn))
+ cmd := testEnv(exec.Command(testenv.GoToolPath(t), "tool", "pprof", "-top", "-nodecount=1", exe, fn))
found := false
for i, e := range cmd.Env {