]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add trace events for each action
authorMichael Matloob <matloob@golang.org>
Wed, 17 Jun 2020 22:05:16 +0000 (18:05 -0400)
committerMichael Matloob <matloob@golang.org>
Mon, 17 Aug 2020 17:26:39 +0000 (17:26 +0000)
commit023d4973851a25e2a47b1ebaf96833c9209efd7c
treebd0520420264005b46556f4183e196a2d85aecda
parent49003da6d437ef1a4e1e55cf86240480f17dc8ab
cmd/go: add trace events for each action

This change adds a trace event for each action and also
annotates each of the action execution goroutines with trace.Goroutine
so that the actions eaxecuted by each goroutine appear on different threads in
the chrome trace viewer.

Updates #38714

Change-Id: I2e58dc5606b2e3f7f87076a61e1cc6a2014255c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/248320
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/trace/trace.go
src/cmd/go/internal/work/exec.go