How to enable "perf" utility in Linux 3.0.35

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

How to enable "perf" utility in Linux 3.0.35

2,096 Views
NithinkumarN
Contributor II

HI All,

I'm using i.MX6Q processor in my project with linux 3.0.35 kernel code.

I need to use "perf" performance analysis tool for measuring CPU performance.

In kernel config, HAVE_PERF_EVENTS, PERF_EVENTS, HAVE_PERF_EVENTS_NMI are enabled still I'm not able to use "perf" command once linux prompt comes up.

Please any one let me know how to enable this feature or any extra configuration to be done in linux 3.0.35 kernel to use this tool.

Thanks and Regards,

Nithin

Labels (3)
0 Kudos
1 Reply

1,489 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nithin

for perf compilation one can look at p.47 presentation

kandroid_8th_conference_Performance_Monitoring.pdf - Google Drive

for integration to ltib please use attached app note

Best regards

igor

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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