Searched refs:enable_pmu (Results 1 – 9 of 9) sorted by relevance
174 enable_pmu = false; in kvm_init_pmu_capability()176 if (!enable_pmu) { in kvm_init_pmu_capability()
315 extern bool enable_pmu;
188 bool __read_mostly enable_pmu = true; variable189 EXPORT_SYMBOL_GPL(enable_pmu);190 module_param(enable_pmu, bool, 0444);4511 r = enable_pmu ? KVM_CAP_PMU_VALID_MASK : 0; in kvm_vm_ioctl_check_extension()6311 if (!enable_pmu || (cap->args[0] & ~KVM_CAP_PMU_VALID_MASK)) in kvm_vm_ioctl_enable_cap()6316 kvm->arch.enable_pmu = !(cap->args[0] & KVM_PMU_CAP_DISABLE); in kvm_vm_ioctl_enable_cap()12407 kvm->arch.enable_pmu = enable_pmu; in kvm_arch_init_vm()
42 if (!vcpu->kvm->arch.enable_pmu) in get_gp_pmc_amd()
4894 if (enable_pmu && boot_cpu_has(X86_FEATURE_PERFCTR_CORE)) in svm_set_cpu_caps()5037 if (!enable_pmu) in svm_hardware_setup()
404 if (!enable_pmu) in vmx_get_perf_capabilities()
530 if (!entry || !vcpu->kvm->arch.enable_pmu) in intel_pmu_refresh()
7689 if (!enable_pmu) in vmx_set_cpu_caps()8374 if (!enable_ept || !enable_pmu || !cpu_has_vmx_intel_pt()) in hardware_setup()
1254 bool enable_pmu; member