Skip to content
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

Support for v1.22 trace file #159

Open
johnlarkin1 opened this issue May 7, 2024 · 1 comment
Open

Support for v1.22 trace file #159

johnlarkin1 opened this issue May 7, 2024 · 1 comment

Comments

@johnlarkin1
Copy link

I have generated a trace file doing:

$ go test -trace trace.out ./pkg/code

I am then trying to load it in in this way:

╭─ user@mb-pro ~
╰─➤  go version
go version go1.22.2 darwin/arm64

╭─ user@mb-pro ~
╰─➤  gotraceui --version
gotraceui v0.4.0

╭─ user@mb-pro ~
╰─➤  gotraceui trace.out

But sadly it is resulting in an unsupported trace version.

Screenshot 2024-05-07 at 10 30 13 AM

Is Go v1.22 not supported? I pulled the source code, but couldn't actually see where the error is coming from.

I read through the manual and did not see explicit instructions on how to bundle up the tool after changing the source code to try out changes, but if those are provided, I'm more than happy to investigate and push up a PR. I would love that actually.

@whereswaldon
Copy link
Sponsor

If you build from master, the trace format is supported. There just isn't a tagged release with the Go 1.22 trace file parser yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants