]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: include P info in goroutine slices
authorHana Kim <hakim@google.com>
Fri, 26 Jan 2018 15:28:10 +0000 (10:28 -0500)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Wed, 21 Feb 2018 20:14:30 +0000 (20:14 +0000)
commit3e1ac1b01746cca385281cdaef8a4c3c35a2efac
tree2252decb89741bce038d23b88e70d301755ff8dd
parentf42418b25da382382a35730eff68fd27d049c581
cmd/trace: include P info in goroutine slices

The task-oriented trace view presents the execution trace organized
based on goroutines. Often, which P a goroutine was running on is
useful, so this CL includes the P ids in the goroutine execution slices.

R=go1.11

Change-Id: I96539bf8215e5c1cd8cc997a90204f57347c48c8
Reviewed-on: https://go-review.googlesource.com/90221
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/cmd/trace/trace.go