diff options
author | Kan Liang <[email protected]> | 2020-12-08 12:05:52 -0800 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-12-09 17:08:59 +0100 |
commit | c2208046bba6842dc232a600dc5cafc2fca41078 (patch) | |
tree | 8c7fde96eda875ed00486a8438e95ff10e0dcc30 /drivers/media/i2c/ccs/ccs-data.c | |
parent | bd11952b400fdfdf3b017500ad6475f5b624d167 (diff) |
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 'drivers/media/i2c/ccs/ccs-data.c')
0 files changed, 0 insertions, 0 deletions