How to use oprofile in i.MX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use oprofile in i.MX6

Jump to solution
2,657 Views
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

Labels (3)
Tags (1)
1 Solution
1,911 Views
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!

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

View solution in original post

0 Kudos
7 Replies
1,912 Views
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 Kudos
1,911 Views
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 Kudos
1,911 Views
Yuri
NXP Employee
NXP Employee

Hello,

 For i.MX6 only MMDC profiler may be used.

Regards,

Yuri.

0 Kudos
1,911 Views
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 Kudos
1,911 Views
Yuri
NXP Employee
NXP Employee

Hello,

  You may try OProfile 0.9.7.

Regards,

Yuri.

0 Kudos
1,911 Views
ko-hey
Senior Contributor II

Hi Yuri

I tried 0.9.9 and it works well.

Thank you for your cooperation.

Ko-hey

1,354 Views
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

 

Tags (1)
0 Kudos