运行 Android 的 ARM beagleboard 无缓存事件示例

发布于 2024-12-23 13:17:58 字数 340 浏览 8 评论 0原文

我正在尝试收集 Beagleboard Rev C4 和 Beagleboard xM 的一些性能统计数据。

当我将分析事件设置为 CPU_CYCLE 时,Oprofile 运行完美,但是在两个板上,当我尝试分析任何与缓存相关的事件时,我得到一个空的示例文件夹,并且没有结果。

当我运行 oprofile 时,我没有收到任何错误(甚至在内核消息中也没有),

opcontrol --event=L1_DATA_MISS:10000

但分析似乎失败了。所有其他与缓存相关的事件都是同样的情况。我是否做错了什么,或者这些 PMU 在 Beagleboards 上不可用?

I am trying to collect some performance statistics on Beagleboard Rev C4, and Beagleboard xM.

Oprofile runs perfectly when I set the profiling event to CPU_CYCLE, however on both boards, when I try to profile any cache related events, I get an empty samples folder and no result.

I did not get any error (not even in the kernel messages) when I run oprofile with

opcontrol --event=L1_DATA_MISS:10000

But profiling seem to have failed. It's the same story for all other cache related events. Am I doing something wrong, or are these PMUs unavailable on Beagleboards?

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

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

发布评论

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