Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event.h56 unsigned long idxmsk[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
83 struct perf_event *owners[X86_PMC_IDX_MAX];
84 struct event_constraint event_constraints[X86_PMC_IDX_MAX];
136 enum intel_excl_state_type init_state[X86_PMC_IDX_MAX];
137 enum intel_excl_state_type state[X86_PMC_IDX_MAX];
167 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */
168 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
169 unsigned long running[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
177 int assign[X86_PMC_IDX_MAX]; /* event to counter assignment */
178 u64 tags[X86_PMC_IDX_MAX];
[all …]
Dperf_event.c643 unsigned long used[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
725 for_each_set_bit_from(idx, c->idxmsk, X86_PMC_IDX_MAX) { in __perf_sched_find_counter()
816 unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; in x86_schedule_events()
821 bitmap_zero(used_mask, X86_PMC_IDX_MAX); in x86_schedule_events()
826 for (i = 0, wmin = X86_PMC_IDX_MAX, wmax = 0; i < n; i++) { in x86_schedule_events()
1068 static DEFINE_PER_CPU(u64 [X86_PMC_IDX_MAX], pmc_prev_left);
1154 int assign[X86_PMC_IDX_MAX]; in x86_pmu_add()
1777 int assign[X86_PMC_IDX_MAX]; in x86_pmu_commit_txn()
Dperf_event_amd.c138 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly;
139 static unsigned int count_offsets[X86_PMC_IDX_MAX] __read_mostly;
Dperf_event_knc.c241 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in knc_pmu_handle_irq()
Dperf_event_intel.c1645 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in intel_pmu_handle_irq()
2064 for_each_set_bit(i, cx->idxmsk, X86_PMC_IDX_MAX) { in intel_get_excl_constraints()
2114 bitmap_copy(c1->idxmsk, c2->idxmsk, X86_PMC_IDX_MAX); in intel_get_event_constraints()
2556 for (i = 0; i < X86_PMC_IDX_MAX; i++) { in allocate_excl_cntrs()
2579 size_t sz = X86_PMC_IDX_MAX * sizeof(struct event_constraint); in intel_pmu_cpu_prepare()
Dperf_event_p4.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()
/linux-4.1.27/arch/x86/include/asm/
Dperf_event.h12 #define X86_PMC_IDX_MAX 64 macro
/linux-4.1.27/arch/x86/kvm/
Dpmu.c319 for_each_set_bit(bit, (unsigned long *)&diff, X86_PMC_IDX_MAX) in global_ctrl_changed()
566 for_each_set_bit(bit, (unsigned long *)&bitmask, X86_PMC_IDX_MAX) { in kvm_handle_pmu_event()