Changeset 84823 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jun 15, 2020 6:58:36 AM (5 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/DBGFAllTracer.cpp
r84766 r84823 56 56 # error "No/Invalid context specified" 57 57 #endif 58 59 return NULL;60 58 } 61 59 … … 311 309 DBGFTRACEREVTIOPORTSTR EvtIoPortStr; 312 310 EvtIoPortStr.hIoPorts = hIoPorts; 313 EvtIoPortStr.cbItem = cbItem;311 EvtIoPortStr.cbItem = (uint32_t)cbItem; 314 312 EvtIoPortStr.cTransfersReq = cTransfersReq; 315 313 EvtIoPortStr.cTransfersRet = cTransfersRet; -
trunk/src/VBox/VMM/VMMR0/DBGFR0Tracer.cpp
r84485 r84823 56 56 DECLHIDDEN(int) dbgfR0TracerDestroy(PGVM pGVM, PDBGFTRACERINSR0 pTracer) 57 57 { 58 RT_NOREF(pGVM); 59 58 60 /* 59 61 * Free the ring-3 mapping and instance memory. -
trunk/src/VBox/VMM/VMMR0/PDMR0DevHlp.cpp
r84809 r84823 49 49 RT_C_DECLS_BEGIN 50 50 extern DECLEXPORT(const PDMDEVHLPR0) g_pdmR0DevHlp; 51 extern DECLEXPORT(const PDMDEVHLPR0) g_pdmR0DevHlpTracing; 51 52 extern DECLEXPORT(const PDMPICHLP) g_pdmR0PicHlp; 52 53 extern DECLEXPORT(const PDMIOAPICHLP) g_pdmR0IoApicHlp; -
trunk/src/VBox/VMM/VMMR3/DBGFR3Tracer.cpp
r84766 r84823 915 915 */ 916 916 DECLHIDDEN(int) dbgfR3TracerCreate(PVM pVM, bool fR0Enabled, const char *pszTraceFilePath, 917 size_t cbRingBuf, PDBGFTRACERINSR3 *ppDbgfTracerR3)917 uint32_t cbRingBuf, PDBGFTRACERINSR3 *ppDbgfTracerR3) 918 918 { 919 919 PDBGFTRACERINSR3 pThis = NULL; … … 1006 1006 { 1007 1007 bool fR0Enabled; 1008 uint 64_t cbRingBuf = 0;1008 uint32_t cbRingBuf = 0; 1009 1009 char *pszTraceFilePath = NULL; 1010 1010 rc = CFGMR3QueryBoolDef(pDbgfNode, "TracerR0Enabled", &fR0Enabled, false); 1011 1011 if (RT_SUCCESS(rc)) 1012 rc = CFGMR3QueryU 64Def(pDbgfNode, "TracerRingBufSz", &cbRingBuf, _4M);1012 rc = CFGMR3QueryU32Def(pDbgfNode, "TracerRingBufSz", &cbRingBuf, _4M); 1013 1013 if (RT_SUCCESS(rc)) 1014 1014 rc = CFGMR3QueryStringAlloc(pDbgfNode, "TracerFilePath", &pszTraceFilePath);
Note:
See TracChangeset
for help on using the changeset viewer.