Changeset 29365 in vbox
- Timestamp:
- May 11, 2010 3:18:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServicePageSharing.cpp
r29361 r29365 173 173 while (dwModuleSize); 174 174 175 VBoxServiceVerbose(3, "VbglR3RegisterSharedModule %s %s base=%p size=%x cregions=%d\n", pModule->Info.szModule, pModule->szFileVersion, pModule->Info.modBaseAddr, pModule->Info.modBaseSize, idxRegion); 175 176 int rc = VbglR3RegisterSharedModule(pModule->Info.szModule, pModule->szFileVersion, (RTGCPTR64)pModule->Info.modBaseAddr, 176 177 pModule->Info.modBaseSize, idxRegion, aRegions); 177 AssertRC(rc); 178 // AssertRC(rc); 179 if (RT_FAILURE(rc)) 180 VBoxServiceVerbose(3, "VbglR3RegisterSharedModule failed with %d\n", rc); 181 178 182 179 183 end: … … 189 193 { 190 194 HANDLE hProcess, hSnapshot; 191 192 VBoxServiceVerbose(3, "VBoxServicePageSharingInspectModules\n");193 195 194 196 /* Get a list of all the modules in this process. */ … … 197 199 if (hProcess == NULL) 198 200 { 199 VBoxServiceVerbose(3, " OpenProcess failed with %d\n", GetLastError());201 VBoxServiceVerbose(3, "VBoxServicePageSharingInspectModules: OpenProcess %x failed with %d\n", dwProcessId, GetLastError()); 200 202 return; 201 203 } … … 204 206 if (hSnapshot == INVALID_HANDLE_VALUE) 205 207 { 206 VBoxServiceVerbose(3, " CreateToolhelp32Snapshot failed with %d\n", GetLastError());208 VBoxServiceVerbose(3, "VBoxServicePageSharingInspectModules: CreateToolhelp32Snapshot failed with %d\n", GetLastError()); 207 209 CloseHandle(hProcess); 208 210 return; 209 211 } 212 213 VBoxServiceVerbose(3, "VBoxServicePageSharingInspectModules\n"); 210 214 211 215 MODULEENTRY32 ModuleInfo; … … 371 375 for (;;) 372 376 { 377 VBoxServiceVerbose(3, "VBoxServicePageSharingWorker: enabled=%d\n", VbglR3PageSharingIsEnabled()); 373 378 374 379 if (VbglR3PageSharingIsEnabled())
Note:
See TracChangeset
for help on using the changeset viewer.