Home
last modified time | relevance | path

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

/linux/arch/x86/events/amd/
H A Dlbr.c114 from = cpuc->lbr_entries[i].from; in amd_pmu_lbr_filter()
115 to = cpuc->lbr_entries[i].to; in amd_pmu_lbr_filter()
124 cpuc->lbr_entries[i].from += offset; in amd_pmu_lbr_filter()
131 (!(br_sel & X86_BR_KERNEL) && kernel_ip(cpuc->lbr_entries[i].from))) { in amd_pmu_lbr_filter()
132 cpuc->lbr_entries[i].from = 0; /* mark invalid */ in amd_pmu_lbr_filter()
137 cpuc->lbr_entries[i].type = common_branch_type(type); in amd_pmu_lbr_filter()
145 if (!cpuc->lbr_entries[i].from) { in amd_pmu_lbr_filter()
148 cpuc->lbr_entries[j - 1] = cpuc->lbr_entries[j]; in amd_pmu_lbr_filter()
150 if (!cpuc->lbr_entries[i].from) in amd_pmu_lbr_filter()
167 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.c948 memcpy(entries, cpuc->lbr_entries, sizeof(struct perf_branch_entry) * cnt); in amd_pmu_v2_snapshot_branch_stack()
/linux/arch/x86/events/
H A Dperf_event.h335 struct perf_branch_entry lbr_entries[MAX_LBR_ENTRIES]; member
/linux/arch/x86/events/intel/
H A Dds.c2004 unsigned long from = cpuc->lbr_entries[0].from; in intel_pmu_pebs_fixup_ip()
2005 unsigned long old_to, to = cpuc->lbr_entries[0].to; in intel_pmu_pebs_fixup_ip()
H A Dcore.c2818 memcpy(entries, cpuc->lbr_entries, sizeof(struct perf_branch_entry) * cnt); in __intel_pmu_snapshot_branch_stack()