Searched refs:perf_cap (Results 1 – 4 of 4) sorted by relevance
176 struct perf_cap { struct182 static void process_hfi_event(struct perf_cap *perf_cap) in process_hfi_event() argument184 process_level_change(perf_cap->cpu); in process_hfi_event()193 struct perf_cap perf_cap = {0}; in handle_event() local206 perf_cap.cpu = nla_get_u32(cap); in handle_event()209 perf_cap.perf = nla_get_u32(cap); in handle_event()212 perf_cap.eff = nla_get_u32(cap); in handle_event()220 process_hfi_event(&perf_cap); in handle_event()
390 u64 perf_cap = 0; in vmx_get_perf_capabilities() local393 return perf_cap; in vmx_get_perf_capabilities()396 rdmsrl(MSR_IA32_PERF_CAPABILITIES, perf_cap); in vmx_get_perf_capabilities()398 perf_cap &= PMU_CAP_LBR_FMT; in vmx_get_perf_capabilities()404 return PMU_CAP_FW_WRITES | perf_cap; in vmx_get_perf_capabilities()
85 u8 perf_cap; member187 cpu_caps[i].performance = caps->perf_cap << 2; in get_hfi_caps()
4454 union perf_capabilities perf_cap; in intel_pmu_cpu_starting() local4456 rdmsrl(MSR_IA32_PERF_CAPABILITIES, perf_cap.capabilities); in intel_pmu_cpu_starting()4457 if (!perf_cap.perf_metrics) { in intel_pmu_cpu_starting()