Home
last modified time | relevance | path

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

/Linux-v6.1/arch/x86/events/
Dperf_event.h49 struct event_constraint { struct
62 static inline bool constraint_match(struct event_constraint *c, u64 ecode) in constraint_match() argument
115 struct event_constraint event_constraints[X86_PMC_IDX_MAX];
249 struct event_constraint *event_constraint[X86_PMC_IDX_MAX]; member
314 struct event_constraint *constraint_list; /* in enable order */
661 struct event_constraint unconstrained;
671 struct event_constraint *event_constraints;
672 struct event_constraint *pebs_constraints;
771 struct event_constraint *
785 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.1/arch/x86/events/amd/
Dcore.c448 static struct event_constraint *
450 struct event_constraint *c) in __amd_get_nb_event_constraints()
968 static struct event_constraint *
1070 static struct event_constraint amd_f15_PMC0 = EVENT_CONSTRAINT(0, 0x01, 0);
1071 static struct event_constraint amd_f15_PMC20 = EVENT_CONSTRAINT(0, 0x07, 0);
1072 static struct event_constraint amd_f15_PMC3 = EVENT_CONSTRAINT(0, 0x08, 0);
1073 static struct event_constraint amd_f15_PMC30 = EVENT_CONSTRAINT_OVERLAP(0, 0x09, 0);
1074 static struct event_constraint amd_f15_PMC50 = EVENT_CONSTRAINT(0, 0x3F, 0);
1075 static struct event_constraint amd_f15_PMC53 = EVENT_CONSTRAINT(0, 0x38, 0);
1077 static struct event_constraint *
[all …]
/Linux-v6.1/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.h77 struct event_constraint unconstrainted;
78 struct event_constraint *constraints;
113 struct event_constraint *(*get_constraint)(struct intel_uncore_box *,
144 struct event_constraint *event_constraint[UNCORE_PMC_IDX_MAX]; member
560 struct event_constraint *
575 extern struct event_constraint uncore_constraint_empty;
Dds.c660 struct event_constraint bts_constraint =
800 struct event_constraint intel_core2_pebs_event_constraints[] = {
811 struct event_constraint intel_atom_pebs_event_constraints[] = {
822 struct event_constraint intel_slm_pebs_event_constraints[] = {
830 struct event_constraint intel_glm_pebs_event_constraints[] = {
836 struct event_constraint intel_grt_pebs_event_constraints[] = {
843 struct event_constraint intel_nehalem_pebs_event_constraints[] = {
860 struct event_constraint intel_westmere_pebs_event_constraints[] = {
877 struct event_constraint intel_snb_pebs_event_constraints[] = {
892 struct event_constraint intel_ivb_pebs_event_constraints[] = {
[all …]
Duncore_snbep.c807 static struct event_constraint snbep_uncore_cbox_constraints[] = {
837 static struct event_constraint snbep_uncore_r2pcie_constraints[] = {
851 static struct event_constraint snbep_uncore_r3qpi_constraints[] = {
943 static struct event_constraint *
1006 static struct event_constraint *
1075 static struct event_constraint *
1732 static struct event_constraint *
2130 static struct event_constraint knl_uncore_cha_constraints[] = {
2159 static struct event_constraint *
2361 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 =
163 struct event_constraint *
411 static struct event_constraint *
415 struct event_constraint *c; in uncore_get_event_constraint()
446 struct event_constraint *c; in uncore_assign_events()
454 box->event_constraint[i] = c; in uncore_assign_events()
462 c = box->event_constraint[i]; in uncore_assign_events()
482 ret = perf_assign_events(box->event_constraint, n, in uncore_assign_events()
987 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.c281 static struct event_constraint snb_uncore_arb_constraints[] = {
Dlbr.c1622 struct event_constraint vlbr_constraint =
/Linux-v6.1/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()