3 ms·
The source code is not embedded in the binary! go tool pprof has to have access to the source code in order to print the source code. The binaries only contain
by 4ad 9y ago
The source code is not embedded in the binary! go tool pprof has to have access to the source code in order to print the source code. The binaries only contain source code coordinates for symbols.
- mmcloughlin 9y agoThanks for pointing out the mistake. I will update the post accordingly. I still think there are some valuable lessons here.
- 4ad 9y agoYeah, this is a total footgun.