Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/include/asm/
Dprocessor.h681 unsigned long debugctlmsr = 0; in get_debugctlmsr() local
687 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in get_debugctlmsr()
689 return debugctlmsr; in get_debugctlmsr()
692 static inline void update_debugctlmsr(unsigned long debugctlmsr) in update_debugctlmsr() argument
698 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in update_debugctlmsr()
/linux-6.1.9/arch/x86/events/intel/
Dds.c665 unsigned long debugctlmsr; in intel_pmu_enable_bts() local
667 debugctlmsr = get_debugctlmsr(); in intel_pmu_enable_bts()
669 debugctlmsr |= DEBUGCTLMSR_TR; in intel_pmu_enable_bts()
670 debugctlmsr |= DEBUGCTLMSR_BTS; in intel_pmu_enable_bts()
672 debugctlmsr |= DEBUGCTLMSR_BTINT; in intel_pmu_enable_bts()
675 debugctlmsr |= DEBUGCTLMSR_BTS_OFF_OS; in intel_pmu_enable_bts()
678 debugctlmsr |= DEBUGCTLMSR_BTS_OFF_USR; in intel_pmu_enable_bts()
680 update_debugctlmsr(debugctlmsr); in intel_pmu_enable_bts()
686 unsigned long debugctlmsr; in intel_pmu_disable_bts() local
691 debugctlmsr = get_debugctlmsr(); in intel_pmu_disable_bts()
[all …]