Re: [PATCH v2 1/6] KVM: x86/pmu: Setup pmc->eventsel for fixed PMCs

From: Like Xu
Date: Fri Dec 10 2021 - 05:20:57 EST


On 10/12/2021 2:49 am, Paolo Bonzini wrote:

or we modify find_fixed_event and its caller to support PERF_TYPE_RAW
counters, and then add support for the IceLake TOPDOWN.SLOTS fixed
counter.

It looks like the TOPDOWN approach from "Yasin Ahmad"
has recently been widely advertised among developers.

But I still need bandwidth to clean up some perf driver stuff
in order to enable topdown counter smoothly in the guest.

cc linux-perf-users@xxxxxxxxxxxxxxx for user voices.


What's your preference?

Paolo