]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: annotation proc start/stop with thread and proc always
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 13 Nov 2025 22:36:45 +0000 (22:36 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 13 Nov 2025 23:16:31 +0000 (15:16 -0800)
commit704f841eab87462d4eefac07345c96f71fb6e964
tree32164902dc71a83f6502dbba2f8dba459687f211
parent17a02b910697800032aa686548992a554e8e9d82
cmd/trace: annotation proc start/stop with thread and proc always

In the proc view, the thread ID is useful. In the thread view, the proc
ID is useful. Add both in both cases forever more.

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