Home
last modified time | relevance | path

Searched refs:debugctlmsr (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/include/asm/
H A Ddebugreg.h166 unsigned long debugctlmsr = 0; in get_debugctlmsr() local
172 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in get_debugctlmsr()
174 return debugctlmsr; in get_debugctlmsr()
177 static inline void update_debugctlmsr(unsigned long debugctlmsr) in update_debugctlmsr() argument
183 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in update_debugctlmsr()
/linux/arch/x86/events/intel/
H A Dds.c809 unsigned long debugctlmsr; in intel_pmu_enable_bts() local
811 debugctlmsr = get_debugctlmsr(); in intel_pmu_enable_bts()
813 debugctlmsr |= DEBUGCTLMSR_TR; in intel_pmu_enable_bts()
814 debugctlmsr |= DEBUGCTLMSR_BTS; in intel_pmu_enable_bts()
816 debugctlmsr |= DEBUGCTLMSR_BTINT; in intel_pmu_enable_bts()
819 debugctlmsr |= DEBUGCTLMSR_BTS_OFF_OS; in intel_pmu_enable_bts()
822 debugctlmsr |= DEBUGCTLMSR_BTS_OFF_USR; in intel_pmu_enable_bts()
824 update_debugctlmsr(debugctlmsr); in intel_pmu_enable_bts()
830 unsigned long debugctlmsr; in intel_pmu_disable_bts() local
835 debugctlmsr = get_debugctlmsr(); in intel_pmu_disable_bts()
[all …]