运行 Android 的 ARM beagleboard 无缓存事件示例
我正在尝试收集 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论