Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/events/intel/
Dlbr.c344 unsigned lbr_idx, mask; in __intel_pmu_lbr_restore() local
368 lbr_idx = (tos - i) & mask; in __intel_pmu_lbr_restore()
369 wrlbr_from(lbr_idx, task_ctx->lbr_from[i]); in __intel_pmu_lbr_restore()
370 wrlbr_to (lbr_idx, task_ctx->lbr_to[i]); in __intel_pmu_lbr_restore()
373 wrmsrl(MSR_LBR_INFO_0 + lbr_idx, task_ctx->lbr_info[i]); in __intel_pmu_lbr_restore()
377 lbr_idx = (tos - i) & mask; in __intel_pmu_lbr_restore()
378 wrlbr_from(lbr_idx, 0); in __intel_pmu_lbr_restore()
379 wrlbr_to(lbr_idx, 0); in __intel_pmu_lbr_restore()
381 wrmsrl(MSR_LBR_INFO_0 + lbr_idx, 0); in __intel_pmu_lbr_restore()
391 unsigned lbr_idx, mask; in __intel_pmu_lbr_save() local
[all …]