]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: don't print extraneous 0 after goexit
authorIan Lance Taylor <iant@golang.org>
Wed, 13 Jul 2016 20:22:47 +0000 (13:22 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 13 Jul 2016 21:18:19 +0000 (21:18 +0000)
commit29ed5da5f2804cab0f6f1c97309673ac5d22a99d
treebc118c80697c2e6ffbd4e5c9d5a104c11580a809
parent4d00937cecdea85b6f1eb894a6d28a53f5f2ff8a
runtime/pprof: don't print extraneous 0 after goexit

This fixes erroneous handling of the more result parameter of
runtime.Frames.Next.

Fixes #16349.

Change-Id: I4f1c0263dafbb883294b31dbb8922b9d3e650200
Reviewed-on: https://go-review.googlesource.com/24911
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/pprof/pprof.go
src/runtime/pprof/pprof_test.go