Home
last modified time | relevance | path

Searched refs:lbr_entries (Results 1 – 7 of 7) sorted by relevance

/linux/arch/x86/events/amd/
H A Dlbr.c112 from = cpuc->lbr_entries[i].from; in amd_pmu_lbr_filter()
113 to = cpuc->lbr_entries[i].to; in amd_pmu_lbr_filter()
122 cpuc->lbr_entries[i].from += offset; in amd_pmu_lbr_filter()
129 cpuc->lbr_entries[i].from = 0; /* mark invalid */ in amd_pmu_lbr_filter()
134 cpuc->lbr_entries[i].type = common_branch_type(type); in amd_pmu_lbr_filter()
142 if (!cpuc->lbr_entries[i].from) { in amd_pmu_lbr_filter()
145 cpuc->lbr_entries[j - 1] = cpuc->lbr_entries[j]; in amd_pmu_lbr_filter()
147 if (!cpuc->lbr_entries[i].from) in amd_pmu_lbr_filter()
164 struct perf_branch_entry *br = cpuc->lbr_entries; in amd_pmu_lbr_read()
H A Dbrs.c285 struct perf_branch_entry *br = cpuc->lbr_entries; in amd_brs_drain()
H A Dcore.c942 memcpy(entries, cpuc->lbr_entries, sizeof(struct perf_branch_entry) * cnt); in amd_pmu_v2_snapshot_branch_stack()
/linux/arch/x86/events/intel/
H A Dlbr.c742 struct perf_branch_entry *br = cpuc->lbr_entries; in intel_pmu_lbr_read_32()
777 struct perf_branch_entry *br = cpuc->lbr_entries; in intel_pmu_lbr_read_64()
911 e = &cpuc->lbr_entries[i]; in intel_pmu_store_lbr()
970 src = cpuc->lbr_entries[i].reserved; in intel_pmu_lbr_counters_reorder()
977 cpuc->lbr_entries[i].reserved = 0; in intel_pmu_lbr_counters_reorder()
1225 from = cpuc->lbr_entries[i].from; in intel_pmu_lbr_filter()
1226 to = cpuc->lbr_entries[i].to; in intel_pmu_lbr_filter()
1227 type = cpuc->lbr_entries[i].type; in intel_pmu_lbr_filter()
1239 type = branch_type(from, to, cpuc->lbr_entries[i].abort); in intel_pmu_lbr_filter()
1241 if (cpuc->lbr_entries[i].in_tx) in intel_pmu_lbr_filter()
[all …]
H A Dds.c2003 unsigned long from = cpuc->lbr_entries[0].from; in intel_pmu_pebs_fixup_ip()
2004 unsigned long old_to, to = cpuc->lbr_entries[0].to; in intel_pmu_pebs_fixup_ip()
H A Dcore.c2566 memcpy(entries, cpuc->lbr_entries, sizeof(struct perf_branch_entry) * cnt); in __intel_pmu_snapshot_branch_stack()
/linux/arch/x86/events/
H A Dperf_event.h327 struct perf_branch_entry lbr_entries[MAX_LBR_ENTRIES]; member