FR: Public interface / function for reporting
coxley opened this issue · 2 comments
coxley commented
Summary
Hey folks!
We collect remote profiles quite often to send into the CLI. I've aggregated most of this workflow into our operational tooling, but the missing pieces are being able to generate an SVG/PNG/etc report from the raw data.
Now obviously I can shell out to go tool pprof
— and will — but wondering if there's a reason the reporter is hidden behind internal
? Would be better (for my situation) to pass around an io.Reader
vs. piping the data between processes.
Thanks for your time either way. :)
coxley commented
FWIW, this is my current hack around this in the meantime: https://gist.github.com/coxley/a0609812115ff425c06d58dc21fda289