0

我正在生成大量 .core 文件的 linux 机器上运行负载测试。我的问题是如何分析这些。GDB 是一个选项,但这是否意味着从 GDB 内部开始负载测试。有没有其他可以使用的工具?

4

1 回答 1

0

hopefully you are running your debug version of the binary, then after a core dump, you can just do

 $ gdb <Your_binary> <core_dump_file>
 (gdb) bt

then you can examine the stack trace.

于 2013-01-12T22:06:39.623 回答