Changeset 44138 in vbox for trunk/src/VBox
- Timestamp:
- Dec 15, 2012 2:31:17 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 82751
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r43626 r44138 58 58 #include "ATAPIPassthrough.h" 59 59 #include "VBoxDD.h" 60 61 #if defined(VBOX_WITH_DTRACE) \ 62 && defined(IN_RING3) \ 63 && !defined(VBOX_DEVICE_STRUCT_TESTCASE) 64 # include "dtrace/VBoxDD.h" 65 #else 66 # define VBOXDD_AHCI_REQ_SUBMIT(a,b,c,d) do { } while (0) 67 # define VBOXDD_AHCI_REQ_SUBMIT_TIMESTAMP(a,b) do { } while (0) 68 # define VBOXDD_AHCI_REQ_COMPLETED(a,b,c,d,e) do { } while (0) 69 # define VBOXDD_AHCI_REQ_COMPLETED_TIMESTAMP(a,b) do { } while (0) 70 #endif 60 71 61 72 /** Maximum number of ports available. … … 5617 5628 bool fCanceled = false; 5618 5629 uint64_t tsNow = RTTimeMilliTS(); 5630 AHCITXDIR enmTxDir = AHCITXDIR_NONE; 5631 5632 ASMAtomicReadSize(&pAhciReq->enmTxState, &enmTxDir); 5633 VBOXDD_AHCI_REQ_COMPLETED(pAhciReq, rcReq, enmTxDir, pAhciReq->uOffset, pAhciReq->cbTransfer); 5634 VBOXDD_AHCI_REQ_COMPLETED_TIMESTAMP(pAhciReq, tsNow); 5619 5635 5620 5636 /* … … 6323 6339 if (!(pAhciReq->fFlags & AHCI_REQ_OVERFLOW)) 6324 6340 { 6341 VBOXDD_AHCI_REQ_SUBMIT(pAhciReq, enmTxDir, pAhciReq->uOffset, pAhciReq->cbTransfer); 6342 VBOXDD_AHCI_REQ_SUBMIT_TIMESTAMP(pAhciReq, pAhciReq->tsStart); 6325 6343 if (enmTxDir == AHCITXDIR_FLUSH) 6326 6344 { -
trunk/src/VBox/Devices/build/VBoxDD.d
r40517 r44138 22 22 probe hgcmcall__completed__emt(void *pvCmd, int rc); 23 23 probe hgcmcall__completed__done(void *pvCmd, unsigned int idFunction, unsigned int idClient, int rc); 24 25 probe ahci__req__submit(void *pvReq, int iTxDir, uint64_t offStart, uint32_t cbXfer); 26 probe ahci__req__submit__timestamp(void *pvReq, uint64_t tsStart); 27 probe ahci__req__completed(void *pvReq, int rcReq, int iState, uint64_t offStart, uint32_t cbXfer); 28 probe ahci__req__completed__timestamp(void *pvReq, uint64_t tsEnd); 24 29 }; 25 30
Note:
See TracChangeset
for help on using the changeset viewer.