aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2017-11-08 16:07:18 -0800
committerThomas Gleixner <[email protected]>2017-11-13 17:03:38 +0100
commit58ba4d5a25579e5c7e312bd359c95f3a9a0a242c (patch)
tree7f684a26e11191d570f1b072138f3cee48ca4423 /tools/perf/util/annotate.c
parent516fb7f2e73dcc303fb97fc3593209fcacf2d982 (diff)
perf/x86/intel: Hide TSX events when RTM is not supported
0day testing reported a perf test regression on Haswell systems without RTM. Commit a5df70c35 hides the in_tx/in_tx_cp attributes when RTM is not available, but the TSX events are still available in sysfs. Due to the missing attributes the event parser fails on those files. Don't show the TSX events in sysfs when RTM is not available on Haswell/Broadwell/Skylake. Fixes: a5df70c354c2 (perf/x86: Only show format attributes when supported) Reported-by: kernel test robot <[email protected]> Tested-by: Jin Yao <[email protected]> Signed-off-by: Andi Kleen <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions