]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86: Suppress duplicated abort LBR records
authorAndi Kleen <ak@linux.intel.com>
Fri, 20 Sep 2013 14:40:44 +0000 (07:40 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 4 Oct 2013 08:06:16 +0000 (10:06 +0200)
commit522d985083072dae773f6f1377208884cfb9e833
treed6fc45600ecb9af6eb96c114269fa22b19c732db
parent57d7c82b5fd38511758f0db1fd3db6f1f5bf7ba5
perf/x86: Suppress duplicated abort LBR records

Haswell always give an extra LBR record after every TSX abort.
Suppress the extra record.

This only works when the abort is visible in the LBR
If the original abort has already left the 16 LBR entries
the extra entry will will stay.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1379688044-14173-7-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event.h
arch/x86/kernel/cpu/perf_event_intel.c
arch/x86/kernel/cpu/perf_event_intel_lbr.c