Home
last modified time | relevance | path

Searched refs:kvm_pmc (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/arch/x86/kvm/
Dpmu.c43 static bool pmc_is_gp(struct kvm_pmc *pmc) in pmc_is_gp()
48 static inline u64 pmc_bitmask(struct kvm_pmc *pmc) in pmc_bitmask()
55 static inline bool pmc_enabled(struct kvm_pmc *pmc) in pmc_enabled()
61 static inline struct kvm_pmc *get_gp_pmc(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc()
69 static inline struct kvm_pmc *get_fixed_pmc(struct kvm_pmu *pmu, u32 msr) in get_fixed_pmc()
77 static inline struct kvm_pmc *get_fixed_pmc_idx(struct kvm_pmu *pmu, int idx) in get_fixed_pmc_idx()
82 static struct kvm_pmc *global_idx_to_pmc(struct kvm_pmu *pmu, int idx) in global_idx_to_pmc()
110 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow()
121 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow_intr()
141 static u64 read_pmc(struct kvm_pmc *pmc) in read_pmc()
[all …]
/linux-4.1.27/arch/x86/include/asm/
Dkvm_host.h314 struct kvm_pmc { struct
335 struct kvm_pmc gp_counters[INTEL_PMC_MAX_GENERIC]; argument
336 struct kvm_pmc fixed_counters[INTEL_PMC_MAX_FIXED];