Home
last modified time | relevance | path

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

/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.c506 unsigned long debugctl, msk; in __switch_to_xtra() local
508 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
509 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()
511 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT; in __switch_to_xtra()
512 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
/arch/x86/events/intel/
Dlbr.c156 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
174 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
175 orig_debugctl = debugctl; in __intel_pmu_lbr_enable()
176 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable()
183 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
184 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable()
185 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
190 u64 debugctl; in __intel_pmu_lbr_disable() local
192 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
193 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
[all …]
/arch/x86/kernel/kprobes/
Dcore.c559 unsigned long debugctl = get_debugctlmsr(); in clear_btf() local
561 debugctl &= ~DEBUGCTLMSR_BTF; in clear_btf()
562 update_debugctlmsr(debugctl); in clear_btf()
569 unsigned long debugctl = get_debugctlmsr(); in restore_btf() local
571 debugctl |= DEBUGCTLMSR_BTF; in restore_btf()
572 update_debugctlmsr(debugctl); in restore_btf()
/arch/x86/include/asm/xen/
Dinterface.h293 uint64_t debugctl; member
/arch/x86/events/
Dcore.c1355 u64 pebs, debugctl; in perf_event_print_debug() local
1384 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1385 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()