Home
last modified time | relevance | path

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

/linux/arch/x86/include/asm/
A Dprocessor.h682 unsigned long debugctlmsr = 0; in get_debugctlmsr() local
688 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in get_debugctlmsr()
690 return debugctlmsr; in get_debugctlmsr()
693 static inline void update_debugctlmsr(unsigned long debugctlmsr) in update_debugctlmsr() argument
699 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in update_debugctlmsr()
/linux/arch/x86/events/intel/
A Dds.c611 unsigned long debugctlmsr; in intel_pmu_enable_bts() local
613 debugctlmsr = get_debugctlmsr(); in intel_pmu_enable_bts()
615 debugctlmsr |= DEBUGCTLMSR_TR; in intel_pmu_enable_bts()
616 debugctlmsr |= DEBUGCTLMSR_BTS; in intel_pmu_enable_bts()
618 debugctlmsr |= DEBUGCTLMSR_BTINT; in intel_pmu_enable_bts()
621 debugctlmsr |= DEBUGCTLMSR_BTS_OFF_OS; in intel_pmu_enable_bts()
626 update_debugctlmsr(debugctlmsr); in intel_pmu_enable_bts()
632 unsigned long debugctlmsr; in intel_pmu_disable_bts() local
637 debugctlmsr = get_debugctlmsr(); in intel_pmu_disable_bts()
639 debugctlmsr &= in intel_pmu_disable_bts()
[all …]

Completed in 10 milliseconds