Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/
Dstep.c164 unsigned long debugctl; in set_task_blockstep() local
177 debugctl = get_debugctlmsr(); in set_task_blockstep()
179 debugctl |= DEBUGCTLMSR_BTF; in set_task_blockstep()
182 debugctl &= ~DEBUGCTLMSR_BTF; in set_task_blockstep()
186 update_debugctlmsr(debugctl); in set_task_blockstep()
Dprocess.c238 unsigned long debugctl = get_debugctlmsr(); in __switch_to_xtra() local
240 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()
242 debugctl |= DEBUGCTLMSR_BTF; in __switch_to_xtra()
244 update_debugctlmsr(debugctl); in __switch_to_xtra()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_lbr.c138 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local
149 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
150 orig_debugctl = debugctl; in __intel_pmu_lbr_enable()
151 debugctl |= DEBUGCTLMSR_LBR; in __intel_pmu_lbr_enable()
158 debugctl |= DEBUGCTLMSR_FREEZE_LBRS_ON_PMI; in __intel_pmu_lbr_enable()
159 if (orig_debugctl != debugctl) in __intel_pmu_lbr_enable()
160 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_enable()
165 u64 debugctl; in __intel_pmu_lbr_disable() local
167 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in __intel_pmu_lbr_disable()
168 debugctl &= ~(DEBUGCTLMSR_LBR | DEBUGCTLMSR_FREEZE_LBRS_ON_PMI); in __intel_pmu_lbr_disable()
[all …]
Dperf_event.c1227 u64 pebs, debugctl; in perf_event_print_debug() local
1256 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctl); in perf_event_print_debug()
1257 pr_info("CPU#%d: debugctl: %016llx\n", cpu, debugctl); in perf_event_print_debug()
/linux-4.1.27/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()