The pprof cpu profile shows user code (on the left) and code from the runtime
package with their consumption of cpu time. I am wondering whether it is possible to make the connection between the two except for looking at the user code, changing it, profiling again, etc. - in a perfect world a tool would show me the lines in the user code that are responsible for runtime.allocSpan
to be called.
What would be the fastest way to find the lines of code in the user code that are responsible?