]> Cypherpunks repositories - gostls13.git/commit
runtime: improve cpu profiles for GC/syscalls/cgo
authorDmitriy Vyukov <dvyukov@google.com>
Wed, 12 Feb 2014 18:31:36 +0000 (22:31 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Wed, 12 Feb 2014 18:31:36 +0000 (22:31 +0400)
commit5e72fae9b2c4fddc67a5d8ea0aecf3f73234d83e
treed6550eeae7533146e462eb2e350e9455c0c6e2d0
parent44c252bda29585b4ee9f18e77e68c658207e6f0a
runtime: improve cpu profiles for GC/syscalls/cgo
Current "System->etext" is not very informative.
Add parent "GC" frame.
Replace un-unwindable syscall/cgo frames with Go stack that leads to the call.

LGTM=rsc
R=rsc, alex.brainman, ality
CC=golang-codereviews
https://golang.org/cl/61270043
src/pkg/runtime/os_windows.c
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h
src/pkg/runtime/sys_windows_386.s
src/pkg/runtime/sys_windows_amd64.s