Regarding perf top utility in linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux