]> Cypherpunks repositories - gostls13.git/commit
runtime: print "created by" for running goroutines in traceback
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 1 Aug 2013 15:28:38 +0000 (19:28 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 1 Aug 2013 15:28:38 +0000 (19:28 +0400)
commitc33d49002069e798b33d0de42d3eb5073aef7c0b
tree3d5b9cf23b1f319ac56c02fb61530db8c03a0a8d
parent3cbc2716a94e836097f40dd3d7dd7b46f0fbbe50
runtime: print "created by" for running goroutines in traceback
This allows to at least determine goroutine "identity".
Now it looks like:
goroutine 12 [running]:
        goroutine running on other thread; stack unavailable
created by testing.RunTests
        src/pkg/testing/testing.go:440 +0x88e

R=golang-dev, r, rsc
CC=golang-dev
https://golang.org/cl/12248043
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h
src/pkg/runtime/traceback_arm.c
src/pkg/runtime/traceback_x86.c