diff options
author | Stephane Eranian <eranian@google.com> | 2011-03-02 17:05:01 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-03-04 11:32:52 +0100 |
commit | 17e3162972cbb9796035fff1e2fd30669b0eef65 (patch) | |
tree | d9360df7e8bba5a62eb1e0cf75e0030f4a1cd586 /arch/x86/include/asm/msr-index.h | |
parent | 08309379b7083a9ceec0f9bb96a629058fb623c4 (diff) |
perf_events: Update PEBS event constraints
This patch updates PEBS event constraints for Intel Atom, Nehalem, Westmere.
This patch also reorganizes the PEBS format/constraint detection code. It is
now based on processor model and not PEBS format. Two processors may use the
same PEBS format without have the same list of PEBS events.
In this second version, we simplified the initialization of the PEBS
constraints by leveraging the existing switch() statement in perf_event_intel.c.
We also renamed the constraint tables to be more consistent with regular
constraints.
In this 3rd version, we drop BR_INST_RETIRED.MISPRED from Intel Atom as it does
not seem to work. Use MISPREDICTED_BRANCH_RETIRED instead. Also add FP_ASSIST.*
o both Intel Nehalem and Westmere. I misssed those in the earlier patches.
Events were tested using libpfm4 perf_examples.
Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <4d6e6b02.815bdf0a.637b.07a7@mx.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/msr-index.h')
0 files changed, 0 insertions, 0 deletions