Home
last modified time | relevance | path

Searched defs:kvm_pmu_ops (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Dpmu.h26 struct kvm_pmu_ops { struct
27 unsigned int (*pmc_perf_hw_id)(struct kvm_pmc *pmc);
28 unsigned (*find_fixed_event)(int idx);
29 bool (*pmc_is_enabled)(struct kvm_pmc *pmc);
30 struct kvm_pmc *(*pmc_idx_to_pmc)(struct kvm_pmu *pmu, int pmc_idx);
31 struct kvm_pmc *(*rdpmc_ecx_to_pmc)(struct kvm_vcpu *vcpu,
33 struct kvm_pmc *(*msr_idx_to_pmc)(struct kvm_vcpu *vcpu, u32 msr);
34 int (*is_valid_rdpmc_ecx)(struct kvm_vcpu *vcpu, unsigned int idx);
35 bool (*is_valid_msr)(struct kvm_vcpu *vcpu, u32 msr);
36 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
[all …]