Searched refs:perf_capabilities (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_pmu_caps_test.c | 21 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 D | pmu_counters_test.c | 39 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 D | core.c | 1143 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 D | core.c | 3953 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 D | x86.c | 3787 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()
|