Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/events/
Dcore.c248 bool check_hw_exists(struct pmu *pmu, int num_counters, int num_counters_fixed) in check_hw_exists() argument
273 if (num_counters_fixed) { in check_hw_exists()
278 for (i = 0; i < num_counters_fixed; i++) { in check_hw_exists()
1157 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in collect_events() local
1161 max_count = num_counters + num_counters_fixed; in collect_events()
1531 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in perf_event_print_debug() local
1576 for (idx = 0; idx < num_counters_fixed; idx++) { in perf_event_print_debug()
2034 void x86_pmu_show_pmu_cap(int num_counters, int num_counters_fixed, in x86_pmu_show_pmu_cap() argument
2043 hweight64((((1ULL << num_counters_fixed) - 1) in x86_pmu_show_pmu_cap()
2098 if (!check_hw_exists(&pmu, x86_pmu.num_counters, x86_pmu.num_counters_fixed)) in init_hw_perf_events()
[all …]
Dperf_event.h645 int num_counters_fixed; member
741 int num_counters_fixed; member
1080 int num_counters_fixed);
1146 void x86_pmu_show_pmu_cap(int num_counters, int num_counters_fixed,
/Linux-v5.15/arch/x86/include/asm/
Dperf_event.h138 unsigned int num_counters_fixed:5; member
190 int num_counters_fixed; member
/Linux-v5.15/arch/x86/events/intel/
Dcore.c2746 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in intel_pmu_reset() local
2762 for (idx = 0; idx < num_counters_fixed; idx++) { in intel_pmu_reset()
4328 if (!check_hw_exists(&pmu->pmu, pmu->num_counters, pmu->num_counters_fixed)) in init_hybrid_pmu()
4338 x86_pmu_show_pmu_cap(pmu->num_counters, pmu->num_counters_fixed, in init_hybrid_pmu()
5397 int *num_counters_fixed, in intel_pmu_check_num_counters() argument
5407 if (*num_counters_fixed > INTEL_PMC_MAX_FIXED) { in intel_pmu_check_num_counters()
5409 *num_counters_fixed, INTEL_PMC_MAX_FIXED); in intel_pmu_check_num_counters()
5410 *num_counters_fixed = INTEL_PMC_MAX_FIXED; in intel_pmu_check_num_counters()
5418 int num_counters_fixed, in intel_pmu_check_event_constraints() argument
5454 ~(~0ULL << (INTEL_PMC_IDX_FIXED + num_counters_fixed)); in intel_pmu_check_event_constraints()
[all …]
Dds.c1019 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in pebs_update_threshold() local
1027 reserved = max_pebs_events + num_counters_fixed; in pebs_update_threshold()
1996 mask |= ((1ULL << x86_pmu.num_counters_fixed) - 1) << INTEL_PMC_IDX_FIXED; in intel_pmu_drain_pebs_nhm()
1997 size = INTEL_PMC_IDX_FIXED + x86_pmu.num_counters_fixed; in intel_pmu_drain_pebs_nhm()
2093 int num_counters_fixed = hybrid(cpuc->pmu, num_counters_fixed); in intel_pmu_drain_pebs_icl() local
2109 (((1ULL << num_counters_fixed) - 1) << INTEL_PMC_IDX_FIXED); in intel_pmu_drain_pebs_icl()
2110 size = INTEL_PMC_IDX_FIXED + num_counters_fixed; in intel_pmu_drain_pebs_icl()
/Linux-v5.15/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-v5.15/arch/x86/kvm/vmx/
Dpmu_intel.c505 min_t(int, edx.split.num_counters_fixed, in intel_pmu_refresh()
506 x86_pmu.num_counters_fixed); in intel_pmu_refresh()
/Linux-v5.15/arch/x86/kvm/
Dcpuid.c740 edx.split.num_counters_fixed = min(cap.num_counters_fixed, MAX_FIXED_COUNTERS); in __do_cpuid_func()