Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/events/intel/
Dlbr.c136 if (cpuc->lbr_sel) in __intel_pmu_lbr_enable()
137 lbr_select = cpuc->lbr_sel->config & x86_pmu.lbr_sel_mask; in __intel_pmu_lbr_enable()
138 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && !pmi && cpuc->lbr_sel) in __intel_pmu_lbr_enable()
385 wrmsrl(MSR_LBR_SELECT, task_ctx->lbr_sel); in intel_pmu_lbr_restore()
471 rdmsrl(MSR_LBR_SELECT, task_ctx->lbr_sel); in intel_pmu_lbr_save()
753 if (cpuc->lbr_sel) { in intel_pmu_lbr_read_64()
754 need_info = !(cpuc->lbr_sel->config & LBR_NO_INFO); in intel_pmu_lbr_read_64()
755 if (cpuc->lbr_sel->config & LBR_CALL_STACK) in intel_pmu_lbr_read_64()
Dcore.c4704 cpuc->lbr_sel = NULL; in intel_pmu_cpu_starting()
4753 cpuc->lbr_sel = &cpuc->shared_regs->regs[EXTRA_REG_LBR]; in intel_pmu_cpu_starting()
/linux-6.6.21/arch/x86/events/amd/
Dcore.c549 cpuc->lbr_sel = kzalloc_node(sizeof(struct er_account), GFP_KERNEL, in amd_pmu_cpu_prepare()
551 if (!cpuc->lbr_sel) in amd_pmu_cpu_prepare()
563 kfree(cpuc->lbr_sel); in amd_pmu_cpu_prepare()
564 cpuc->lbr_sel = NULL; in amd_pmu_cpu_prepare()
605 kfree(cpuhw->lbr_sel); in amd_pmu_cpu_dead()
606 cpuhw->lbr_sel = NULL; in amd_pmu_cpu_dead()
Dlbr.c351 cpuc->lbr_sel->config = reg->config; in amd_pmu_lbr_add()
399 lbr_select = cpuc->lbr_sel->config & LBR_SELECT_MASK; in amd_pmu_lbr_enable_all()
/linux-6.6.21/arch/x86/events/
Dperf_event.h287 struct er_account *lbr_sel; member
953 u64 lbr_sel; member