Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/include/asm/
Dperf_event.h127 unsigned int num_counters_fixed:5; member
137 int num_counters_fixed; member
/Linux-v5.4/arch/x86/kvm/vmx/
Dpmu_intel.c299 min_t(int, edx.split.num_counters_fixed, in intel_pmu_refresh()
300 x86_pmu.num_counters_fixed); in intel_pmu_refresh()
/Linux-v5.4/arch/x86/events/
Dcore.c218 if (x86_pmu.num_counters_fixed) { in check_hw_exists()
223 for (i = 0; i < x86_pmu.num_counters_fixed; i++) { in check_hw_exists()
1004 max_count = x86_pmu.num_counters + x86_pmu.num_counters_fixed; in collect_events()
1398 for (idx = 0; idx < x86_pmu.num_counters_fixed; idx++) { in perf_event_print_debug()
1829 pr_info("... fixed-purpose events: %d\n", x86_pmu.num_counters_fixed); in init_hw_perf_events()
2152 if (x86_pmu.num_counters_fixed && idx >= INTEL_PMC_IDX_FIXED) { in x86_pmu_event_idx()
2585 cap->num_counters_fixed = x86_pmu.num_counters_fixed; in perf_get_x86_pmu_capability()
Dperf_event.h588 int num_counters_fixed; member
/Linux-v5.4/arch/x86/events/intel/
Dds.c929 reserved = x86_pmu.max_pebs_events + x86_pmu.num_counters_fixed; in pebs_update_threshold()
1849 mask |= ((1ULL << x86_pmu.num_counters_fixed) - 1) << INTEL_PMC_IDX_FIXED; in intel_pmu_drain_pebs_nhm()
1850 size = INTEL_PMC_IDX_FIXED + x86_pmu.num_counters_fixed; in intel_pmu_drain_pebs_nhm()
1960 (((1ULL << x86_pmu.num_counters_fixed) - 1) << INTEL_PMC_IDX_FIXED); in intel_pmu_drain_pebs_icl()
1961 size = INTEL_PMC_IDX_FIXED + x86_pmu.num_counters_fixed; in intel_pmu_drain_pebs_icl()
Dcore.c2309 for (idx = 0; idx < x86_pmu.num_counters_fixed; idx++) in intel_pmu_reset()
4573 x86_pmu.num_counters_fixed = in intel_pmu_init()
4574 max((int)edx.split.num_counters_fixed, assume); in intel_pmu_init()
5102 if (x86_pmu.num_counters_fixed > INTEL_PMC_MAX_FIXED) { in intel_pmu_init()
5104 x86_pmu.num_counters_fixed, INTEL_PMC_MAX_FIXED); in intel_pmu_init()
5105 x86_pmu.num_counters_fixed = INTEL_PMC_MAX_FIXED; in intel_pmu_init()
5109 ((1LL << x86_pmu.num_counters_fixed)-1) << INTEL_PMC_IDX_FIXED; in intel_pmu_init()
5122 ~(~0ULL << (INTEL_PMC_IDX_FIXED + x86_pmu.num_counters_fixed)); in intel_pmu_init()
/Linux-v5.4/arch/x86/kvm/
Dcpuid.c606 edx.split.num_counters_fixed = cap.num_counters_fixed; in __do_cpuid_func()