AnsweredAssumed Answered

Issue with oprofile and perf on android 4.2.2 sabresd_6dq imx6

Question asked by floriang on Jul 25, 2013
Latest reply on Jul 25, 2013 by floriang


I would like to use oprofile and perf tools that come with android 4.2.2.

Actually I managed to use them, but in order to do this I have to kill all CPU cores on my quad iMX6 SABRE SD board.

But in the end, I need at least one additional CPU to run my application so that the profiling results are meaningful, so how can I make it work with 2 cpus???


Here are some details:

Board: iMX6 SABRE SD quad/dual

OS: Android 4.2.2 with freescale BSP, compiled in engineering build, lunch target: sabresd_6dq

--> compiled with the instructions in Android_User_Guide.pdf from this document:…


The oprofile & perf tools are present, and they run, but if I have more than 1 CPU active, they report no activity!

And if I leave only one CPU active, they work fine!


It seems like a bug somewhere in freescale code but I don't know enough to find out...


Any ideas?