Searched refs:debugctl (Results 1 – 6 of 6) sorted by relevance
/arch/x86/kernel/ |
D | step.c | 169 unsigned long debugctl; in set_task_blockstep() local 182 debugctl = get_debugctlmsr(); in set_task_blockstep() 184 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep() 187 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep() 191 update_debugctlmsr(debugctl); in set_task_blockstep()
|
D | process.c | 500 unsigned long debugctl, msk; in __switch_to_xtra() local 502 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra() 503 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra() 505 debugctl |= (msk >> TIF_BLOCKSTEP) << DEBUGCTLMSR_BTF_SHIFT; in __switch_to_xtra() 506 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __switch_to_xtra()
|
/arch/x86/events/intel/ |
D | lbr.c | 156 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/ |
D | core.c | 534 unsigned long debugctl = get_debugctlmsr(); in clear_btf() local 536 debugctl &= ~DEBUGCTLMSR_BTF; in clear_btf() 537 update_debugctlmsr(debugctl); in clear_btf() 544 unsigned long debugctl = get_debugctlmsr(); in restore_btf() local 546 debugctl |= DEBUGCTLMSR_BTF; in restore_btf() 547 update_debugctlmsr(debugctl); in restore_btf()
|
/arch/x86/include/asm/xen/ |
D | interface.h | 293 uint64_t debugctl; member
|
/arch/x86/events/ |
D | core.c | 1274 u64 pebs, debugctl; in perf_event_print_debug() local 1303 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug() 1304 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
|