Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dprocessor.h691 unsigned long debugctlmsr = 0; in get_debugctlmsr() local
697 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in get_debugctlmsr()
699 return debugctlmsr; in get_debugctlmsr()
702 static inline void update_debugctlmsr(unsigned long debugctlmsr) in update_debugctlmsr() argument
708 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in update_debugctlmsr()
/arch/x86/events/intel/
Dds.c546 unsigned long debugctlmsr; in intel_pmu_enable_bts() local
548 debugctlmsr = get_debugctlmsr(); in intel_pmu_enable_bts()
550 debugctlmsr |= DEBUGCTLMSR_TR; in intel_pmu_enable_bts()
551 debugctlmsr |= DEBUGCTLMSR_BTS; in intel_pmu_enable_bts()
553 debugctlmsr |= DEBUGCTLMSR_BTINT; in intel_pmu_enable_bts()
556 debugctlmsr |= DEBUGCTLMSR_BTS_OFF_OS; in intel_pmu_enable_bts()
559 debugctlmsr |= DEBUGCTLMSR_BTS_OFF_USR; in intel_pmu_enable_bts()
561 update_debugctlmsr(debugctlmsr); in intel_pmu_enable_bts()
567 unsigned long debugctlmsr; in intel_pmu_disable_bts() local
572 debugctlmsr = get_debugctlmsr(); in intel_pmu_disable_bts()
[all …]