Home
last modified time | relevance | path

Searched refs:event_constraint (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/arch/x86/events/
Dperf_event.h51 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 …]
Dcore.c801 struct event_constraint **constraints;
809 static void perf_sched_init(struct perf_sched *sched, struct event_constraint **constraints, in perf_sched_init()
863 struct event_constraint *c; in __perf_sched_find_counter()
932 struct event_constraint *c; in perf_sched_next_event()
958 int perf_assign_events(struct event_constraint **constraints, int n, in perf_assign_events()
979 struct event_constraint *c; in x86_schedule_events()
999 c = cpuc->event_constraint[i]; in x86_schedule_events()
1014 cpuc->event_constraint[i] = c; in x86_schedule_events()
1028 c = cpuc->event_constraint[i]; in x86_schedule_events()
1079 unsched = perf_assign_events(cpuc->event_constraint, n, wmin, in x86_schedule_events()
[all …]
/Linux-v6.6/arch/x86/events/amd/
Dcore.c448 static struct event_constraint *
450 struct event_constraint *c) in __amd_get_nb_event_constraints()
975 static struct event_constraint *
1077 static struct event_constraint amd_f15_PMC0 = EVENT_CONSTRAINT(0, 0x01, 0);
1078 static struct event_constraint amd_f15_PMC20 = EVENT_CONSTRAINT(0, 0x07, 0);
1079 static struct event_constraint amd_f15_PMC3 = EVENT_CONSTRAINT(0, 0x08, 0);
1080 static struct event_constraint amd_f15_PMC30 = EVENT_CONSTRAINT_OVERLAP(0, 0x09, 0);
1081 static struct event_constraint amd_f15_PMC50 = EVENT_CONSTRAINT(0, 0x3F, 0);
1082 static struct event_constraint amd_f15_PMC53 = EVENT_CONSTRAINT(0, 0x38, 0);
1084 static struct event_constraint *
[all …]
/Linux-v6.6/arch/x86/events/intel/
Dcore.c43 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 …]
Duncore.h80 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;
Dds.c715 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 …]
Duncore_snbep.c809 static struct event_constraint snbep_uncore_cbox_constraints[] = {
839 static struct event_constraint snbep_uncore_r2pcie_constraints[] = {
853 static struct event_constraint snbep_uncore_r3qpi_constraints[] = {
945 static struct event_constraint *
1008 static struct event_constraint *
1077 static struct event_constraint *
1741 static struct event_constraint *
2139 static struct event_constraint knl_uncore_cha_constraints[] = {
2168 static struct event_constraint *
2370 static struct event_constraint knl_uncore_m2pcie_constraints[] = {
[all …]
Duncore.c32 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()
Dp6.c127 static struct event_constraint p6_event_constraints[] =
Dknc.c125 static struct event_constraint knc_event_constraints[] =
Duncore_nhmex.c395 static struct event_constraint nhmex_uncore_bbox_constraints[] = {
668 static struct event_constraint *
977 static struct event_constraint *
Duncore_snb.c320 static struct event_constraint snb_uncore_arb_constraints[] = {
Dlbr.c1616 struct event_constraint vlbr_constraint =
/Linux-v6.6/arch/x86/events/zhaoxin/
Dcore.c33 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()