Perf: Difference between revisions

No edit summary
No edit summary
 
Line 1: Line 1:
For those put off by the baroque interface and daunting learning curve of [[Oprofile]], Ingo Molnár's perf tool (included with the linux kernel since at least version 2.6.30 in <tt>tools/perf</tt>) is a quick and easy way to get data from x86's [[Performance Counters|performance counters]].
For those put off by the baroque interface and daunting learning curve of [[Oprofile]], Ingo Molnár's perf tool (included with the linux kernel since at least version 2.6.30 in <tt>tools/perf</tt>) is a quick and easy way to get data from x86's [[Performance Counters|performance counters]].
You need to have <tt>CONFIG_LOCKDEP</tt> and <tt>CONFIG_LOCK_STAT</tt> enabled to use <tt>perf lock</tt>.


==perf stat==
==perf stat==