Anyway, pprof has a fantastic interactive Flamegraph viewer that lets you narrow down to specific functions. It's really very good, I would use that.
https://github.com/google/pprof
Run `pprof -http=:` on a profile and you get a web interface with the Flamegraph, call graph, line based profiling etc.
It's demonstrated in this video.
They only show a very simple example and no zooming, but it works very well with huge flamegraphs.