[英]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.