系统
文章平均质量分 77
arethe_qin
这个作者很懒,什么都没留下…
展开
-
怎样才能拿到正确的callchain
怎样获得正确的callchain 承刚 本文针对在某些场景下通过perf或tcmalloc等功能获取的callchain不准确的问题进行了分析。 开启GCC的O*优化选项时,会默认开启一个称为“-fomit-frame-pointer”的优化选项。该选项会将栈底指针寄存器EBP用作通用寄存器。这在一定程度上会减少GCC生成的Binary文件的footprint,并多提供一个通用原创 2013-11-07 19:03:21 · 1392 阅读 · 0 评论 -
系统不生成core文件的原因
1. Free space is not enough. 2. The ulimit for core is set to 0 in the account where the program is running. This disables core file creation. 3. The process sets a current working directory where转载 2013-11-08 22:34:59 · 1183 阅读 · 0 评论