-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
proposal: runtime: expose internal/trace package #38971
Comments
internal/trace and the trace format itself almost certainly need to be rewritten to make it easier to load only a subset of the file. The current format basically requires loading the entire file to do anything useful, and that fails for large traces. We should definitely not expose internal/trace in its current form. It's fine to copy if you need something soon. |
Thanks for the answer. Is there an issue for rewrite and what needs to happen? Would like to take a look at it, maybe I can help. |
There isn't active work on that. I'd say just copy the package (as the license permits) and modify to suit your needs. |
I believe this is superseded by #62627. Please holler if I misunderstand. |
This is a feature request, not a bug.
I'm helping to build conprof, which is a continuous profiling application similiar to Google Wide Profiling. We would like to add support for Go's trace profiles (typically /debug/pprof/trace endpoint).
In order to do that we would need to have internal/trace package to be exposed.
Related conprof issue: parca-dev/parca#46
The text was updated successfully, but these errors were encountered: