Searched refs:debugctl (Results 1 – 6 of 6) sorted by relevance
/linux/arch/x86/kernel/ |
H A D | step.c | 176 unsigned long debugctl; in set_task_blockstep() local 188 debugctl = get_debugctlmsr(); in set_task_blockstep() 190 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep() 193 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep() 197 update_debugctlmsr(debugctl); in set_task_blockstep()
|
H A D | process.c | 705 unsigned long debugctl, msk; in __switch_to_xtra() local 707 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra() 708 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra() 710 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT; in __switch_to_xtra() 711 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
|
H A D | traps.c | 1023 unsigned long debugctl; in exc_debug_kernel() local 1025 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel() 1026 debugctl |= DEBUGCTLMSR_BTF; in exc_debug_kernel() 1027 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in exc_debug_kernel()
|
/linux/arch/x86/events/intel/ |
H A D | lbr.c | 124 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local 142 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable() 143 orig_debugctl = debugctl; in __intel_pmu_lbr_enable() 146 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable() 153 debugctl &= ~DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable() 155 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable() 157 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable() 158 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
|
/linux/arch/x86/include/asm/xen/ |
H A D | interface.h | 296 uint64_t debugctl; member
|
/linux/arch/x86/events/ |
H A D | core.c | 1528 u64 pebs, debugctl; in perf_event_print_debug() local 1558 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug() 1559 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
|