[PATCH 0/2] perf_events: correct event assignments on Intel processors

Stephane Eranian
2009-10-06T14:43:22Z

This series of patches corrects the assignment of events to counters
for the Intel X86 processors.

Not all events can be measured on any counter. Not all filters can
be used on fixed counters.

The current implementation silently returns bogus counts in case the
event is programmed into the wrong counter.

Signed-off-by: Stephane Eranian <eranian@gmail.com>
---
arch/x86/include/asm/perf_event.h | 11 ++++
arch/x86/kernel/cpu/perf_event.c | 112 +++++++++++++++++++++++++++++++++++-
2 files changed, 119 insertions(+), 4 deletions(-)