【发布时间】:2014-02-05 00:00:08
【问题描述】:
我需要分析我的以 spawn-fcgi 开头的 c++ 应用程序。 我尝试使用 callgrind,但 KCachegrind 中的 callgrind 输出未显示我的应用程序的任何信息。
valgrind --tool=callgrind --dump-instr=yes --simulate-cache=yes --collect-jumps=yes --demangle=no --trace-children=yes --callgrind-out-file=%p spawn-fcgi -s /tmp/sock.tmp ./myApp arg1 arg2
此命令创建两个文件 10012 和 10013,但第二个文件为空。 第一个文件包含位置 spawn-fcgi、ld-2.*.so amd libc 的功能信息。
请建议正确的选项来获取我的应用程序的分析信息。
【问题讨论】:
标签: valgrind callgrind spawn-fcgi