Searched refs:debugctl (Results 1 – 5 of 5) sorted by relevance
164 unsigned long debugctl; in set_task_blockstep() local177 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()
238 unsigned long debugctl = get_debugctlmsr(); in __switch_to_xtra() local240 debugctl &= ~DEBUGCTLMSR_BTF; in __switch_to_xtra()242 debugctl |= DEBUGCTLMSR_BTF; in __switch_to_xtra()244 update_debugctlmsr(debugctl); in __switch_to_xtra()
138 u64 debugctl, lbr_select = 0, orig_debugctl; in __intel_pmu_lbr_enable() local149 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() local167 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 …]
1227 u64 pebs, debugctl; in perf_event_print_debug() local1256 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()
495 unsigned long debugctl = get_debugctlmsr(); in clear_btf() local497 debugctl &= ~DEBUGCTLMSR_BTF; in clear_btf()498 update_debugctlmsr(debugctl); in clear_btf()505 unsigned long debugctl = get_debugctlmsr(); in restore_btf() local507 debugctl |= DEBUGCTLMSR_BTF; in restore_btf()508 update_debugctlmsr(debugctl); in restore_btf()