Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/events/
Dperf_event.h47 struct event_constraint { struct
60 static inline bool constraint_match(struct event_constraint *c, u64 ecode) in constraint_match() argument
85 struct event_constraint event_constraints[X86_PMC_IDX_MAX];
204 struct event_constraint *event_constraint[X86_PMC_IDX_MAX]; member
260 struct event_constraint *constraint_list; /* in enable order */
598 struct event_constraint *
612 struct event_constraint *event_constraints;
665 struct event_constraint *pebs_constraints;
845 int perf_assign_events(struct event_constraint **constraints, int n,
862 extern struct event_constraint emptyconstraint;
[all …]
Dcore.c707 struct event_constraint **constraints;
715 static void perf_sched_init(struct perf_sched *sched, struct event_constraint **constraints, in perf_sched_init()
765 struct event_constraint *c; in __perf_sched_find_counter()
822 struct event_constraint *c; in perf_sched_next_event()
848 int perf_assign_events(struct event_constraint **constraints, int n, in perf_assign_events()
868 struct event_constraint *c; in x86_schedule_events()
891 c = cpuc->event_constraint[i]; in x86_schedule_events()
906 cpuc->event_constraint[i] = c; in x86_schedule_events()
918 c = cpuc->event_constraint[i]; in x86_schedule_events()
955 unsched = perf_assign_events(cpuc->event_constraint, n, wmin, in x86_schedule_events()
[all …]
/Linux-v5.4/arch/x86/events/amd/
Dcore.c419 static struct event_constraint *
421 struct event_constraint *c) in __amd_get_nb_event_constraints()
685 static struct event_constraint *
787 static struct event_constraint amd_f15_PMC0 = EVENT_CONSTRAINT(0, 0x01, 0);
788 static struct event_constraint amd_f15_PMC20 = EVENT_CONSTRAINT(0, 0x07, 0);
789 static struct event_constraint amd_f15_PMC3 = EVENT_CONSTRAINT(0, 0x08, 0);
790 static struct event_constraint amd_f15_PMC30 = EVENT_CONSTRAINT_OVERLAP(0, 0x09, 0);
791 static struct event_constraint amd_f15_PMC50 = EVENT_CONSTRAINT(0, 0x3F, 0);
792 static struct event_constraint amd_f15_PMC53 = EVENT_CONSTRAINT(0, 0x38, 0);
794 static struct event_constraint *
/Linux-v5.4/arch/x86/events/intel/
Duncore.h68 struct event_constraint unconstrainted;
69 struct event_constraint *constraints;
91 struct event_constraint *(*get_constraint)(struct intel_uncore_box *,
123 struct event_constraint *event_constraint[UNCORE_PMC_IDX_MAX]; member
506 struct event_constraint *
518 extern struct event_constraint uncore_constraint_empty;
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 …]
Dds.c540 struct event_constraint bts_constraint =
680 struct event_constraint intel_core2_pebs_event_constraints[] = {
691 struct event_constraint intel_atom_pebs_event_constraints[] = {
702 struct event_constraint intel_slm_pebs_event_constraints[] = {
710 struct event_constraint intel_glm_pebs_event_constraints[] = {
716 struct event_constraint intel_nehalem_pebs_event_constraints[] = {
733 struct event_constraint intel_westmere_pebs_event_constraints[] = {
750 struct event_constraint intel_snb_pebs_event_constraints[] = {
765 struct event_constraint intel_ivb_pebs_event_constraints[] = {
782 struct event_constraint intel_hsw_pebs_event_constraints[] = {
[all …]
Duncore.c25 static struct event_constraint uncore_constraint_fixed =
27 struct event_constraint uncore_constraint_empty =
141 struct event_constraint *
390 static struct event_constraint *
394 struct event_constraint *c; in uncore_get_event_constraint()
425 struct event_constraint *c; in uncore_assign_events()
433 box->event_constraint[i] = c; in uncore_assign_events()
441 c = box->event_constraint[i]; in uncore_assign_events()
461 ret = perf_assign_events(box->event_constraint, n, in uncore_assign_events()
930 type->unconstrainted = (struct event_constraint) in uncore_type_init()
Duncore_snbep.c726 static struct event_constraint snbep_uncore_cbox_constraints[] = {
756 static struct event_constraint snbep_uncore_r2pcie_constraints[] = {
770 static struct event_constraint snbep_uncore_r3qpi_constraints[] = {
862 static struct event_constraint *
925 static struct event_constraint *
994 static struct event_constraint *
1609 static struct event_constraint *
2007 static struct event_constraint knl_uncore_cha_constraints[] = {
2036 static struct event_constraint *
2238 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.c183 static struct event_constraint snb_uncore_arb_constraints[] = {