aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/crash_cgo_test.go
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2016-10-31 15:30:59 +0000
committerMichael Matloob <matloob@golang.org>2016-10-31 17:53:28 +0000
commit9e227acfb62b091eea743bef03bbe466e4070df9 (patch)
treed8abcf917f8ecd1a76189cf4657b3b1428855f84 /src/runtime/crash_cgo_test.go
parent61ffec4b52f64793ad450d1a2d8c4144fa3d5f18 (diff)
downloadgo-9e227acfb62b091eea743bef03bbe466e4070df9.tar.gz
go-9e227acfb62b091eea743bef03bbe466e4070df9.zip
Revert "runtime/pprof: write profiles in protobuf format."
This reverts commit b33030a72754cb55d6ec137e79facacb398c9be4. Reason for revert: We're going to try to get the code in this change submitted in smaller, more carefully reviewed changes. Change-Id: I4175f4b297f0e69fb78b11f9dc0bd82f27865be7 Reviewed-on: https://go-review.googlesource.com/32441 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 {