From: Andi Kleen Date: Fri, 6 Sep 2013 03:37:39 +0000 (-0700) Subject: perf/x86: Report TSX transaction abort cost as weight X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=748e86aa90edfddfa6016f1cf383ff5bc6aada91;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1378438661-24765-3-git-send-email-andi@firstfloor.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed