diff options
| author | Alexander Antonov <[email protected]> | 2021-04-26 13:16:12 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-05-18 10:53:56 +0000 |
| commit | f471fac77b41a2573c7b677ef790bf18a0e64195 (patch) | |
| tree | 01f022d35139a588ebb9611c878f13993f168a65 /tools/bpf/bpftool/prog.c | |
| parent | perf/x86/intel/uncore: Drop unnecessary NULL checks after container_of() (diff) | |
| download | kernel-f471fac77b41a2573c7b677ef790bf18a0e64195.tar.gz kernel-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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Kan Liang <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
