perf_events: correct event assignments on Intel processors
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf_events: check for filters on fixed counter eventsarch/ arch/ | +17 | 1 reply | |
| 2/2 | perf_events: add event constraints support for Intel processorsarch/ | +102 | 17 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] perf_events: correct event assignments on Intel processors
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 <[email protected]>
--- arch/x86/include/asm/perf_event.h | 11 ++++ arch/x86/kernel/cpu/perf_event.c | 112 +++++++++++++++++++++++++++++++++++- 2 files changed, 119 insertions(+), 4 deletions(-)