Changeset 40898 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Apr 12, 2012 9:07:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv-dtrace.cpp
r40893 r40898 206 206 AssertPtrReturnVoid(pProv); 207 207 LOG_DTRACE(("supdrvDtPOps_Provide: %p / %p pDtProbeDesc=%p\n", pProv, pProv->TracerData.DTrace.idProvider, pDtProbeDesc)); 208 size_t const cbFnNmBuf = _4K + _1K; 209 char *pszFnNmBuf; 210 uint16_t idxProv; 211 212 if (pDtProbeDesc) 213 return; /* We don't generate probes, so never mind these requests. */ 214 215 if (pProv->TracerData.DTrace.fZombie) 216 return; 217 218 dtrace_provider_id_t idProvider = pProv->TracerData.DTrace.idProvider; 219 AssertPtrReturnVoid(idProvider); 220 208 221 AssertPtrReturnVoid(pProv->pHdr); 209 222 PVTGPROBELOC pProbeLoc = pProv->pHdr->paProbLocs; … … 211 224 PVTGPROBELOC pProbeLocEnd = pProv->pHdr->paProbLocsEnd; 212 225 AssertPtrReturnVoid(pProbeLocEnd); 213 dtrace_provider_id_t idProvider = pProv->TracerData.DTrace.idProvider;214 AssertPtrReturnVoid(idProvider);215 size_t const cbFnNmBuf = _4K + _1K;216 char *pszFnNmBuf;217 uint16_t idxProv;218 219 if (pDtProbeDesc)220 return; /* We don't generate probes, so never mind these requests. */221 222 if (pProv->TracerData.DTrace.fZombie)223 return;224 225 226 if (pProv->TracerData.DTrace.cProvidedProbes >= (uintptr_t)(pProbeLocEnd - pProbeLoc)) 226 227 return;
Note:
See TracChangeset
for help on using the changeset viewer.