On Tue, Sep 20, 2022 at 10:46 AM Aaron Lewis <aaronlewis@xxxxxxxxxx> wrote: > > Add testing to show that a pmu event can be filtered with a generalized > match on it's unit mask. > > These tests set up test cases to demonstrate various ways of filtering > a pmu event that has multiple unit mask values. It does this by > setting up the filter in KVM with the masked events provided, then > enabling three pmu counters in the guest. The test then verifies that > the pmu counters agree with which counters should be counting and which > counters should be filtered for both a sparse filter list and a dense > filter list. > > Signed-off-by: Aaron Lewis <aaronlewis@xxxxxxxxxx> Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>