Home
last modified time | relevance | path

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

/Linux-v6.6/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()
2040 void x86_pmu_show_pmu_cap(int num_counters, int num_counters_fixed, in x86_pmu_show_pmu_cap() argument
2049 hweight64((((1ULL << num_counters_fixed) - 1) in x86_pmu_show_pmu_cap()
2088 if (!check_hw_exists(&pmu, x86_pmu.num_counters, x86_pmu.num_counters_fixed)) in init_hw_perf_events()
[all …]
Dperf_event.h664 int num_counters_fixed; member
765 int num_counters_fixed; member
1114 int num_counters_fixed);
1185 void x86_pmu_show_pmu_cap(int num_counters, int num_counters_fixed,
/Linux-v6.6/arch/x86/events/intel/
Dcore.c2879 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in intel_pmu_reset() local
2895 for (idx = 0; idx < num_counters_fixed; idx++) { in intel_pmu_reset()
2946 INTEL_PMC_IDX_FIXED + x86_pmu.num_counters_fixed) { in x86_pmu_handle_guest_pebs()
4618 int *num_counters_fixed,
4630 pmu->num_counters_fixed = fls(ebx); in update_pmu_cap()
4631 intel_pmu_check_num_counters(&pmu->num_counters, &pmu->num_counters_fixed, in update_pmu_cap()
4664 if (!check_hw_exists(&pmu->pmu, pmu->num_counters, pmu->num_counters_fixed)) in init_hybrid_pmu()
4674 x86_pmu_show_pmu_cap(pmu->num_counters, pmu->num_counters_fixed, in init_hybrid_pmu()
5797 int *num_counters_fixed, in intel_pmu_check_num_counters() argument
5807 if (*num_counters_fixed > INTEL_PMC_MAX_FIXED) { in intel_pmu_check_num_counters()
[all …]
Dds.c1140 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in pebs_update_threshold() local
1148 reserved = max_pebs_events + num_counters_fixed; in pebs_update_threshold()
2173 mask |= ((1ULL << x86_pmu.num_counters_fixed) - 1) << INTEL_PMC_IDX_FIXED; in intel_pmu_drain_pebs_nhm()
2174 size = INTEL_PMC_IDX_FIXED + x86_pmu.num_counters_fixed; in intel_pmu_drain_pebs_nhm()
2270 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in intel_pmu_drain_pebs_icl() local
2286 (((1ULL << num_counters_fixed) - 1) << INTEL_PMC_IDX_FIXED); in intel_pmu_drain_pebs_icl()
2287 size = INTEL_PMC_IDX_FIXED + num_counters_fixed; in intel_pmu_drain_pebs_icl()
/Linux-v6.6/arch/x86/kvm/
Dpmu.h219 kvm_pmu_cap.num_counters_fixed = min(kvm_pmu_cap.num_counters_fixed, in kvm_init_pmu_capability()
Dcpuid.c989 edx.split.num_counters_fixed = kvm_pmu_cap.num_counters_fixed; in __do_cpuid_func()
Dx86.c7181 kvm_pmu_cap.num_counters_fixed) in kvm_probe_msr_to_save()
/Linux-v6.6/arch/x86/events/zhaoxin/
Dcore.c539 x86_pmu.num_counters_fixed = edx.split.num_counters_fixed; in zhaoxin_pmu_init()
608 x86_pmu.intel_ctrl |= ((1LL << x86_pmu.num_counters_fixed)-1) << INTEL_PMC_IDX_FIXED; in zhaoxin_pmu_init()
/Linux-v6.6/arch/x86/include/asm/
Dperf_event.h166 unsigned int num_counters_fixed:5; member
242 int num_counters_fixed; member
/Linux-v6.6/arch/x86/kvm/vmx/
Dpmu_intel.c542 pmu->nr_arch_fixed_counters = min_t(int, edx.split.num_counters_fixed, in intel_pmu_refresh()
543 kvm_pmu_cap.num_counters_fixed); in intel_pmu_refresh()