Home
last modified time | relevance | path

Searched refs:X86_PMC_IDX_MAX (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/arch/x86/events/
Dperf_event.h51 unsigned long idxmsk[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
114 struct perf_event *owners[X86_PMC_IDX_MAX];
115 struct event_constraint event_constraints[X86_PMC_IDX_MAX];
190 enum intel_excl_state_type state[X86_PMC_IDX_MAX];
233 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */
234 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
235 unsigned long dirty[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
245 int assign[X86_PMC_IDX_MAX]; /* event to counter assignment */
246 u64 tags[X86_PMC_IDX_MAX];
248 struct perf_event *event_list[X86_PMC_IDX_MAX]; /* in enabled order */
[all …]
Dcore.c876 for_each_set_bit_from(idx, c->idxmsk, X86_PMC_IDX_MAX) { in __perf_sched_find_counter()
998 for (i = 0, wmin = X86_PMC_IDX_MAX, wmax = 0; i < n; i++) { in x86_schedule_events()
1359 DEFINE_PER_CPU(u64 [X86_PMC_IDX_MAX], pmc_prev_left);
1441 int assign[X86_PMC_IDX_MAX]; in x86_pmu_add()
2296 int assign[X86_PMC_IDX_MAX]; in x86_pmu_commit_txn()
2503 if (bitmap_empty(cpuc->dirty, X86_PMC_IDX_MAX)) in perf_clear_dirty_counters()
2506 for_each_set_bit(i, cpuc->dirty, X86_PMC_IDX_MAX) { in perf_clear_dirty_counters()
2518 bitmap_zero(cpuc->dirty, X86_PMC_IDX_MAX); in perf_clear_dirty_counters()
/linux-6.1.9/arch/x86/kvm/
Dpmu.c345 for_each_set_bit(bit, pmu->reprogram_pmi, X86_PMC_IDX_MAX) { in kvm_pmu_handle_event()
498 DECLARE_BITMAP(bitmask, X86_PMC_IDX_MAX); in kvm_pmu_cleanup()
504 pmu->pmc_in_use, X86_PMC_IDX_MAX); in kvm_pmu_cleanup()
506 for_each_set_bit(i, bitmask, X86_PMC_IDX_MAX) { in kvm_pmu_cleanup()
515 bitmap_zero(pmu->pmc_in_use, X86_PMC_IDX_MAX); in kvm_pmu_cleanup()
564 for_each_set_bit(i, pmu->all_valid_pmc_idx, X86_PMC_IDX_MAX) { in kvm_pmu_trigger_event()
/linux-6.1.9/arch/x86/events/intel/
Dknc.c242 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in knc_pmu_handle_irq()
Dp4.c986 static DEFINE_PER_CPU(unsigned long [BITS_TO_LONGS(X86_PMC_IDX_MAX)], p4_running);
1242 unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; in p4_pmu_schedule_events()
1252 bitmap_zero(used_mask, X86_PMC_IDX_MAX); in p4_pmu_schedule_events()
Dcore.c3016 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in handle_pmi_common()
3537 for_each_set_bit(i, c->idxmsk, X86_PMC_IDX_MAX) { in intel_get_excl_constraints()
3589 bitmap_copy(c1->idxmsk, c2->idxmsk, X86_PMC_IDX_MAX); in intel_get_event_constraints()
4450 size_t sz = X86_PMC_IDX_MAX * sizeof(struct event_constraint); in intel_cpuc_prepare()
/linux-6.1.9/arch/x86/include/asm/
Dperf_event.h15 #define X86_PMC_IDX_MAX 64 macro
Dkvm_host.h527 DECLARE_BITMAP(reprogram_pmi, X86_PMC_IDX_MAX);
528 DECLARE_BITMAP(all_valid_pmc_idx, X86_PMC_IDX_MAX);
529 DECLARE_BITMAP(pmc_in_use, X86_PMC_IDX_MAX);
/linux-6.1.9/arch/x86/kvm/vmx/
Dpmu_intel.c76 for_each_set_bit(bit, (unsigned long *)&diff, X86_PMC_IDX_MAX) { in reprogram_counters()
782 X86_PMC_IDX_MAX) { in intel_pmu_cross_mapped_check()
/linux-6.1.9/arch/x86/events/amd/
Dcore.c276 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly;
277 static unsigned int count_offsets[X86_PMC_IDX_MAX] __read_mostly;
/linux-6.1.9/arch/x86/events/zhaoxin/
Dcore.c386 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in zhaoxin_pmu_handle_irq()