Searched refs:X86_PMC_IDX_MAX (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event.h | 56 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 …]
|
D | perf_event.c | 643 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()
|
D | perf_event_amd.c | 138 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly; 139 static unsigned int count_offsets[X86_PMC_IDX_MAX] __read_mostly;
|
D | perf_event_knc.c | 241 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in knc_pmu_handle_irq()
|
D | perf_event_intel.c | 1645 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()
|
D | perf_event_p4.c | 1208 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/ |
D | perf_event.h | 12 #define X86_PMC_IDX_MAX 64 macro
|
/linux-4.1.27/arch/x86/kvm/ |
D | pmu.c | 319 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()
|