Home
last modified time | relevance | path

Searched refs:debugctl (Results 1 – 4 of 4) sorted by relevance

/arch/x86/kernel/
Dstep.c164 unsigned long debugctl; in set_task_blockstep() local
177 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()
Dprocess.c198 unsigned long debugctl = get_debugctlmsr(); in __switch_to_xtra() local
200 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()
202 debugctl |= DEBUGCTLMSR_BTF; in __switch_to_xtra()
204 update_debugctlmsr(debugctl); in __switch_to_xtra()
/arch/x86/kernel/cpu/
Dperf_event_intel_lbr.c135 u64 debugctl; in __intel_pmu_lbr_enable() local
141 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() local
150 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()
/arch/x86/kernel/kprobes/
Dcore.c467 unsigned long debugctl = get_debugctlmsr(); in clear_btf() local
469 debugctl &= ~DEBUGCTLMSR_BTF; in clear_btf()
470 update_debugctlmsr(debugctl); in clear_btf()
477 unsigned long debugctl = get_debugctlmsr(); in restore_btf() local
479 debugctl |= DEBUGCTLMSR_BTF; in restore_btf()
480 update_debugctlmsr(debugctl); in restore_btf()