Reading performance counter within kernel

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

 



Hello,

I know that I can use the perf* tools to get information about SW and HW
events while a program is running.

I write a kernel module which needs information dynamically about the HW
status via performance counter so that the kernel module can react
appropriately. Thus I want to read out the performance counter values
while being in the kernel (module), and so I cannot use the above
mentioned perf* tools.

How can I achieve this? Any hints?

Thanks in advance.
Andreas Leppert

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[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