Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/kernel/
Dstep.c166 unsigned long debugctl; in set_task_blockstep() local
179 debugctl = get_debugctlmsr(); in set_task_blockstep()
181 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep()
184 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep()
188 update_debugctlmsr(debugctl); in set_task_blockstep()
Dprocess.c201 unsigned long debugctl = get_debugctlmsr(); in __switch_to_xtra() local
203 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()
205 debugctl |= DEBUGCTLMSR_BTF; in __switch_to_xtra()
207 update_debugctlmsr(debugctl); in __switch_to_xtra()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_lbr.c141 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
159 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
160 orig_debugctl = debugctl; in __intel_pmu_lbr_enable()
161 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable()
168 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
169 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable()
170 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
175 u64 debugctl; in __intel_pmu_lbr_disable() local
177 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
178 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
[all …]
Dperf_event.c1245 u64 pebs, debugctl; in perf_event_print_debug() local
1274 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1275 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
/linux-4.4.14/arch/x86/kernel/kprobes/
Dcore.c495 unsigned long debugctl = get_debugctlmsr(); in clear_btf() local
497 debugctl &= ~DEBUGCTLMSR_BTF; in clear_btf()
498 update_debugctlmsr(debugctl); in clear_btf()
505 unsigned long debugctl = get_debugctlmsr(); in restore_btf() local
507 debugctl |= DEBUGCTLMSR_BTF; in restore_btf()
508 update_debugctlmsr(debugctl); in restore_btf()
/linux-4.4.14/arch/x86/include/asm/xen/
Dinterface.h293 uint64_t debugctl; member