How to use oprofile in i.MX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to use oprofile in i.MX6

跳至解决方案
4,542 次查看
ko-hey
Senior Contributor II

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

标签 (3)
标记 (1)
1 解答
3,796 次查看
Yuri
NXP Employee
NXP Employee

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!

------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
7 回复数
3,797 次查看
Yuri
NXP Employee
NXP Employee

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!

------------------------------------------------------------------------------

0 项奖励
回复
3,796 次查看
ko-hey
Senior Contributor II

Hi Yuri

Thank you for reply.

So how can user realize the oprofile ?

Is there any substituted way for i.MX6 ?

Ko-hey

0 项奖励
回复
3,796 次查看
Yuri
NXP Employee
NXP Employee

Hello,

 For i.MX6 only MMDC profiler may be used.

Regards,

Yuri.

0 项奖励
回复
3,796 次查看
ko-hey
Senior Contributor II

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

0 项奖励
回复
3,796 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  You may try OProfile 0.9.7.

Regards,

Yuri.

0 项奖励
回复
3,796 次查看
ko-hey
Senior Contributor II

Hi Yuri

I tried 0.9.9 and it works well.

Thank you for your cooperation.

Ko-hey

3,239 次查看
Abi__1289
Contributor II

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

 

标记 (1)
0 项奖励
回复