How to use oprofile in i.MX6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use oprofile in i.MX6

ソリューションへジャンプ
2,857件の閲覧回数
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 解決策
2,111件の閲覧回数
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 返答(返信)
2,112件の閲覧回数
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 件の賞賛
2,111件の閲覧回数
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 件の賞賛
2,111件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

 For i.MX6 only MMDC profiler may be used.

Regards,

Yuri.

0 件の賞賛
2,111件の閲覧回数
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 件の賞賛
2,111件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  You may try OProfile 0.9.7.

Regards,

Yuri.

0 件の賞賛
2,111件の閲覧回数
ko-hey
Senior Contributor II

Hi Yuri

I tried 0.9.9 and it works well.

Thank you for your cooperation.

Ko-hey

1,554件の閲覧回数
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 件の賞賛