felixge / fgprof

🚀 fgprof is a sampling Go profiler that allows you to analyze On-CPU as well as Off-CPU (e.g. I/O) time together.
MIT License
2.81k stars 88 forks source link

Preallocate p.stacks() before calling runtime.GoroutineProfile() #11

Closed sumerc closed 3 years ago

sumerc commented 3 years ago

Fixes https://github.com/felixge/fgprof/issues/10