VirtualBox

Changeset 47710 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 13, 2013 7:35:21 PM (11 years ago)
Author:
vboxsync
Message:

DevATA: Added Log4 statements for logging the data being read or written.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r45974 r47710  
    15451545    s->Led.Actual.s.fReading = 0;
    15461546    STAM_PROFILE_ADV_STOP(&s->StatReads, r);
     1547    Log4(("ataReadSectors: rc=%Rrc cSectors=%#x u64Sector=%llu\n%.*Rhxd\n",
     1548          rc, cSectors, u64Sector, cSectors * 512, pvBuf));
    15471549
    15481550    STAM_REL_COUNTER_ADD(&s->StatBytesRead, cSectors * 512);
     
    15811583    s->Led.Actual.s.fWriting = 0;
    15821584    STAM_PROFILE_ADV_STOP(&s->StatWrites, w);
     1585    Log4(("ataWriteSectors: rc=%Rrc cSectors=%#x u64Sector=%llu\n%.*Rhxd\n",
     1586          rc, cSectors, u64Sector, cSectors * 512, pvBuf));
    15831587
    15841588    STAM_REL_COUNTER_ADD(&s->StatBytesWritten, cSectors * 512);
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