Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/events/intel/
Dlbr.c249 for (i = 0; i < x86_pmu.lbr_nr; i++) in intel_pmu_lbr_reset_32()
257 for (i = 0; i < x86_pmu.lbr_nr; i++) { in intel_pmu_lbr_reset_64()
268 wrmsrl(MSR_ARCH_LBR_DEPTH, x86_pmu.lbr_nr); in intel_pmu_arch_lbr_reset()
275 if (!x86_pmu.lbr_nr) in intel_pmu_lbr_reset()
449 mask = x86_pmu.lbr_nr - 1; in intel_pmu_lbr_restore()
455 for (; i < x86_pmu.lbr_nr; i++) { in intel_pmu_lbr_restore()
476 if (!entries[x86_pmu.lbr_nr - 1].from) in intel_pmu_arch_lbr_restore()
479 for (i = 0; i < x86_pmu.lbr_nr; i++) { in intel_pmu_arch_lbr_restore()
541 mask = x86_pmu.lbr_nr - 1; in intel_pmu_lbr_save()
543 for (i = 0; i < x86_pmu.lbr_nr; i++) { in intel_pmu_lbr_save()
[all …]
Dcore.c2577 if (x86_pmu.lbr_nr) { in intel_pmu_reset()
4473 unsigned long lbr_from_nr = x86_pmu.lbr_from + x86_pmu.lbr_nr; in is_lbr_from()
4811 return snprintf(buf, PAGE_SIZE, "%d\n", x86_pmu.lbr_nr); in branches_show()
4862 return x86_pmu.lbr_nr ? attr->mode : 0; in lbr_is_visible()
5587 x86_pmu.lbr_nr = 0; in intel_pmu_init()
5588 for (i = 0; i < x86_pmu.lbr_nr; i++) { in intel_pmu_init()
5591 x86_pmu.lbr_nr = 0; in intel_pmu_init()
5594 if (x86_pmu.lbr_nr) in intel_pmu_init()
5595 pr_cont("%d-deep LBR, ", x86_pmu.lbr_nr); in intel_pmu_init()
Dds.c962 sz += x86_pmu.lbr_nr * sizeof(struct lbr_entry); in adaptive_pebs_record_size_update()
1011 ((x86_pmu.lbr_nr-1) << PEBS_DATACFG_LBR_SHIFT); in pebs_update_adaptive_cfg()
/kernel/linux/linux-5.10/arch/x86/events/
Dperf_event.h743 lbr_info, lbr_nr; /* LBR base regs and size */ member
Dcore.c527 if (x86_pmu.lbr_nr || x86_pmu.intel_cap.pebs_format >= 2) in x86_pmu_max_precise()
1516 if (x86_pmu.lbr_nr) { in perf_event_print_debug()
/kernel/linux/linux-5.10/tools/perf/util/
Dmachine.c2316 int lbr_nr = lbr_stack->nr; in lbr_callchain_add_lbr_ip() local
2363 for (i = 0; i < lbr_nr; i++) { in lbr_callchain_add_lbr_ip()
2378 for (i = lbr_nr - 1; i >= 0; i--) { in lbr_callchain_add_lbr_ip()