Home
last modified time | relevance | path

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

/linux/arch/x86/events/amd/
H A Dcore.c582 cpuc->lbr_sel = kzalloc_node(sizeof(struct er_account), GFP_KERNEL, in amd_pmu_cpu_prepare()
584 if (!cpuc->lbr_sel) in amd_pmu_cpu_prepare()
596 kfree(cpuc->lbr_sel); in amd_pmu_cpu_prepare()
597 cpuc->lbr_sel = NULL; in amd_pmu_cpu_prepare()
638 kfree(cpuhw->lbr_sel); in amd_pmu_cpu_dead()
639 cpuhw->lbr_sel = NULL; in amd_pmu_cpu_dead()
H A Dlbr.c350 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/arch/x86/events/intel/
H A Dlbr.c138 if (cpuc->lbr_sel) in __intel_pmu_lbr_enable()
139 lbr_select = cpuc->lbr_sel->config & x86_pmu.lbr_sel_mask; in __intel_pmu_lbr_enable()
140 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && !pmi && cpuc->lbr_sel) in __intel_pmu_lbr_enable()
387 wrmsrq(MSR_LBR_SELECT, task_ctx->lbr_sel); in intel_pmu_lbr_restore()
479 rdmsrq(MSR_LBR_SELECT, task_ctx->lbr_sel); in intel_pmu_lbr_save()
783 if (cpuc->lbr_sel) { in intel_pmu_lbr_read_64()
784 need_info = !(cpuc->lbr_sel->config & LBR_NO_INFO); in intel_pmu_lbr_read_64()
785 if (cpuc->lbr_sel->config & LBR_CALL_STACK) in intel_pmu_lbr_read_64()
H A Dcore.c6081 cpuc->lbr_sel = NULL; in intel_pmu_cpu_starting()
6132 cpuc->lbr_sel = &cpuc->shared_regs->regs[EXTRA_REG_LBR]; in intel_pmu_cpu_starting()
/linux/arch/x86/events/
H A Dperf_event.h330 struct er_account *lbr_sel; member
1056 u64 lbr_sel; member