Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dstep.c167 unsigned long debugctl; in set_task_blockstep() local
180 debugctl = get_debugctlmsr(); in set_task_blockstep()
182 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep()
185 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep()
189 update_debugctlmsr(debugctl); in set_task_blockstep()
Dprocess.c192 unsigned long debugctl = get_debugctlmsr(); in __switch_to_xtra() local
194 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()
196 debugctl |= DEBUGCTLMSR_BTF; in __switch_to_xtra()
198 update_debugctlmsr(debugctl); in __switch_to_xtra()
/arch/x86/events/intel/
Dlbr.c152 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
170 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
171 orig_debugctl = debugctl; in __intel_pmu_lbr_enable()
172 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable()
179 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
180 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable()
181 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
186 u64 debugctl; in __intel_pmu_lbr_disable() local
188 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
189 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
[all …]
/arch/x86/kernel/kprobes/
Dcore.c513 unsigned long debugctl = get_debugctlmsr(); in clear_btf() local
515 debugctl &= ~DEBUGCTLMSR_BTF; in clear_btf()
516 update_debugctlmsr(debugctl); in clear_btf()
523 unsigned long debugctl = get_debugctlmsr(); in restore_btf() local
525 debugctl |= DEBUGCTLMSR_BTF; in restore_btf()
526 update_debugctlmsr(debugctl); in restore_btf()
/arch/x86/include/asm/xen/
Dinterface.h293 uint64_t debugctl; member
/arch/x86/events/
Dcore.c1279 u64 pebs, debugctl; in perf_event_print_debug() local
1308 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1309 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()