Home
last modified time | relevance | path

Searched refs:perf_capabilities (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/kvm/x86_64/
H A Dvmx_pmu_caps_test.c21 static union perf_capabilities { union
41 static const union perf_capabilities immutable_caps = {
49 static const union perf_capabilities format_caps = {
153 union perf_capabilities val = host_cap; in KVM_ONE_VCPU_TEST()
H A Dpmu_counters_test.c39 uint64_t perf_capabilities) in pmu_vm_create_with_one_vcpu() argument
51 vcpu_set_msr(*vcpu, MSR_IA32_PERF_CAPABILITIES, perf_capabilities); in pmu_vm_create_with_one_vcpu()
296 static void test_arch_events(uint8_t pmu_version, uint64_t perf_capabilities, in test_arch_events() argument
307 pmu_version, perf_capabilities); in test_arch_events()
460 static void test_gp_counters(uint8_t pmu_version, uint64_t perf_capabilities, in test_gp_counters() argument
467 pmu_version, perf_capabilities); in test_gp_counters()
526 static void test_fixed_counters(uint8_t pmu_version, uint64_t perf_capabilities, in test_fixed_counters() argument
534 pmu_version, perf_capabilities); in test_fixed_counters()
/linux/arch/x86/events/
H A Dcore.c1143 union perf_capabilities intel_cap = hybrid(cpuc->pmu, intel_cap); in collect_event()
1613 union perf_capabilities intel_cap = hybrid(cpuc->pmu, intel_cap); in x86_pmu_del()
/linux/arch/x86/events/intel/
H A Dcore.c3953 union perf_capabilities *intel_cap = &hybrid(event->pmu, intel_cap); in intel_pmu_has_cap()
5058 union perf_capabilities perf_cap; in intel_pmu_cpu_starting()
/linux/arch/x86/kvm/
H A Dx86.c3787 if (vcpu->arch.perf_capabilities == data) in kvm_set_msr_common()
3790 vcpu->arch.perf_capabilities = data; in kvm_set_msr_common()
4236 msr_info->data = vcpu->arch.perf_capabilities; in kvm_get_msr_common()
12287 vcpu->arch.perf_capabilities = kvm_caps.supported_perf_cap; in kvm_arch_vcpu_create()