Home
last modified time | relevance | path

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

/arch/x86/events/
Dperf_event.h47 unsigned long idxmsk[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
76 struct perf_event *owners[X86_PMC_IDX_MAX];
77 struct event_constraint event_constraints[X86_PMC_IDX_MAX];
141 enum intel_excl_state_type state[X86_PMC_IDX_MAX];
171 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */
172 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
173 unsigned long running[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
181 int assign[X86_PMC_IDX_MAX]; /* event to counter assignment */
182 u64 tags[X86_PMC_IDX_MAX];
184 struct perf_event *event_list[X86_PMC_IDX_MAX]; /* in enabled order */
[all …]
Dcore.c684 unsigned long used[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
766 for_each_set_bit_from(idx, c->idxmsk, X86_PMC_IDX_MAX) { in __perf_sched_find_counter()
857 unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; in x86_schedule_events()
862 bitmap_zero(used_mask, X86_PMC_IDX_MAX); in x86_schedule_events()
867 for (i = 0, wmin = X86_PMC_IDX_MAX, wmax = 0; i < n; i++) { in x86_schedule_events()
1106 static DEFINE_PER_CPU(u64 [X86_PMC_IDX_MAX], pmc_prev_left);
1195 int assign[X86_PMC_IDX_MAX]; in x86_pmu_add()
1923 int assign[X86_PMC_IDX_MAX]; in x86_pmu_commit_txn()
/arch/x86/include/asm/
Dperf_event.h12 #define X86_PMC_IDX_MAX 64 macro
/arch/x86/events/amd/
Dcore.c138 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly;
139 static unsigned int count_offsets[X86_PMC_IDX_MAX] __read_mostly;
/arch/x86/events/intel/
Dknc.c241 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in knc_pmu_handle_irq()
Dp4.c1208 unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; in p4_pmu_schedule_events()
1218 bitmap_zero(used_mask, X86_PMC_IDX_MAX); in p4_pmu_schedule_events()
Dcore.c2147 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in intel_pmu_handle_irq()
2579 for_each_set_bit(i, c->idxmsk, X86_PMC_IDX_MAX) { in intel_get_excl_constraints()
2629 bitmap_copy(c1->idxmsk, c2->idxmsk, X86_PMC_IDX_MAX); in intel_get_event_constraints()
3103 size_t sz = X86_PMC_IDX_MAX * sizeof(struct event_constraint); in intel_pmu_cpu_prepare()
/arch/x86/kvm/
Dpmu.c222 for_each_set_bit(bit, (unsigned long *)&bitmask, X86_PMC_IDX_MAX) { in kvm_pmu_handle_event()
Dpmu_intel.c66 for_each_set_bit(bit, (unsigned long *)&diff, X86_PMC_IDX_MAX) in global_ctrl_changed()