Changeset 40371 in vbox
- Timestamp:
- Mar 6, 2012 10:07:48 AM (13 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r40356 r40371 44 44 #include <VBox/vmm/iom.h> 45 45 #include <VBox/vmm/dbgf.h> 46 #include <VBox/vmm/dbgftrace.h> 46 47 #include <VBox/vmm/pgm.h> 47 48 #ifdef VBOX_WITH_REM … … 2111 2112 if (enmOldState != enmNewState) 2112 2113 { 2114 #ifdef DBGFTRACE_ENABLED 2115 RTTraceBufAddMsgF(pVM->CTX_SUFF(hTraceBuf), "em-outer %d: %d -> %d", rc, enmOldState, enmNewState); 2116 #endif 2113 2117 /* Clear MWait flags. */ 2114 2118 if ( enmOldState == EMSTATE_HALTED … … 2125 2129 } 2126 2130 } 2131 #ifdef DBGFTRACE_ENABLED 2132 else 2133 RTTraceBufAddMsgF(pVM->CTX_SUFF(hTraceBuf), "em-outer %d: %d", rc, enmOldState); 2134 #endif 2127 2135 2128 2136 STAM_PROFILE_ADV_STOP(&pVCpu->em.s.StatTotal, x); /* (skip this in release) */ -
trunk/src/VBox/VMM/VMMR3/EMRaw.cpp
r40356 r40371 30 30 #include <VBox/vmm/iom.h> 31 31 #include <VBox/vmm/dbgf.h> 32 #include <VBox/vmm/dbgftrace.h> 32 33 #include <VBox/vmm/pgm.h> 33 34 #ifdef VBOX_WITH_REM … … 1383 1384 || VMCPU_FF_ISPENDING(pVCpu, VMCPU_FF_HIGH_PRIORITY_PRE_RAW_MASK)) 1384 1385 { 1386 #ifdef DBGFTRACE_ENABLED 1387 RTTraceBufAddMsgF(pVM->CTX_SUFF(hTraceBuf), "em-raw ff %08x/%08x pre", pVM->fGlobalForcedActions, pVCpu->fLocalForcedActions); 1388 #endif 1385 1389 rc = emR3RawForcedActions(pVM, pVCpu, pCtx); 1386 1390 if (rc != VINF_SUCCESS) … … 1449 1453 rc = VMMR3RawRunGC(pVM, pVCpu); 1450 1454 STAM_PROFILE_STOP(&pVCpu->em.s.StatRAWExec, c); 1455 #ifdef DBGFTRACE_ENABLED 1456 RTTraceBufAddMsgF(pVM->CTX_SUFF(hTraceBuf), "em-raw run => %d", rc); 1457 #endif 1451 1458 } 1452 1459 else … … 1542 1549 { 1543 1550 Assert(pCtx->eflags.Bits.u1VM || (pCtx->ss & X86_SEL_RPL) != 1); 1551 #ifdef DBGFTRACE_ENABLED 1552 RTTraceBufAddMsgF(pVM->CTX_SUFF(hTraceBuf), "em-raw ff %08x/%08x post", pVM->fGlobalForcedActions, pVCpu->fLocalForcedActions); 1553 #endif 1544 1554 1545 1555 STAM_REL_PROFILE_ADV_SUSPEND(&pVCpu->em.s.StatRAWTotal, a);
Note:
See TracChangeset
for help on using the changeset viewer.

