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

From: Stephane Eranian
Date: Tue Oct 06 2009 - 10:43:48 EST


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@xxxxxxxxx>
---
arch/x86/include/asm/perf_event.h | 11 ++++
arch/x86/kernel/cpu/perf_event.c | 112 +++++++++++++++++++++++++++++++++++-
2 files changed, 119 insertions(+), 4 deletions(-)

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