Home
last modified time | relevance | path

Searched refs:num_counters_fixed (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/arch/x86/events/intel/
Dcore.c2848 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in intel_pmu_reset() local
2864 for (idx = 0; idx < num_counters_fixed; idx++) { in intel_pmu_reset()
2915 INTEL_PMC_IDX_FIXED + x86_pmu.num_counters_fixed) { in x86_pmu_handle_guest_pebs()
4522 if (!check_hw_exists(&pmu->pmu, pmu->num_counters, pmu->num_counters_fixed)) in init_hybrid_pmu()
4532 x86_pmu_show_pmu_cap(pmu->num_counters, pmu->num_counters_fixed, in init_hybrid_pmu()
5615 int *num_counters_fixed, in intel_pmu_check_num_counters() argument
5625 if (*num_counters_fixed > INTEL_PMC_MAX_FIXED) { in intel_pmu_check_num_counters()
5627 *num_counters_fixed, INTEL_PMC_MAX_FIXED); in intel_pmu_check_num_counters()
5628 *num_counters_fixed = INTEL_PMC_MAX_FIXED; in intel_pmu_check_num_counters()
5636 int num_counters_fixed, in intel_pmu_check_event_constraints() argument
[all …]
Dds.c1084 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in pebs_update_threshold() local
1092 reserved = max_pebs_events + num_counters_fixed; in pebs_update_threshold()
2097 mask |= ((1ULL << x86_pmu.num_counters_fixed) - 1) << INTEL_PMC_IDX_FIXED; in intel_pmu_drain_pebs_nhm()
2098 size = INTEL_PMC_IDX_FIXED + x86_pmu.num_counters_fixed; in intel_pmu_drain_pebs_nhm()
2194 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in intel_pmu_drain_pebs_icl() local
2210 (((1ULL << num_counters_fixed) - 1) << INTEL_PMC_IDX_FIXED); in intel_pmu_drain_pebs_icl()
2211 size = INTEL_PMC_IDX_FIXED + num_counters_fixed; in intel_pmu_drain_pebs_icl()
/Linux-v6.1/arch/x86/events/
Dcore.c251 bool check_hw_exists(struct pmu *pmu, int num_counters, int num_counters_fixed) in check_hw_exists() argument
276 if (num_counters_fixed) { in check_hw_exists()
281 for (i = 0; i < num_counters_fixed; i++) { in check_hw_exists()
1161 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in collect_events() local
1165 max_count = num_counters + num_counters_fixed; in collect_events()
1526 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in perf_event_print_debug() local
1571 for (idx = 0; idx < num_counters_fixed; idx++) { in perf_event_print_debug()
2041 void x86_pmu_show_pmu_cap(int num_counters, int num_counters_fixed, in x86_pmu_show_pmu_cap() argument
2050 hweight64((((1ULL << num_counters_fixed) - 1) in x86_pmu_show_pmu_cap()
2106 if (!check_hw_exists(&pmu, x86_pmu.num_counters, x86_pmu.num_counters_fixed)) in init_hw_perf_events()
[all …]
Dperf_event.h660 int num_counters_fixed; member
761 int num_counters_fixed; member
1109 int num_counters_fixed);
1180 void x86_pmu_show_pmu_cap(int num_counters, int num_counters_fixed,
/Linux-v6.1/arch/x86/kvm/
Dpmu.h182 kvm_pmu_cap.num_counters_fixed = min(kvm_pmu_cap.num_counters_fixed, in kvm_init_pmu_capability()
Dcpuid.c934 edx.split.num_counters_fixed = kvm_pmu_cap.num_counters_fixed; in __do_cpuid_func()
/Linux-v6.1/arch/x86/include/asm/
Dperf_event.h153 unsigned int num_counters_fixed:5; member
221 int num_counters_fixed; member
/Linux-v6.1/arch/x86/events/zhaoxin/
Dcore.c539 x86_pmu.num_counters_fixed = edx.split.num_counters_fixed; in zhaoxin_pmu_init()
602 x86_pmu.intel_ctrl |= ((1LL << x86_pmu.num_counters_fixed)-1) << INTEL_PMC_IDX_FIXED; in zhaoxin_pmu_init()
/Linux-v6.1/arch/x86/kvm/vmx/
Dpmu_intel.c554 (size_t) edx.split.num_counters_fixed, in intel_pmu_refresh()
555 (size_t)kvm_pmu_cap.num_counters_fixed); in intel_pmu_refresh()