]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: have tasks in a separate section (process group)
authorHana Kim <hakim@google.com>
Wed, 25 Apr 2018 15:35:51 +0000 (11:35 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Thu, 26 Apr 2018 20:56:44 +0000 (20:56 +0000)
commite357ece0afe7253624761b061976c8d8e9496b2e
treeea21fb3e38b6a26f4ddcafcf9f19ca5dc8ab422b
parent9eb64bdd71c76151bc101a603636d99f1af25956
cmd/trace: have tasks in a separate section (process group)

Also change tasks to be represented as "slices" instead of
asynchronous events which are more efficiently represented in trace
viewer data model. This change allows to utilize the flow events
(arrows) to represent task hierarchies.

Introduced RegionArgs and TaskArgs where the task id infomation and
goroutine id informations are stored for information-purpose.

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