我最近安裝了Perf工具在我的平臺上,並且想用它來分析我的平臺。我開始剖析我用瞭解Perf工具輸出
獨立application.Below命令PERF ./helloworld開始
爲「./helloworld」性能計數器統計:
4.555957 task-clock # 0.000 CPUs utilized
1 context-switches # 0.219 K/sec
0 cpu-migrations # 0.000 K/sec
124 page-faults # 0.027 M/sec
<not supported> cycles
<not supported> stalled-cycles-frontend
<not supported> stalled-cycles-backend
<not supported> instructions
<not supported> branches
<not supported> branch-misses
60.005519331 seconds time elapsed
現在我不知道我應該怎麼interpretate這個output.is預期輸出?
另外,我應該怎麼做<不支持>在這裏提交,有什麼我需要啓用以支持這個領域之前運行命令?
謝謝,我想你是對的,但任何想法如何啓用這些啓用從Linux的支持,我是否在構建時啓用它或內核還是什麼? –
@AmitSinghTomar增加了一些關於模塊的信息。 – cyphar
Cypher我找不到與perf有關的模塊(find。-name * .ko | grep perf)。請指出我如何編譯這些模塊。任何提示都會足夠好。 –