proposal: expose internal/trace package available as non internal 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: conprof/conprof#46
The text was updated successfully, but these errors were encountered: