Home
last modified time | relevance | path

Searched refs:perf_capabilities (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
H A Dvmx_pmu_caps_test.c21 union perf_capabilities { union
41 static const union perf_capabilities immutable_caps = {
49 static const union perf_capabilities format_caps = {
81 static void test_guest_wrmsr_perf_capabilities(union perf_capabilities host_cap) in test_guest_wrmsr_perf_capabilities()
128 static void test_basic_perf_capabilities(union perf_capabilities host_cap) in test_basic_perf_capabilities()
139 static void test_fungible_perf_capabilities(union perf_capabilities host_cap) in test_fungible_perf_capabilities()
163 static void test_immutable_perf_capabilities(union perf_capabilities host_cap) in test_immutable_perf_capabilities()
171 union perf_capabilities val = host_cap; in test_immutable_perf_capabilities()
214 static void test_lbr_perf_capabilities(union perf_capabilities host_cap) in test_lbr_perf_capabilities()
238 union perf_capabilities host_ca in main()
[all...]
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/
H A Dpmu_intel.c166 return vcpu->arch.perf_capabilities; in vcpu_get_perf_capabilities()
203 u64 perf_capabilities; in intel_is_valid_msr() local
216 perf_capabilities = vcpu_get_perf_capabilities(vcpu); in intel_is_valid_msr()
217 ret = (perf_capabilities & PERF_CAP_PEBS_BASELINE) && in intel_is_valid_msr()
218 ((perf_capabilities & PERF_CAP_PEBS_FORMAT) > 3); in intel_is_valid_msr()
492 u64 perf_capabilities; in intel_pmu_refresh() local
582 perf_capabilities = vcpu_get_perf_capabilities(vcpu); in intel_pmu_refresh()
584 (perf_capabilities & PMU_CAP_LBR_FMT)) in intel_pmu_refresh()
592 if (perf_capabilities & PERF_CAP_PEBS_FORMAT) { in intel_pmu_refresh()
593 if (perf_capabilities in intel_pmu_refresh()
[all...]
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dpmu_intel.c164 return vcpu->arch.perf_capabilities; in vcpu_get_perf_capabilities()
422 vcpu->arch.perf_capabilities = vmx_get_perf_capabilities(); in intel_pmu_init()
/kernel/linux/linux-6.6/arch/x86/events/
H A Dperf_event.h596 union perf_capabilities { union
660 union perf_capabilities intel_cap;
825 union perf_capabilities intel_cap;
H A Dcore.c1137 union perf_capabilities intel_cap = hybrid(cpuc->pmu, intel_cap); in collect_event()
1608 union perf_capabilities intel_cap = hybrid(cpuc->pmu, intel_cap); in x86_pmu_del()
/kernel/linux/linux-5.10/arch/x86/events/
H A Dperf_event.h575 union perf_capabilities { union
717 union perf_capabilities intel_cap;
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dkvm_host.h562 u64 perf_capabilities; member
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dkvm_host.h752 u64 perf_capabilities; member
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Dcore.c3879 union perf_capabilities *intel_cap = &hybrid(event->pmu, intel_cap); in intel_pmu_has_cap()
4725 union perf_capabilities perf_cap; in intel_pmu_cpu_starting()
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dx86.c3671 if (vcpu->arch.perf_capabilities == data) in kvm_set_msr_common()
3674 vcpu->arch.perf_capabilities = data; in kvm_set_msr_common()
4108 msr_info->data = vcpu->arch.perf_capabilities; in kvm_get_msr_common()
11930 vcpu->arch.perf_capabilities = kvm_caps.supported_perf_cap; in kvm_arch_vcpu_create()
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dcore.c4101 union perf_capabilities perf_cap; in intel_pmu_cpu_starting()
/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dx86.c3161 vcpu->arch.perf_capabilities = data; in kvm_set_msr_common()
3529 msr_info->data = vcpu->arch.perf_capabilities; in kvm_get_msr_common()

Completed in 90 milliseconds