需要分析用 C++ 编写的守护进程,gprof 说它需要终止进程以获取 gmon.out。我想知道有人有使用 ctrl-c 获取 gmon.out 的想法吗?我想找出cpu周期的热点
c++ gprof
c++ ×1
gprof ×1