diff options
author | Kan Liang <[email protected]> | 2021-01-28 14:40:08 -0800 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-02-01 15:31:36 +0100 |
commit | 628d923a3c464db98c1c98bb1e0cd50804caf681 (patch) | |
tree | 10389ee00dd04922b2dcb2ec089f733a15a32950 /scripts/gdb/linux/tasks.py | |
parent | 2a6c6b7d7ad346f0679d0963cb19b3f0ea7ef32c (diff) |
perf/x86/intel: Factor out intel_update_topdown_event()
Similar to Ice Lake, Intel Sapphire Rapids server also supports the
topdown performance metrics feature. The difference is that Intel
Sapphire Rapids server extends the PERF_METRICS MSR to feature TMA
method level two metrics, which will introduce 8 metrics events. Current
icl_update_topdown_event() only check 4 level one metrics events.
Factor out intel_update_topdown_event() to facilitate the code sharing
between Ice Lake and Sapphire Rapids.
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/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions