Home
last modified time | relevance | path

Searched refs:pmu_filter (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/kvm/
Dpmu-emul.c631 if (vcpu->kvm->arch.pmu_filter && in kvm_pmu_create_perf_event()
632 !test_bit(eventsel, vcpu->kvm->arch.pmu_filter)) in kvm_pmu_create_perf_event()
790 unsigned long *bmap = vcpu->kvm->arch.pmu_filter; in kvm_pmu_get_pmceid()
978 if (!vcpu->kvm->arch.pmu_filter) { in kvm_arm_pmu_v3_set_attr()
979 vcpu->kvm->arch.pmu_filter = bitmap_alloc(nr_events, GFP_KERNEL); in kvm_arm_pmu_v3_set_attr()
980 if (!vcpu->kvm->arch.pmu_filter) { in kvm_arm_pmu_v3_set_attr()
992 bitmap_zero(vcpu->kvm->arch.pmu_filter, nr_events); in kvm_arm_pmu_v3_set_attr()
994 bitmap_fill(vcpu->kvm->arch.pmu_filter, nr_events); in kvm_arm_pmu_v3_set_attr()
998 bitmap_set(vcpu->kvm->arch.pmu_filter, filter.base_event, filter.nevents); in kvm_arm_pmu_v3_set_attr()
1000 bitmap_clear(vcpu->kvm->arch.pmu_filter, filter.base_event, filter.nevents); in kvm_arm_pmu_v3_set_attr()
Darm.c166 bitmap_free(kvm->arch.pmu_filter); in kvm_arch_destroy_vm()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_host.h119 unsigned long *pmu_filter; member