APIC and Performance Counters

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

 



Hello all,
I was trying to do some performance monitoring using performance counters on an AMD Athlon64. I am trying to count number of retired uops (0xC1h) and I want to call a function after every n number of uops. I think I need to use APIC for this purpose and specifically APIC register for "perfromance counter local vector table entry" in which i can set up the vector which will be sent for the interrupt source. Now I am not familiar with setting up of vector table entries and the detailed process of how can I do what I want. Can anyone give some pointers where I can find more information on programming APIC with performance-monitoring counters or if some one can explain it to me, I would be thankful.
TIA
-Sushant
ps: please cc the reply to me.


--
Sushant Sharma
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux