VirtualBox

Changeset 39812 in vbox for trunk/src


Ignore:
Timestamp:
Jan 19, 2012 4:56:12 PM (13 years ago)
Author:
vboxsync
Message:

Trace VM exits.

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r39402 r39812  
    2525#include <VBox/vmm/iom.h>
    2626#include <VBox/vmm/dbgf.h>
     27#include <VBox/vmm/dbgftrace.h>
    2728#include <VBox/vmm/tm.h>
    2829#include <VBox/vmm/pdmapi.h>
     
    15971598    }
    15981599
     1600#ifdef DBGFTRACE_ENABLED /** @todo DTrace */
     1601    RTTraceBufAddMsgF(pVM->CTX_SUFF(hTraceBuf), "vmexit %08x at %04:%08RX64 %RX64 %RX64 %RX64",
     1602                      exitCode, pCtx->cs, pCtx->rip,
     1603                      pVMCB->ctrl.u64ExitInfo1, pVMCB->ctrl.u64ExitInfo2, pVMCB->ctrl.ExitIntInfo.au64[0]);
     1604#endif
    15991605    STAM_PROFILE_ADV_STOP_START(&pVCpu->hwaccm.s.StatExit1, &pVCpu->hwaccm.s.StatExit2, x);
    16001606
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r39739 r39812  
    2525#include <VBox/vmm/pgm.h>
    2626#include <VBox/vmm/dbgf.h>
     27#include <VBox/vmm/dbgftrace.h>
    2728#include <VBox/vmm/selm.h>
    2829#include <VBox/vmm/iom.h>
     
    28522853    }
    28532854
     2855#ifdef DBGFTRACE_ENABLED /** @todo DTrace later. */
     2856    RTTraceBufAddMsgF(pVM->CTX_SUFF(hTraceBuf), "vmexit %08x %016RX64 at %04:%08RX64 %RX64",
     2857                      exitReason, (uint64_t)exitQualification, pCtx->cs, pCtx->rip, (uint64_t)intInfo);
     2858#endif
    28542859    STAM_PROFILE_ADV_STOP_START(&pVCpu->hwaccm.s.StatExit1, &pVCpu->hwaccm.s.StatExit2, x);
    28552860
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette