Why can't I see my own application functions in golang's pprof
问题 I'm trying to debug the performance characterics of my own program so I'm following the tutorial on the golang blog. But I have 1 small issues I can't investigate the my own functions or call in the resulting profiling output. I'm using this command to build my binary: go build -ldflags "-s -extldflags -static" -a -installsuffix cgo -o bin/brains And when I use go tool pprof to examine the result I can only (pprof) top10 -cum 2.38mins of 5.25mins total (45.32%) Dropped 125 nodes (cum <= 0