go: cmd/trace: port to v2 traces [freeze exception]

Tracking issue for updating cmd/trace for the v2 overhaul (https://github.com/golang/go/issues/60773) in CL 538515.

Main Viewer:

Sub-Pages:

cc @mknyszek

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 23 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Syscall rendering now works. Instead of rendering them as instant events, they are now rendered as slices. For example:

CleanShot 2023-11-10 at 18 02 15@2x

For blocking syscalls, only the time they are executing on a P (before sysmon declares them “blocking”) is displayed on the P lane. The Arg label “blocked” indicates that the syscall got blocked:

CleanShot 2023-11-10 at 18 00 53@2x

While typing this I realize that it might be nice to display the totalDuration of blocked syscalls. I added it as a nice-to-have item in the list above.