gperftools を使用したコードのプロファイリング (ソース コードの行ごと) を生成しようとしています。
gcc a.c -lprofiler -Wl,--no-as-needed -lprofiler -Wl,--as-needed
CPUPROFILE=out.ptof ./a.out
しかし
pprof ./a.out out.ptof --inuse_objects --lines --heapcheck --edgefraction=1e-10 --nodefraction=1e-10 --gv
Using local file ./a.out.
Using local file out.ptof.
No nodes to print
pprof が「印刷するノードがありません」と表示するのはなぜですか?