-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/pprof: make runtime.reflectcall followable by pprof #11786
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
To be honest, I'm not sure this has to be a proposal. I think the current behaviour is a bug. I don't know what is involved in fixing it, but I can't imagine that anybody would object to a good fix. |
Agree, this needn't be a proposal. |
This is a bug in pprof alone. The full information is in the profile, but the elision of runtime frames is getting confused by the reflect call and eliding everything below it. You can see the extra information using -runtime.
|
We ran out of time for this in Go 1.6. |
Context: http://stackoverflow.com/q/31419307/532430
Proposal: allow pprof to follow reflective function invocations via
runtime.reflectcall
so that code "after the jump" can be profiled.I think the idea is simple enough but if anything was unclear just ask and I'll try to clarify.
The text was updated successfully, but these errors were encountered: