Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/events/intel/
Dlbr.c446 unsigned lbr_idx, mask; in intel_pmu_lbr_restore() local
451 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
452 wrlbr_all(&task_ctx->lbr[i], lbr_idx, need_info); in intel_pmu_lbr_restore()
456 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_restore()
457 wrlbr_from(lbr_idx, 0); in intel_pmu_lbr_restore()
458 wrlbr_to(lbr_idx, 0); in intel_pmu_lbr_restore()
460 wrlbr_info(lbr_idx, 0); in intel_pmu_lbr_restore()
537 unsigned lbr_idx, mask; in intel_pmu_lbr_save() local
544 lbr_idx = (tos - i) & mask; in intel_pmu_lbr_save()
545 if (!rdlbr_all(&task_ctx->lbr[i], lbr_idx, need_info)) in intel_pmu_lbr_save()
[all …]