perf, x86: Add parts of the remaining haswell PMU functionality v4

2013-08-31 Thread Andi Kleen
[v2: Added Peter's changes to the PEBS handler] [v3: Addressed Arnaldo's feedback for the perf stat -T change and avoid conflict] [v4: Remove XXX comment in checkpoint patch. Add Arnaldo's ack for tools patch] Add some more TSX functionality to the basic Haswell PMU. A lot of the

perf, x86: Add parts of the remaining haswell PMU functionality v4

2013-08-31 Thread Andi Kleen
[v2: Added Peter's changes to the PEBS handler] [v3: Addressed Arnaldo's feedback for the perf stat -T change and avoid conflict] [v4: Remove XXX comment in checkpoint patch. Add Arnaldo's ack for tools patch] Add some more TSX functionality to the basic Haswell PMU. A lot of the