diff options
author | 2021-01-28 14:40:08 -0800 | |
---|---|---|
committer | 2021-02-01 15:31:36 +0100 | |
commit | 628d923a3c464db98c1c98bb1e0cd50804caf681 (patch) | |
tree | 10389ee00dd04922b2dcb2ec089f733a15a32950 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf/core: Add PERF_SAMPLE_WEIGHT_STRUCT (diff) | |
download | wireguard-linux-628d923a3c464db98c1c98bb1e0cd50804caf681.tar.xz wireguard-linux-628d923a3c464db98c1c98bb1e0cd50804caf681.zip |
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 <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1611873611-156687-3-git-send-email-kan.liang@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions