Home
last modified time | relevance | path

Searched refs:fixed_counters (Results 1 – 5 of 5) sorted by relevance

/arch/x86/xen/
Dpmu.c221 fix_counters = field_offset(ctxt, fixed_counters); in xen_intel_pmu_emulate()
360 uint64_t *fixed_counters; in xen_intel_read_pmc() local
379 fixed_counters = field_offset(ctxt, fixed_counters); in xen_intel_read_pmc()
380 return fixed_counters[counter & 0xffff]; in xen_intel_read_pmc()
/arch/x86/kvm/vmx/
Dpmu_intel.c147 counters = pmu->fixed_counters; in intel_rdpmc_ecx_to_pmc()
573 pmu->fixed_counters[i].type = KVM_PMC_FIXED; in intel_pmu_init()
574 pmu->fixed_counters[i].vcpu = vcpu; in intel_pmu_init()
575 pmu->fixed_counters[i].idx = i + INTEL_PMC_IDX_FIXED; in intel_pmu_init()
576 pmu->fixed_counters[i].current_config = 0; in intel_pmu_init()
599 pmc = &pmu->fixed_counters[i]; in intel_pmu_reset()
/arch/x86/include/asm/xen/
Dinterface.h286 uint32_t fixed_counters; member
/arch/x86/kvm/
Dpmu.h129 return &pmu->fixed_counters[index]; in get_fixed_pmc()
/arch/x86/include/asm/
Dkvm_host.h512 struct kvm_pmc fixed_counters[INTEL_PMC_MAX_FIXED]; member