Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/events/amd/
Dlbr.c350 cpuc->lbr_select = 1; in amd_pmu_lbr_add()
369 cpuc->lbr_select = 0; in amd_pmu_lbr_del()
392 u64 lbr_select, dbg_ctl, dbg_extn_cfg; in amd_pmu_lbr_enable_all() local
398 if (cpuc->lbr_select) { in amd_pmu_lbr_enable_all()
399 lbr_select = cpuc->lbr_sel->config & LBR_SELECT_MASK; in amd_pmu_lbr_enable_all()
400 wrmsrl(MSR_AMD64_LBR_SELECT, lbr_select); in amd_pmu_lbr_enable_all()
/linux-6.1.9/arch/x86/events/intel/
Dlbr.c123 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
137 lbr_select = cpuc->lbr_sel->config & x86_pmu.lbr_sel_mask; in __intel_pmu_lbr_enable()
139 wrmsrl(MSR_LBR_SELECT, lbr_select); in __intel_pmu_lbr_enable()
151 if (is_lbr_call_stack_bit_set(lbr_select)) in __intel_pmu_lbr_enable()
160 wrmsrl(MSR_ARCH_LBR_CTL, lbr_select | ARCH_LBR_CTL_LBREN); in __intel_pmu_lbr_enable()
200 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && cpuc->lbr_select) in intel_pmu_lbr_reset()
384 if (cpuc->lbr_select) in intel_pmu_lbr_restore()
470 if (cpuc->lbr_select) in intel_pmu_lbr_save()
586 cpuc->lbr_select = 1; in intel_pmu_lbr_add()
671 cpuc->lbr_select = 0; in intel_pmu_lbr_del()
/linux-6.1.9/arch/x86/events/
Dperf_event.h291 int lbr_select; member