简体   繁体   English

Android设备上的Oprofile错误。 不合时宜:通过了太多事件

[英]Oprofile error on android devices. oprofiled: too many events passed

I use oprofile on my MDP. 我在MDP上使用oprofile。 Android 4.3 userdebug version. Android 4.3用户调试版本。

#opcontrol --setup #opcontrol-设置

#oprofiled --vmlinux=/data/vmlinux --kernel-range=c00080ernel-range=c00080 --event=CPU_CYCLES #oprofiled --vmlinux = / data / vmlinux --kernel-range = c00080ernel-range = c00080 --event = CPU_CYCLES

oprofiled: too many events passed. 被压抑:事件太多了。

# opcontrol --status #opcontrol-状态
Driver directory: /dev/oprofile 驱动程序目录:/ dev / oprofile

Session directory: /data/oprofile 会话目录:/ data / oprofile

Counter 0: name: CPU_CYCLES count: 150000 Counter 1: name: CPU_CYCLES count: 150000 Counter 2 disabled 计数器0:名称:CPU_CYCLES计数:150000计数器1:名称:CPU_CYCLES计数:150000计数器2禁用

oprofiled is not running oprofiled没有运行

But I just specify one event. 但是我只指定一个事件。 Why oprofiled say "too many events passed" 为什么反对说“事件太多了”

I was having the same issue. 我有同样的问题。

If you look into the source file at oprofile source 如果您在oprofile源中查看源文件

and search for the error, you will see that c* is not getting empty forcing the code to throw the error. 并搜索错误,您将看到c *没有变空,迫使代码抛出错误。

Remove that if block and it worked for me. 如果块被删除,它对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android-共享首选项在某些设备上崩溃。 - Android - Shared Preferences crashes on some devices. 本机IONIC地理位置不适用于Android设备。 - Native IONIC Geolocation not working on Android devices. 应用程序在某些设备上崩溃。 Android studio显示内存不足异常错误 - App is crashing on some devices. Android studio shows out of memory exception error 关于android的OProfile - OProfile on android 并非在所有设备上都使用android:imeActionLabel和android:imeOptions。 - android:imeActionLabel and android:imeOptions not respected on all devices. Android布局问题 - 在不同设备上显示不同。 - Android layout Issue - showing differently on different devices. 如何在两个Android设备之间使用套接字发送味精? - How to send msg using Socket between two android devices.? 内部SD卡android设备上的Errno 24(打开的文件太多)错误 - Errno 24 (too many open files) error on internal sd card android devices 中文Android设备。 WebView使用什么浏览器? - Chinese Android Devices. What browser is used by the WebView? Android APK和根设备。 不允许共享应用 - Android APK and root devices. Not allow to share the application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM