]> Cypherpunks repositories - gostls13.git/commit
cmd/trace/v2: emit regions in the goroutine-oriented task view
authorMichael Anthony Knyszek <mknyszek@google.com>
Mon, 20 Nov 2023 21:19:35 +0000 (21:19 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 21 Nov 2023 21:29:58 +0000 (21:29 +0000)
commit4e3ac99a3311e60587a296a636e4bbe3f066d2a9
treeb7261a9a8722e0317ec8f08671ae40b518196330
parent28f873444d4e7fdfef9c07108002cd6347a8da0f
cmd/trace/v2: emit regions in the goroutine-oriented task view

This change emits regions in the goroutine-oriented task view (the
/trace endpoint with the taskid query variable set) in the same way the
old cmd/trace does.

For #60773.
Fixes #63960.

Change-Id: If6c3e7072c694c84a7d2d6c34df668f48d3acc2a
Reviewed-on: https://go-review.googlesource.com/c/go/+/543995
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/trace/v2/gen.go
src/internal/trace/traceviewer/emitter.go