Revert "Enable event tracing"

This reverts commit bd5c0f67817fd78b643769de307d1838249c53da.
This commit is contained in:
David Venhoff 2025-08-14 12:57:11 +02:00
parent bd5c0f6781
commit 5cbb1d1a8e

View File

@ -72,7 +72,6 @@
#define TSC_EN BIT_ULL(10)
#define DIS_RETC BIT_ULL(11)
#define BRANCH_EN BIT_ULL(13)
#define EVENT_EN BIT_ULL(31)
#define ADDR0_EN BIT_ULL(32)
#define ADDR1_EN BIT_ULL(36)
@ -865,7 +864,7 @@ static inline void vmx_pt_setup_msrs(struct vcpu_vmx_pt *vmx_pt){
int i;
//vmx_pt->ia32_rtit_ctrl_msr = 0ULL;
WRITE_ONCE(vmx_pt->ia32_rtit_ctrl_msr, (!TRACE_EN) | CTL_OS | CTL_USER | TO_PA | EVENT_EN | BRANCH_EN | DIS_RETC | PSB_MASK | CYC_EN | TSC_EN);
WRITE_ONCE(vmx_pt->ia32_rtit_ctrl_msr, (!TRACE_EN) | CTL_OS | CTL_USER | TO_PA | BRANCH_EN | DIS_RETC | PSB_MASK | CYC_EN | TSC_EN);
//vmx_pt->ia32_rtit_ctrl_msr = (!TRACE_EN) | CTL_OS | CTL_USER | TO_PA | BRANCH_EN | DIS_RETC | PSB_MASK;
for (i = 0; i < 4; i++){