diff options
author | Kan Liang <[email protected]> | 2024-06-14 06:46:28 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2024-06-17 17:57:57 +0200 |
commit | b1d9ea2e1ca44987c8409cc628dfb0c84e93dce9 (patch) | |
tree | 5d0209b337f5d3a8e09bc5fb66464a11da395438 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 80580dae65b941eb681bd79f31f64f91b58232b4 (diff) |
perf/x86/uncore: Apply the unit control RB tree to MSR uncore units
The unit control RB tree has the unit control and unit ID information
for all the MSR units. Use them to replace the box_ctl and
uncore_msr_box_ctl() to get an accurate unit control address for MSR
uncore units.
Add intel_generic_uncore_assign_hw_event(), which utilizes the accurate
unit control address from the unit control RB tree to calculate the
config_base and event_base.
The unit id related information should be retrieved from the unit
control RB tree as well.
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Yunying Sun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions