diff options
author | 2021-04-26 16:16:12 +0300 | |
---|---|---|
committer | 2021-05-18 12:53:56 +0200 | |
commit | f471fac77b41a2573c7b677ef790bf18a0e64195 (patch) | |
tree | 01f022d35139a588ebb9611c878f13993f168a65 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf/x86/intel/uncore: Drop unnecessary NULL checks after container_of() (diff) | |
download | linux-dev-f471fac77b41a2573c7b677ef790bf18a0e64195.tar.xz linux-dev-f471fac77b41a2573c7b677ef790bf18a0e64195.zip |
perf/x86/intel/uncore: Generalize I/O stacks to PMON mapping procedure
Currently I/O stacks to IIO PMON mapping is available on Skylake servers
only and need to make code more general to easily enable further platforms.
So, introduce get_topology() callback in struct intel_uncore_type which
allows to move common code to separate function and make mapping procedure
more general.
Signed-off-by: Alexander Antonov <alexander.antonov@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Link: https://lkml.kernel.org/r/20210426131614.16205-2-alexander.antonov@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions