Hi all
I'm trying to use oprofile with i.MX6.
When I try to use oprofile, it doesn't work properly.
Also I tried following command and got following message.
# operf openssl speed -evp aes-256 cbc
Your kernel's Performance Events Subsystem does not support your processor type.
As a above result, I think that i.MX6 doesn't support a oprofile.
According to the http://oprofile.sourceforge.net/doc/perf_events.html, when user get the message, user need to install OProfile 0.9.9.
Do I need to install OProfile 0.9.9 when I use oprofile with i.MX6 ?
Ko-hey
Solved! Go to Solution.
Hello,
According to NXP Linux RM, oprofile works on ARM9 and ARM11Cortex-A8 based platforms.
Looks like the kernel currently does not support events and oprofile properly on the imx6 platform.
Have a great day,
Yuri
------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct
Answer button. Thank you!
------------------------------------------------------------------------------
Hello,
According to NXP Linux RM, oprofile works on ARM9 and ARM11Cortex-A8 based platforms.
Looks like the kernel currently does not support events and oprofile properly on the imx6 platform.
Have a great day,
Yuri
------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct
Answer button. Thank you!
------------------------------------------------------------------------------
Hi Yuri
Thank you for reply.
So how can user realize the oprofile ?
Is there any substituted way for i.MX6 ?
Ko-hey
Hello,
For i.MX6 only MMDC profiler may be used.
Regards,
Yuri.
Hi
Thank you for suggestion.
How about using OProfile 0.9.7 ?
According to the following page, OProfile 0.9.7 can support cortex-A9.
OProfile - A System Profiler for Linux (News)
Ko-hey
Hello,
You may try OProfile 0.9.7.
Regards,
Yuri.
Hi Yuri
I tried 0.9.9 and it works well.
Thank you for your cooperation.
Ko-hey
Hi Ko-hey and Yuri ,
I am trying enable Oprofile (operf ..etc) for the imx6q board , In the yocto build I am getting by default
oprofile_1.3.0 version after the build .
when I am trying to use operf in kernel getting below error for almost all operf commands
Unexpected error running operf: Invalid argument
How to solve this issue ??
Thanks
ABhishek