Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/include/asm/
Dprocessor.h698 unsigned long debugctlmsr = 0; in get_debugctlmsr() local
704 rdmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in get_debugctlmsr()
706 return debugctlmsr; in get_debugctlmsr()
709 static inline void update_debugctlmsr(unsigned long debugctlmsr) in update_debugctlmsr() argument
715 wrmsrl(MSR_IA32_DEBUGCTLMSR, debugctlmsr); in update_debugctlmsr()
/Linux-v5.10/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 …]