perf/x86: Add Haswell specific transaction flag reporting
authorAndi Kleen <ak@linux.intel.com>
Fri, 20 Sep 2013 14:40:40 +0000 (07:40 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 4 Oct 2013 08:06:09 +0000 (10:06 +0200)
commita405bad5ad2086766ce320b16a56952e013327f8
tree2e577b0cfd44f540e76cf24b10965eb75fc9d272
parentfdfbbd07e91f8fe387140776f3fd94605f0c89e5
perf/x86: Add Haswell specific transaction flag reporting

In the PEBS handler report the transaction flags using the new
generic transaction flags facility. Most of them come from
the "tsx_tuning" field in PEBSv2, but the abort code is derived
from the RAX register reported in the PEBS record.

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-3-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_ds.c