Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/
Dstep.c169 unsigned long debugctl; in set_task_blockstep() local
181 debugctl = get_debugctlmsr(); in set_task_blockstep()
183 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep()
186 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep()
190 update_debugctlmsr(debugctl); in set_task_blockstep()
Dprocess.c638 unsigned long debugctl, msk; in __switch_to_xtra() local
640 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
641 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()
643 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT; in __switch_to_xtra()
644 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
Dtraps.c906 unsigned long debugctl; in exc_debug_kernel() local
908 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
909 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel()
910 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
/kernel/linux/linux-5.10/arch/x86/kernel/kprobes/
Dcore.c585 unsigned long debugctl = get_debugctlmsr(); in clear_btf() local
587 debugctl &= ~DEBUGCTLMSR_BTF; in clear_btf()
588 update_debugctlmsr(debugctl); in clear_btf()
595 unsigned long debugctl = get_debugctlmsr(); in restore_btf() local
597 debugctl |= DEBUGCTLMSR_BTF; in restore_btf()
598 update_debugctlmsr(debugctl); in restore_btf()
/kernel/linux/linux-5.10/arch/x86/events/intel/
Dlbr.c191 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
209 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
210 orig_debugctl = debugctl; in __intel_pmu_lbr_enable()
213 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable()
220 debugctl &= ~DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
222 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
224 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable()
225 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
233 u64 debugctl; in __intel_pmu_lbr_disable() local
240 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/xen/
Dinterface.h293 uint64_t debugctl; member
/kernel/linux/linux-5.10/arch/x86/events/
Dcore.c1488 u64 pebs, debugctl; in perf_event_print_debug() local
1517 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1518 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()