oprofile 无法在 ARM 上生成调用图

发布于 2024-09-18 13:15:09 字数 326 浏览 3 评论 0原文

这实际上是这个SO问题的精确重复,不幸的是没有任何回答。是否有可能在 ARM 上获得正确的调用图?我在 ARM926 上使用 oprofile 0.9.6,它没有性能计数器,因此 oprofile 默认使用计时器中断,我设置了 --callgraph 选项,并且我的应用程序是使用正确的标志进行编译的。 我不想分析内核,但我想知道是否还必须编译内核 启用“framepointer”以便从我的应用程序获取正确的调用图。

谢谢

This is actually an exact duplicate of this SO question which unfortunately does not have any answer. Is it possible to get a proper callgraph on ARM? I'm using oprofile 0.9.6 on an ARM926 which does not have performance counters so oprofile defaults to using the timer interrupt, I've set the --callgraph option and my app is compiled with the proper flags.
I'm not trying to profile the kernel but I was wondering if I have to compile also the kernel
with "framepointer" enabled in order to get a proper callgraph from my app.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文