summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2021-01-28 14:40:08 -0800
committerPeter Zijlstra <peterz@infradead.org>2021-02-01 15:31:36 +0100
commit628d923a3c464db98c1c98bb1e0cd50804caf681 (patch)
tree10389ee00dd04922b2dcb2ec089f733a15a32950 /include/net
parent2a6c6b7d7ad346f0679d0963cb19b3f0ea7ef32c (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 <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 'include/net')
0 files changed, 0 insertions, 0 deletions