aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2020-12-08 20:05:52 +0000
committerPeter Zijlstra <[email protected]>2020-12-09 16:08:59 +0000
commitc2208046bba6842dc232a600dc5cafc2fca41078 (patch)
tree8c7fde96eda875ed00486a8438e95ff10e0dcc30 /scripts/gcc-plugins/structleak_plugin.c
parentuprobes/x86: Fix fall-through warnings for Clang (diff)
downloadkernel-c2208046bba6842dc232a600dc5cafc2fca41078.tar.gz
kernel-c2208046bba6842dc232a600dc5cafc2fca41078.zip
perf/x86/intel: Add Tremont Topdown support
Tremont has four L1 Topdown events, TOPDOWN_FE_BOUND.ALL, TOPDOWN_BAD_SPECULATION.ALL, TOPDOWN_BE_BOUND.ALL and TOPDOWN_RETIRING.ALL. They are available on GP counters. Export them to sysfs and facilitate the perf stat tool. $perf stat --topdown -- sleep 1 Performance counter stats for 'sleep 1': retiring bad speculation frontend bound backend bound 24.9% 16.8% 31.7% 26.6% 1.001224610 seconds time elapsed 0.001150000 seconds user 0.000000000 seconds sys Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions