From 39ffa8be78d2f54220c99b828e5346cabcf1598c Mon Sep 17 00:00:00 2001 From: Rémy Oudompheng Date: Tue, 26 Aug 2014 08:34:46 +0200 Subject: runtime: convert Stack to Go. LGTM=khr R=khr, josharian CC=golang-codereviews https://golang.org/cl/129510043 --- src/pkg/runtime/debug.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/pkg/runtime/debug.go') 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 -- cgit v1.3-5-g9baa