Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dpmu.c42 static bool pmc_is_gp(struct kvm_pmc *pmc) in pmc_is_gp()
47 static inline u64 pmc_bitmask(struct kvm_pmc *pmc) in pmc_bitmask()
54 static inline bool pmc_enabled(struct kvm_pmc *pmc) in pmc_enabled()
60 static inline struct kvm_pmc *get_gp_pmc(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc()
68 static inline struct kvm_pmc *get_fixed_pmc(struct kvm_pmu *pmu, u32 msr) in get_fixed_pmc()
76 static inline struct kvm_pmc *get_fixed_pmc_idx(struct kvm_pmu *pmu, int idx) in get_fixed_pmc_idx()
81 static struct kvm_pmc *global_idx_to_pmc(struct kvm_pmu *pmu, int idx) in global_idx_to_pmc()
109 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow()
117 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow_intr()
137 static u64 read_pmc(struct kvm_pmc *pmc) in read_pmc()
[all …]
/arch/x86/include/asm/
Dkvm_host.h294 struct kvm_pmc { struct
314 struct kvm_pmc gp_counters[X86_PMC_MAX_GENERIC]; argument
315 struct kvm_pmc fixed_counters[X86_PMC_MAX_FIXED];