RFC: Performance Monitor Counters device

Paul Mackerras paulus at samba.org
Fri Sep 13 13:32:03 EST 2002

Segher Boessenkool writes:

> I'm currently implementing a Linux driver to use the PowerPC
> performance monitor counters (PMC's).  I thought I'd ask here

Cool. :)

> For 1), the program-to-be-monitored just needs to be able to
> select a set of PMC's, and read the counters.  Pretty easy.

I'm curious - how are you going to cope with the fact that different
PPC implementations have different numbers of PMCs and different
sets of events (and numbering of the events) that the PMCs will count?


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-dev mailing list