Searched refs:perf_capabilities (Results 1 – 8 of 8) sorted by relevance
/linux/arch/x86/kvm/vmx/ |
H A D | pmu_intel.c | 116 return vcpu->arch.perf_capabilities; in vcpu_get_perf_capabilities() 153 u64 perf_capabilities; in intel_is_valid_msr() local 166 perf_capabilities = vcpu_get_perf_capabilities(vcpu); in intel_is_valid_msr() 167 ret = (perf_capabilities & PERF_CAP_PEBS_BASELINE) && in intel_is_valid_msr() 168 ((perf_capabilities & PERF_CAP_PEBS_FORMAT) > 3); in intel_is_valid_msr() 466 u64 perf_capabilities; in intel_pmu_refresh() local 544 perf_capabilities = vcpu_get_perf_capabilities(vcpu); in intel_pmu_refresh() 546 (perf_capabilities & PMU_CAP_LBR_FMT)) in intel_pmu_refresh() 554 if (perf_capabilities & PERF_CAP_PEBS_FORMAT) { in intel_pmu_refresh() 555 if (perf_capabilities & PERF_CAP_PEBS_BASELINE) { in intel_pmu_refresh()
|
/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 | perf_event.h | 610 union perf_capabilities { union 695 union perf_capabilities intel_cap; 863 union perf_capabilities intel_cap;
|
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/include/asm/ |
H A D | kvm_host.h | 778 u64 perf_capabilities; member
|
/linux/arch/x86/events/intel/ |
H A D | core.c | 3943 union perf_capabilities *intel_cap = &hybrid(event->pmu, intel_cap); in intel_pmu_has_cap() 5017 union perf_capabilities perf_cap; in intel_pmu_cpu_starting()
|
/linux/arch/x86/kvm/ |
H A D | x86.c | 3811 if (vcpu->arch.perf_capabilities == data) in kvm_set_msr_common() 3814 vcpu->arch.perf_capabilities = data; in kvm_set_msr_common() 4264 msr_info->data = vcpu->arch.perf_capabilities; in kvm_get_msr_common() 12302 vcpu->arch.perf_capabilities = kvm_caps.supported_perf_cap; in kvm_arch_vcpu_create()
|