Regarding perf top utility in linux

ankur dwivedi ankurengg2003 at gmail.com
Wed Jul 27 08:57:10 EDT 2011


Hi,

The perf top utility on linux displays the samples and the pcnt values for
each function. I looked into the code of perf top in builtin-top.c in the
linux kernel. What i have understood is perf top does not display the actual
hardware performance counters value in the samples. It just maintains a
software counter for each event for each function entry in the symbol table
and increments the counter when that function causes a particular event. Is
my understanding correct?

-- 
Thanks
Ankur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110727/1906dab2/attachment.html 


More information about the Kernelnewbies mailing list