-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
runtime: track time or counts goroutine entered runtime #6809
Labels
Comments
It's quite easy to implement and it must have negligible overheads, so the main question is whether we want it at all or not. Sameer, Sougou, you are serious users of Go in the wild, would it be useful to output in all stack traces something like the following? goroutine 739 [IO wait, blocked for 2 minutes]: net.runtime_pollWait(0x28837d28, 0x72, 0x0) /tmp/gobuilder/freebsd-386-e373697cd435/go/src/pkg/runtime/netpoll.goc:116 +0x5e net.(*pollDesc).Wait(0x399eb078, 0x72, 0x28836188, 0x23) /tmp/gobuilder/freebsd-386-e373697cd435/go/src/pkg/net/fd_poll_runtime.go:81 +0x32 goroutine 743 [chan receive, blocked for 2345 minutes]: net/http.(*persistConn).readLoop(0x39b0dd70) /tmp/gobuilder/freebsd-386-e373697cd435/go/src/pkg/net/http/transport.go:778 +0x543 created by net/http.(*Transport).dialConn /tmp/gobuilder/freebsd-386-e373697cd435/go/src/pkg/net/http/transport.go:528 +0x53b |
Mailed https://golang.org/cl/50420043 Owner changed to @dvyukov. Status changed to Started. |
This issue was closed by revision c0b9e62. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: