diff options
author | Andi Kleen <[email protected]> | 2013-09-05 20:37:39 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-09-12 19:13:34 +0200 |
commit | 748e86aa90edfddfa6016f1cf383ff5bc6aada91 (patch) | |
tree | 593a34c47e1ba18adfc11108f57fdc2d90f68727 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2dbf0116aa8c7bfa900352d3f7b2609748fcc1c5 (diff) |
perf/x86: Report TSX transaction abort cost as weight
Use the existing weight reporting facility to report the transaction
abort cost, that is the number of cycles wasted in aborts.
Haswell reports this in the PEBS record.
This was in fact the original user for weight.
This is a very useful sort key to concentrate on the most
costly aborts and a good metric for TSX tuning.
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions