Searched refs:debugctl (Results 1 – 4 of 4) sorted by relevance
164 unsigned long debugctl; in set_task_blockstep() local177 debugctl = get_debugctlmsr(); in set_task_blockstep()179 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep()182 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep()186 update_debugctlmsr(debugctl); in set_task_blockstep()
198 unsigned long debugctl = get_debugctlmsr(); in __switch_to_xtra() local200 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()202 debugctl |= DEBUGCTLMSR_BTF; in __switch_to_xtra()204 update_debugctlmsr(debugctl); in __switch_to_xtra()
135 u64 debugctl; in __intel_pmu_lbr_enable() local141 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()142 debugctl |= (DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_enable()143 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()148 u64 debugctl; in __intel_pmu_lbr_disable() local150 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()151 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()152 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
467 unsigned long debugctl = get_debugctlmsr(); in clear_btf() local469 debugctl &= ~DEBUGCTLMSR_BTF; in clear_btf()470 update_debugctlmsr(debugctl); in clear_btf()477 unsigned long debugctl = get_debugctlmsr(); in restore_btf() local479 debugctl |= DEBUGCTLMSR_BTF; in restore_btf()480 update_debugctlmsr(debugctl); in restore_btf()