Home
last modified time | relevance | path

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

/arch/x86/events/
Dperf_event.h48 struct event_constraint { struct
61 static inline bool constraint_match(struct event_constraint *c, u64 ecode) in constraint_match() argument
114 struct event_constraint event_constraints[X86_PMC_IDX_MAX];
246 struct event_constraint *event_constraint[X86_PMC_IDX_MAX]; member
307 struct event_constraint *constraint_list; /* in enable order */
646 struct event_constraint unconstrained;
656 struct event_constraint *event_constraints;
657 struct event_constraint *pebs_constraints;
751 struct event_constraint *
765 struct event_constraint *event_constraints;
[all …]
Dcore.c797 struct event_constraint **constraints;
805 static void perf_sched_init(struct perf_sched *sched, struct event_constraint **constraints, in perf_sched_init()
859 struct event_constraint *c; in __perf_sched_find_counter()
928 struct event_constraint *c; in perf_sched_next_event()
954 int perf_assign_events(struct event_constraint **constraints, int n, in perf_assign_events()
975 struct event_constraint *c; in x86_schedule_events()
995 c = cpuc->event_constraint[i]; in x86_schedule_events()
1010 cpuc->event_constraint[i] = c; in x86_schedule_events()
1024 c = cpuc->event_constraint[i]; in x86_schedule_events()
1075 unsched = perf_assign_events(cpuc->event_constraint, n, wmin, in x86_schedule_events()
[all …]
/arch/x86/events/amd/
Dcore.c438 static struct event_constraint *
440 struct event_constraint *c) in __amd_get_nb_event_constraints()
695 static struct event_constraint *
797 static struct event_constraint amd_f15_PMC0 = EVENT_CONSTRAINT(0, 0x01, 0);
798 static struct event_constraint amd_f15_PMC20 = EVENT_CONSTRAINT(0, 0x07, 0);
799 static struct event_constraint amd_f15_PMC3 = EVENT_CONSTRAINT(0, 0x08, 0);
800 static struct event_constraint amd_f15_PMC30 = EVENT_CONSTRAINT_OVERLAP(0, 0x09, 0);
801 static struct event_constraint amd_f15_PMC50 = EVENT_CONSTRAINT(0, 0x3F, 0);
802 static struct event_constraint amd_f15_PMC53 = EVENT_CONSTRAINT(0, 0x38, 0);
804 static struct event_constraint *
[all …]
/arch/x86/events/intel/
Dcore.c42 static struct event_constraint intel_core_event_constraints[] __read_mostly =
53 static struct event_constraint intel_core2_event_constraints[] __read_mostly =
71 static struct event_constraint intel_nehalem_event_constraints[] __read_mostly =
95 static struct event_constraint intel_westmere_event_constraints[] __read_mostly =
107 static struct event_constraint intel_snb_event_constraints[] __read_mostly =
134 static struct event_constraint intel_ivb_event_constraints[] __read_mostly =
171 static struct event_constraint intel_v1_event_constraints[] __read_mostly =
176 static struct event_constraint intel_gen_event_constraints[] __read_mostly =
184 static struct event_constraint intel_slm_event_constraints[] __read_mostly =
192 static struct event_constraint intel_skl_event_constraints[] = {
[all …]
Duncore.h78 struct event_constraint unconstrainted;
79 struct event_constraint *constraints;
114 struct event_constraint *(*get_constraint)(struct intel_uncore_box *,
145 struct event_constraint *event_constraint[UNCORE_PMC_IDX_MAX]; member
561 struct event_constraint *
576 extern struct event_constraint uncore_constraint_empty;
Dds.c614 struct event_constraint bts_constraint =
754 struct event_constraint intel_core2_pebs_event_constraints[] = {
765 struct event_constraint intel_atom_pebs_event_constraints[] = {
776 struct event_constraint intel_slm_pebs_event_constraints[] = {
784 struct event_constraint intel_glm_pebs_event_constraints[] = {
790 struct event_constraint intel_grt_pebs_event_constraints[] = {
797 struct event_constraint intel_nehalem_pebs_event_constraints[] = {
814 struct event_constraint intel_westmere_pebs_event_constraints[] = {
831 struct event_constraint intel_snb_pebs_event_constraints[] = {
846 struct event_constraint intel_ivb_pebs_event_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()
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 …]
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.c228 static struct event_constraint snb_uncore_arb_constraints[] = {
Dlbr.c1600 struct event_constraint vlbr_constraint =
/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()