diff options
| author | Ingo Molnar <[email protected]> | 2011-04-27 09:51:41 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2011-04-26 17:34:34 +0000 |
| commit | ec75a71634dabe439db91c1ef51d5099f4493808 (patch) | |
| tree | bf62d417bd365f62d4a8afca02a93d37a106a339 /tools/perf/util/python.c | |
| parent | perf, x86: Fix BTS condition (diff) | |
| download | kernel-ec75a71634dabe439db91c1ef51d5099f4493808.tar.gz kernel-ec75a71634dabe439db91c1ef51d5099f4493808.zip | |
perf events, x86: Work around the Nehalem AAJ80 erratum
On Nehalem CPUs the retired branch-misses event can be completely bogus,
when there are no branch-misses occuring. When there are a lot of branch
misses then the count is pretty accurate. Still, this leaves us with an
event that over-counts a lot.
Detect this erratum and work it around by using BR_MISP_EXEC.ANY events.
These will also count speculated branches but still it's a lot more
precise in practice than the architectural event.
Acked-by: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
