Messages in this thread | | | From | Stephane Eranian <> | Subject | [PATCH 0/2] perf_events: correct event assignments on Intel processors | Date | Tue, 6 Oct 2009 16:42:07 +0200 |
| |
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(-)
| |