-
Notifications
You must be signed in to change notification settings - Fork 18k
go tool trace not work #41291
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
I want to analyse dockerd, so trace pragram is very imporant. |
Hello, and thanks for opening this issue! The trace tool seems to be working correctly on my end with the latest release and Go tree. The error that's produced comes from this function, which is responsible for ordering the trace events into a single consistent stream. Can you provide more information on the code that's running to produce your trace, or a reproductible example? |
@tpaschalis thanks your reply. |
I understand. The fact that the issue appears with CGO makes me think it's a dupe of #29707, since people are reporting reproducibility with CGO. I'd recommend to chime in there as well. |
thanks. so. trace tool is not support cgo ? |
@tiny1990 It is not cgo, it's calling go code from threads not created by go. |
Duplicate of #29707 Feel free to comment or open a new issue if this is not the case. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
2020/09/09 21:31:18 Parsing trace...
2019/12/17 10:19:28 Opening browser. Trace viewer is listening on http://127.0.0.1:42335
The text was updated successfully, but these errors were encountered: