]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: track each G's state explicitly
authorAustin Clements <austin@google.com>
Sat, 8 Oct 2016 21:35:27 +0000 (17:35 -0400)
committerAustin Clements <austin@google.com>
Fri, 28 Oct 2016 14:29:44 +0000 (14:29 +0000)
commit640e9169155ea96a6f1156663269dba5babf0632
tree866edd3ca6505bf878ff13352b40667ea8a20c06
parent68348394274ee83f5286022d97cfe58b6761321b
cmd/trace: track each G's state explicitly

Currently the trace tool tracks an overall counts of goroutine states,
but not the states of any individual goroutine. We're about to add
more sophisticated blocked-state tracking, so add this tracking and
base the state counts off the tracked goroutine states.

Change-Id: I943ed61782436cf9540f4ee26c5561715c5b4a1d
Reviewed-on: https://go-review.googlesource.com/30703
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
src/cmd/trace/trace.go