How to enable "perf" utility in Linux 3.0.35

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

How to enable "perf" utility in Linux 3.0.35

2,414 次查看
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

标签 (3)
0 项奖励
回复
1 回复

1,807 次查看
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!

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