Home
last modified time | relevance | path

Searched refs:gp_counters (Results 1 – 4 of 4) sorted by relevance

/arch/x86/kvm/
Dpmu_amd.c89 counters = pmu->gp_counters; in amd_msr_idx_to_pmc()
173 pmu->gp_counters[i].type = KVM_PMC_GP; in amd_pmu_init()
174 pmu->gp_counters[i].vcpu = vcpu; in amd_pmu_init()
175 pmu->gp_counters[i].idx = i; in amd_pmu_init()
185 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in amd_pmu_reset()
Dpmu_intel.c140 counters = fixed ? pmu->fixed_counters : pmu->gp_counters; in intel_msr_idx_to_pmc()
314 pmu->gp_counters[i].type = KVM_PMC_GP; in intel_pmu_init()
315 pmu->gp_counters[i].vcpu = vcpu; in intel_pmu_init()
316 pmu->gp_counters[i].idx = i; in intel_pmu_init()
332 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in intel_pmu_reset()
Dpmu.h84 return &pmu->gp_counters[msr - base]; in get_gp_pmc()
/arch/x86/include/asm/
Dkvm_host.h397 struct kvm_pmc gp_counters[INTEL_PMC_MAX_GENERIC]; member