-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/trace: show end stack traces #70570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Change https://go.dev/cl/631895 mentions this issue: |
cc: @golang/runtime |
Since this is a regression and very simple, I personally think it would be OK to backport. |
@gopherbot please consider this for backport to 1.23, it’s a regression. |
Backport issue(s) opened: #70592 (for 1.23). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
Go version
go version devel go1.24-733df2bc0a 2024-11-25 02:23:41 +0000 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
I generated an execution trace for a simple Go program that has a single goroutine that runs for 10ms on CPU followed by 10ms of sleep in a loop.
What did you see happen?
Clicking on the first three goroutine spans, I see:
Showing only the start stack traces also makes it impossible to see the last stack trace produced by a goroutine.
What did you expect to see?
Showing both start and end stack traces would make it much easier to understand the trace:
update: I realized this is not just a "nice to have" but actually a regression compared to go1.22, see comment below.
cc @mknyszek @prattmic @nsrip-dd - CL for this is submitted below
The text was updated successfully, but these errors were encountered: