• Home
  • Raw
  • Download

Lines Matching refs:kvm_pmc

42 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()
152 static void stop_counter(struct kvm_pmc *pmc) in stop_counter()
161 static void reprogram_counter(struct kvm_pmc *pmc, u32 type, in reprogram_counter()
209 static void reprogram_gp_counter(struct kvm_pmc *pmc, u64 eventsel) in reprogram_gp_counter()
245 static void reprogram_fixed_counter(struct kvm_pmc *pmc, u8 en_pmi, int idx) in reprogram_fixed_counter()
273 struct kvm_pmc *pmc = get_fixed_pmc_idx(pmu, i); in reprogram_fixed_counters()
286 struct kvm_pmc *pmc = global_idx_to_pmc(pmu, idx); in reprogram_idx()
335 struct kvm_pmc *pmc; in kvm_pmu_get_msr()
366 struct kvm_pmc *pmc; in kvm_pmu_set_msr()
417 struct kvm_pmc *counters; in kvm_pmu_read_pmc()
502 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in kvm_pmu_reset()
528 struct kvm_pmc *pmc = global_idx_to_pmc(pmu, bit); in kvm_handle_pmu_event()