Searched refs:kvm_pmc (Results 1 – 4 of 4) sorted by relevance
| /linux/arch/x86/kvm/ |
| H A D | pmu.c | 200 static inline void __kvm_perf_overflow(struct kvm_pmc *pmc, bool in_pmi) in __kvm_perf_overflow() 231 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_perf_overflow() 246 static u64 pmc_get_pebs_precise_level(struct kvm_pmc *pmc) in pmc_get_pebs_precise_level() 268 static u64 get_sample_period(struct kvm_pmc *pmc, u64 counter_value) in get_sample_period() 277 static int pmc_reprogram_counter(struct kvm_pmc *pmc, u32 type, u64 config, in pmc_reprogram_counter() 331 static bool pmc_pause_counter(struct kvm_pmc *pmc) in pmc_pause_counter() 357 static bool pmc_resume_counter(struct kvm_pmc *pmc) in pmc_resume_counter() 379 static void pmc_release_perf_event(struct kvm_pmc *pmc) in pmc_release_perf_event() 389 static void pmc_stop_counter(struct kvm_pmc *pmc) in pmc_stop_counter() 397 static void pmc_update_sample_period(struct kvm_pmc *pmc) in pmc_update_sample_period() [all …]
|
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_pmu.c | 41 static u64 kvm_pmu_get_sample_period(struct kvm_pmc *pmc) in kvm_pmu_get_sample_period() 83 static void kvm_pmu_release_perf_event(struct kvm_pmc *pmc) in kvm_pmu_release_perf_event() 213 struct kvm_pmc *pmc; in pmu_fw_ctr_read_hi() 251 struct kvm_pmc *pmc; in pmu_ctr_read() 300 struct kvm_pmc *pmc = perf_event->overflow_handler_context; in kvm_riscv_pmu_overflow() 337 static long kvm_pmu_create_perf_event(struct kvm_pmc *pmc, struct perf_event_attr *attr, in kvm_pmu_create_perf_event() 580 struct kvm_pmc *pmc; in kvm_riscv_vcpu_pmu_ctr_start() 657 struct kvm_pmc *pmc; in kvm_riscv_vcpu_pmu_ctr_stop() 760 struct kvm_pmc *pmc = NULL; in kvm_riscv_vcpu_pmu_ctr_cfg_match() 859 struct kvm_pmc *pmc; in kvm_riscv_vcpu_pmu_init() [all …]
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | pmu_intel.c | 69 struct kvm_pmc *pmc; in reprogram_fixed_counters() 88 static struct kvm_pmc *intel_rdpmc_ecx_to_pmc(struct kvm_vcpu *vcpu, in intel_rdpmc_ecx_to_pmc() 93 struct kvm_pmc *counters; in intel_rdpmc_ecx_to_pmc() 141 static inline struct kvm_pmc *get_fw_gp_pmc(struct kvm_pmu *pmu, u32 msr) in get_fw_gp_pmc() 217 static struct kvm_pmc *intel_msr_idx_to_pmc(struct kvm_vcpu *vcpu, u32 msr) in intel_msr_idx_to_pmc() 220 struct kvm_pmc *pmc; in intel_msr_idx_to_pmc() 345 struct kvm_pmc *pmc; in intel_pmu_get_msr() 388 struct kvm_pmc *pmc; in intel_pmu_set_msr() 757 struct kvm_pmc *pmc; in __intel_pmu_compute_pebs_enable()
|
| /linux/arch/x86/include/asm/ |
| H A D | kvm_host.h | 524 struct kvm_pmc { struct 585 struct kvm_pmc gp_counters[KVM_MAX_NR_GP_COUNTERS]; 586 struct kvm_pmc fixed_counters[KVM_MAX_NR_FIXED_COUNTERS];
|