aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/debug.go
diff options
context:
space:
mode:
authorRémy Oudompheng <oudomphe@phare.normalesup.org>2014-08-26 08:34:46 +0200
committerRémy Oudompheng <oudomphe@phare.normalesup.org>2014-08-26 08:34:46 +0200
commit39ffa8be78d2f54220c99b828e5346cabcf1598c (patch)
tree375d0c47a73e5ee91d1e38f16577733d0cfffb64 /src/pkg/runtime/debug.go
parent0eaea6010ae65bc37f19f6f99ae328eef48abf2d (diff)
downloadgo-39ffa8be78d2f54220c99b828e5346cabcf1598c.tar.xz
runtime: convert Stack to Go.
LGTM=khr R=khr, josharian CC=golang-codereviews https://golang.org/cl/129510043
Diffstat (limited to 'src/pkg/runtime/debug.go')
-rw-r--r--src/pkg/runtime/debug.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pkg/runtime/debug.go b/src/pkg/runtime/debug.go
index 393598c28a..af44a64741 100644
--- a/src/pkg/runtime/debug.go
+++ b/src/pkg/runtime/debug.go
@@ -133,9 +133,3 @@ type BlockProfileRecord struct {
Cycles int64
StackRecord
}
-
-// Stack formats a stack trace of the calling goroutine into buf
-// and returns the number of bytes written to buf.
-// If all is true, Stack formats stack traces of all other goroutines
-// into buf after the trace for the current goroutine.
-func Stack(buf []byte, all bool) int