Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/events/intel/
H A 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()
H A Dcore.c4728 cpuc->lbr_sel = NULL; in intel_pmu_cpu_starting()
4777 cpuc->lbr_sel = &cpuc->shared_regs->regs[EXTRA_REG_LBR]; in intel_pmu_cpu_starting()
/openbmc/linux/arch/x86/events/amd/
H A Dcore.c563 cpuc->lbr_sel = kzalloc_node(sizeof(struct er_account), GFP_KERNEL, in amd_pmu_cpu_prepare()
565 if (!cpuc->lbr_sel) in amd_pmu_cpu_prepare()
577 kfree(cpuc->lbr_sel); in amd_pmu_cpu_prepare()
578 cpuc->lbr_sel = NULL; in amd_pmu_cpu_prepare()
619 kfree(cpuhw->lbr_sel); in amd_pmu_cpu_dead()
620 cpuhw->lbr_sel = NULL; in amd_pmu_cpu_dead()
H A Dlbr.c353 cpuc->lbr_sel->config = reg->config; in amd_pmu_lbr_add()
401 lbr_select = cpuc->lbr_sel->config & LBR_SELECT_MASK; in amd_pmu_lbr_enable_all()
/openbmc/linux/arch/x86/events/
H A Dperf_event.h287 struct er_account *lbr_sel; member
953 u64 lbr_sel; member