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
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies