[PATCH 04/31] perf, x86: Support the TSX intx/intx_cp qualifiers

2012-10-02 Thread Andi Kleen
From: Andi Kleen Implement the TSX transaction and checkpointed transaction qualifiers for Haswell. This allows e.g. to profile the number of cycles in transactions. The checkpointed qualifier requires forcing the event to counter 2, implement this with a custom constraint for Haswell. Also

[PATCH 04/31] perf, x86: Support the TSX intx/intx_cp qualifiers

2012-10-02 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Implement the TSX transaction and checkpointed transaction qualifiers for Haswell. This allows e.g. to profile the number of cycles in transactions. The checkpointed qualifier requires forcing the event to counter 2, implement this with a custom constraint