Searched refs:event_constraint (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/arch/x86/events/ |
H A D | perf_event.h | 51 struct event_constraint { struct 64 static inline bool constraint_match(struct event_constraint *c, u64 ecode) in constraint_match() argument 117 struct event_constraint event_constraints[X86_PMC_IDX_MAX]; 251 struct event_constraint *event_constraint[X86_PMC_IDX_MAX]; member 316 struct event_constraint *constraint_list; /* in enable order */ 665 struct event_constraint unconstrained; 675 struct event_constraint *event_constraints; 676 struct event_constraint *pebs_constraints; 775 struct event_constraint * 789 struct event_constraint *event_constraints; [all …]
|
H A D | core.c | 803 struct event_constraint **constraints; 811 static void perf_sched_init(struct perf_sched *sched, struct event_constraint **constraints, in perf_sched_init() 865 struct event_constraint *c; in __perf_sched_find_counter() 934 struct event_constraint *c; in perf_sched_next_event() 960 int perf_assign_events(struct event_constraint **constraints, int n, in perf_assign_events() 981 struct event_constraint *c; in x86_schedule_events() 1001 c = cpuc->event_constraint[i]; in x86_schedule_events() 1016 cpuc->event_constraint[i] = c; in x86_schedule_events() 1030 c = cpuc->event_constraint[i]; in x86_schedule_events() 1081 unsched = perf_assign_events(cpuc->event_constraint, n, wmin, in x86_schedule_events() [all …]
|
/openbmc/linux/arch/x86/events/amd/ |
H A D | core.c | 462 static struct event_constraint * 464 struct event_constraint *c) in __amd_get_nb_event_constraints() 994 static struct event_constraint * 1096 static struct event_constraint amd_f15_PMC0 = EVENT_CONSTRAINT(0, 0x01, 0); 1097 static struct event_constraint amd_f15_PMC20 = EVENT_CONSTRAINT(0, 0x07, 0); 1098 static struct event_constraint amd_f15_PMC3 = EVENT_CONSTRAINT(0, 0x08, 0); 1099 static struct event_constraint amd_f15_PMC30 = EVENT_CONSTRAINT_OVERLAP(0, 0x09, 0); 1100 static struct event_constraint amd_f15_PMC50 = EVENT_CONSTRAINT(0, 0x3F, 0); 1101 static struct event_constraint amd_f15_PMC53 = EVENT_CONSTRAINT(0, 0x38, 0); 1103 static struct event_constraint * [all …]
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | core.c | 43 static struct event_constraint intel_core_event_constraints[] __read_mostly = 54 static struct event_constraint intel_core2_event_constraints[] __read_mostly = 72 static struct event_constraint intel_nehalem_event_constraints[] __read_mostly = 96 static struct event_constraint intel_westmere_event_constraints[] __read_mostly = 108 static struct event_constraint intel_snb_event_constraints[] __read_mostly = 135 static struct event_constraint intel_ivb_event_constraints[] __read_mostly = 172 static struct event_constraint intel_v1_event_constraints[] __read_mostly = 177 static struct event_constraint intel_gen_event_constraints[] __read_mostly = 185 static struct event_constraint intel_v5_gen_event_constraints[] __read_mostly = 206 static struct event_constraint intel_slm_event_constraints[] __read_mostly = [all …]
|
H A D | uncore.h | 80 struct event_constraint unconstrainted; 81 struct event_constraint *constraints; 116 struct event_constraint *(*get_constraint)(struct intel_uncore_box *, 147 struct event_constraint *event_constraint[UNCORE_PMC_IDX_MAX]; member 579 struct event_constraint * 594 extern struct event_constraint uncore_constraint_empty;
|
H A D | ds.c | 715 struct event_constraint bts_constraint = 856 struct event_constraint intel_core2_pebs_event_constraints[] = { 867 struct event_constraint intel_atom_pebs_event_constraints[] = { 878 struct event_constraint intel_slm_pebs_event_constraints[] = { 886 struct event_constraint intel_glm_pebs_event_constraints[] = { 892 struct event_constraint intel_grt_pebs_event_constraints[] = { 899 struct event_constraint intel_nehalem_pebs_event_constraints[] = { 916 struct event_constraint intel_westmere_pebs_event_constraints[] = { 933 struct event_constraint intel_snb_pebs_event_constraints[] = { 948 struct event_constraint intel_ivb_pebs_event_constraints[] = { [all …]
|
H A D | uncore_snbep.c | 811 static struct event_constraint snbep_uncore_cbox_constraints[] = { 841 static struct event_constraint snbep_uncore_r2pcie_constraints[] = { 855 static struct event_constraint snbep_uncore_r3qpi_constraints[] = { 947 static struct event_constraint * 1010 static struct event_constraint * 1079 static struct event_constraint * 1743 static struct event_constraint * 2141 static struct event_constraint knl_uncore_cha_constraints[] = { 2170 static struct event_constraint * 2372 static struct event_constraint knl_uncore_m2pcie_constraints[] = { [all …]
|
H A D | uncore.c | 32 static struct event_constraint uncore_constraint_fixed = 34 struct event_constraint uncore_constraint_empty = 178 struct event_constraint * 426 static struct event_constraint * 430 struct event_constraint *c; in uncore_get_event_constraint() 461 struct event_constraint *c; in uncore_assign_events() 469 box->event_constraint[i] = c; in uncore_assign_events() 477 c = box->event_constraint[i]; in uncore_assign_events() 497 ret = perf_assign_events(box->event_constraint, n, in uncore_assign_events() 1008 type->unconstrainted = (struct event_constraint) in uncore_type_init()
|
H A D | p6.c | 127 static struct event_constraint p6_event_constraints[] =
|
H A D | knc.c | 125 static struct event_constraint knc_event_constraints[] =
|
H A D | uncore_nhmex.c | 395 static struct event_constraint nhmex_uncore_bbox_constraints[] = { 668 static struct event_constraint * 977 static struct event_constraint *
|
H A D | lbr.c | 1616 struct event_constraint vlbr_constraint =
|
H A D | uncore_snb.c | 320 static struct event_constraint snb_uncore_arb_constraints[] = {
|
/openbmc/linux/arch/x86/events/zhaoxin/ |
H A D | core.c | 33 static struct event_constraint zxc_event_constraints[] __read_mostly = { 39 static struct event_constraint zxd_event_constraints[] __read_mostly = { 421 static struct event_constraint * 425 struct event_constraint *c; in zhaoxin_get_event_constraints() 510 struct event_constraint *c; in zhaoxin_pmu_init()
|