- Timestamp:
- May 20, 2015 11:24:44 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku-stubs.c
r55980 r55988 331 331 return g_VBoxGuest->_RTLogDefaultInstance(); 332 332 } 333 RTDECL(PRTLOGGER) RTLogDefaultInstanceEx(uint32_t fFlags , uint32_t iGroup)334 { 335 return g_VBoxGuest->_RTLogDefaultInstanceEx(fFlags , iGroup);333 RTDECL(PRTLOGGER) RTLogDefaultInstanceEx(uint32_t fFlagsAndGroup) 334 { 335 return g_VBoxGuest->_RTLogDefaultInstanceEx(fFlagsAndGroup); 336 336 } 337 337 RTDECL(PRTLOGGER) RTLogRelGetDefaultInstance(void) -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.h
r55980 r55988 180 180 void (*_RTMemTmpFree)(void *pv); 181 181 PRTLOGGER(*_RTLogDefaultInstance)(void); 182 PRTLOGGER(*_RTLogDefaultInstanceEx)(uint32_t fFlags , uint32_t iGroup);182 PRTLOGGER(*_RTLogDefaultInstanceEx)(uint32_t fFlagsAndGroup); 183 183 PRTLOGGER(*_RTLogRelGetDefaultInstance)(void); 184 PRTLOGGER(*_RTLogRelGetDefaultInstanceEx)(uint32_t fFlags , uint32_t iGroup);184 PRTLOGGER(*_RTLogRelGetDefaultInstanceEx)(uint32_t fFlagsAndGroup); 185 185 int (*_RTErrConvertToErrno)(int iErr); 186 186 int (*_VbgdCommonIoCtl)(unsigned iFunction, PVBOXGUESTDEVEXT pDevExt, PVBOXGUESTSESSION pSession, -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibRuntimeXF86.cpp
r55981 r55988 65 65 } 66 66 67 RTDECL(PRTLOGGER) RTLogDefaultInstanceEx(uint32_t fFlags , uint32_t iGroup)67 RTDECL(PRTLOGGER) RTLogDefaultInstanceEx(uint32_t fFlagsAndGroup) 68 68 { 69 NOREF(fFlags ); NOREF(iGroup);69 NOREF(fFlagsAndGroup); 70 70 return NULL; 71 71 } … … 76 76 } 77 77 78 RTDECL(PRTLOGGER) RTLogRelGetDefaultInstanceEx(uint32_t fFlags , uint32_t iGroup)78 RTDECL(PRTLOGGER) RTLogRelGetDefaultInstanceEx(uint32_t fFlagsAndGroup) 79 79 { 80 NOREF(fFlags ); NOREF(iGroup);80 NOREF(fFlagsAndGroup); 81 81 return NULL; 82 82 } -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r55977 r55988 2343 2343 default: 2344 2344 { 2345 Log Bird(("VBoxSDL: Unknown SDL event %d (pre)\n", event.type));2345 Log8(("VBoxSDL: Unknown SDL event %d (pre)\n", event.type)); 2346 2346 break; 2347 2347 } … … 2905 2905 default: 2906 2906 { 2907 Log Bird(("unknown SDL event %d\n", event.type));2907 Log8(("unknown SDL event %d\n", event.type)); 2908 2908 break; 2909 2909 } -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r55915 r55988 3220 3220 if (!ok) 3221 3221 { 3222 LogWarningFunc (("Couldn't switch to desktop=%08X\n", 3223 desktop)); 3222 Log1WarningFunc(("Couldn't switch to desktop=%08X\n", desktop)); 3224 3223 result = false; 3225 3224 } … … 3228 3227 else 3229 3228 { 3230 LogWarningFunc (("Couldn't find a desktop ID for aWId=%08X\n", 3231 aWId)); 3229 Log1WarningFunc(("Couldn't find a desktop ID for aWId=%08X\n", aWId)); 3232 3230 result = false; 3233 3231 } … … 3249 3247 3250 3248 if (!result) 3251 Log WarningFunc(("Couldn't activate aWId=%08X\n", aWId));3249 Log1WarningFunc(("Couldn't activate aWId=%08X\n", aWId)); 3252 3250 3253 3251 return result; -
trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp
r55980 r55988 233 233 { "RTLogLoggerExV", (void *)RTLogLoggerExV }, 234 234 { "RTLogPrintfV", (void *)RTLogPrintfV }, 235 { "RTLogRelDefaultInstance", (void *)RTLogRelGetDefaultInstance },236 235 { "RTLogRelGetDefaultInstance", (void *)RTLogRelGetDefaultInstance }, 237 236 { "RTLogRelGetDefaultInstanceEx", (void *)RTLogRelGetDefaultInstanceEx }, -
trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h
r55980 r55988 213 213 * 214 214 * @todo Pending work on next major version change: 215 * - Remove RTLogRelDefaultInstance export from SUPDrv.cpp.216 */ 217 #define SUPDRV_IOC_VERSION 0x002 20001215 * - nothing. 216 */ 217 #define SUPDRV_IOC_VERSION 0x00230000 218 218 219 219 /** SUP_IOCTL_COOKIE. */ -
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r55980 r55988 279 279 strcpy(CookieReq.u.In.szMagic, SUPCOOKIE_MAGIC); 280 280 CookieReq.u.In.u32ReqVersion = SUPDRV_IOC_VERSION; 281 const uint32_t uMinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x002 00000282 ? 0x002 00001281 const uint32_t uMinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x00230000 282 ? 0x00230000 283 283 : SUPDRV_IOC_VERSION & 0xffff0000; 284 284 CookieReq.u.In.u32MinVersion = uMinVersion; -
trunk/src/VBox/Main/src-all/SharedFolderImpl.cpp
r55401 r55988 364 364 vrc); 365 365 366 Log WarningThisFunc(("m.lastAccessError=\"%s\"\n", m->strLastAccessError.c_str()));366 Log1WarningThisFunc(("m.lastAccessError=\"%s\"\n", m->strLastAccessError.c_str())); 367 367 368 368 *aAccessible = FALSE; -
trunk/src/VBox/Main/src-all/VirtualBoxBase.cpp
r55958 r55988 324 324 * set the exception (nobody will be able to read it). 325 325 */ 326 LogWarningFunc(("Will not set an exception because nsIExceptionService is not available " 327 "(NS_ERROR_UNEXPECTED). XPCOM is being shutdown?\n")); 326 Log1WarningFunc(("Will not set an exception because nsIExceptionService is not available (NS_ERROR_UNEXPECTED). XPCOM is being shutdown?\n")); 328 327 rc = NS_OK; 329 328 } … … 491 490 * set the exception (nobody will be able to read it). 492 491 */ 493 LogWarningFunc(("Will not set an exception because nsIExceptionService is not available " 494 "(NS_ERROR_UNEXPECTED). XPCOM is being shutdown?\n")); 492 Log1WarningFunc(("Will not set an exception because nsIExceptionService is not available (NS_ERROR_UNEXPECTED). XPCOM is being shutdown?\n")); 495 493 rc = NS_OK; 496 494 } -
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r55941 r55988 8657 8657 else 8658 8658 { 8659 LogWarningThisFunc(("Failed to create proxy device for '%s' {%RTuuid} (%Rrc)\n", 8660 Address.c_str(), uuid.raw(), vrc)); 8659 Log1WarningThisFunc(("Failed to create proxy device for '%s' {%RTuuid} (%Rrc)\n", Address.c_str(), uuid.raw(), vrc)); 8661 8660 8662 8661 switch (vrc) … … 9330 9329 if (cbDevList < e->oNext) 9331 9330 { 9332 LogWarningThisFunc(("cbDevList %d > oNext %d\n", 9333 cbDevList, e->oNext)); 9331 Log1WarningThisFunc(("cbDevList %d > oNext %d\n", cbDevList, e->oNext)); 9334 9332 break; 9335 9333 } -
trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp
r54828 r55988 364 364 ComSafeArrayIn(BYTE,inShape)) 365 365 { 366 Log Sunlover(("VRDPConsoleListener::OnMousePointerShapeChange: %d, %d, %lux%lu, @%lu,%lu\n",367 366 Log9(("VRDPConsoleListener::OnMousePointerShapeChange: %d, %d, %lux%lu, @%lu,%lu\n", 367 visible, alpha, width, height, xHot, yHot)); 368 368 369 369 com::SafeArray <BYTE> aShape(ComSafeArrayInArg(inShape)); -
trunk/src/VBox/Main/src-client/DisplayImplLegacy.cpp
r52769 r55988 55 55 DISPLAYFBINFO *pInfo = pInfos; 56 56 unsigned uScreenId; 57 Log Sunlover(("mapCoordsToScreen: %d,%d %dx%d\n", *px, *py, *pw, *ph));57 Log9(("mapCoordsToScreen: %d,%d %dx%d\n", *px, *py, *pw, *ph)); 58 58 for (uScreenId = 0; uScreenId < cInfos; uScreenId++, pInfo++) 59 59 { 60 Log Sunlover((" [%d] %d,%d %dx%d\n", uScreenId, pInfo->xOrigin, pInfo->yOrigin, pInfo->w, pInfo->h));60 Log9((" [%d] %d,%d %dx%d\n", uScreenId, pInfo->xOrigin, pInfo->yOrigin, pInfo->w, pInfo->h)); 61 61 if ( (pInfo->xOrigin <= *px && *px < pInfo->xOrigin + (int)pInfo->w) 62 62 && (pInfo->yOrigin <= *py && *py < pInfo->yOrigin + (int)pInfo->h)) … … 65 65 *px -= pInfo->xOrigin; 66 66 *py -= pInfo->yOrigin; 67 Log Sunlover((" -> %d,%d", *px, *py));67 Log9((" -> %d,%d", *px, *py)); 68 68 break; 69 69 } … … 74 74 uScreenId = 0; 75 75 } 76 Log Sunlover((" scr %d\n", uScreenId));76 Log9((" scr %d\n", uScreenId)); 77 77 return uScreenId; 78 78 } … … 105 105 static void vbvaRgnDirtyRect(VBVADIRTYREGION *prgn, unsigned uScreenId, VBVACMDHDR *phdr) 106 106 { 107 LogSunlover(("x = %d, y = %d, w = %d, h = %d\n", 108 phdr->x, phdr->y, phdr->w, phdr->h)); 107 Log9(("x = %d, y = %d, w = %d, h = %d\n", phdr->x, phdr->y, phdr->w, phdr->h)); 109 108 110 109 /* 111 110 * Here update rectangles are accumulated to form an update area. 112 * @todo 111 */ 112 /** @todo 113 113 * Now the simplest method is used which builds one rectangle that 114 114 * includes all update areas. A bit more advanced method can be -
trunk/src/VBox/Main/src-client/HGCM.cpp
r55401 r55988 1332 1332 if (!pClient) 1333 1333 { 1334 Log WarningFunc(("Could not allocate HGCMClient!!!\n"));1334 Log1WarningFunc(("Could not allocate HGCMClient!!!\n")); 1335 1335 return VERR_NO_MEMORY; 1336 1336 } -
trunk/src/VBox/Main/src-client/SessionImpl.cpp
r55800 r55988 547 547 else 548 548 { 549 Log WarningThisFunc(("UNEXPECTED uninitialization!\n"));549 Log1WarningThisFunc(("UNEXPECTED uninitialization!\n")); 550 550 rc = autoCaller.rc(); 551 551 } -
trunk/src/VBox/Main/src-client/VMMDevInterface.cpp
r54023 r55988 372 372 if (display) 373 373 { 374 Log Sunlover(("MAIN::VMMDevInterface::iface_VideoAccelEnable: %d, %p\n", fEnable, pVbvaMemory));374 Log9(("MAIN::VMMDevInterface::iface_VideoAccelEnable: %d, %p\n", fEnable, pVbvaMemory)); 375 375 return display->VideoAccelEnableVMMDev(fEnable, pVbvaMemory); 376 376 } … … 387 387 if (display) 388 388 { 389 Log Sunlover(("MAIN::VMMDevInterface::iface_VideoAccelFlush\n"));389 Log9(("MAIN::VMMDevInterface::iface_VideoAccelFlush\n")); 390 390 display->VideoAccelFlushVMMDev(); 391 391 } … … 606 606 uint32_t *pu32ClientID) 607 607 { 608 Log Sunlover(("Enter\n"));608 Log9(("Enter\n")); 609 609 610 610 PDRVMAINVMMDEV pDrv = RT_FROM_MEMBER(pInterface, DRVMAINVMMDEV, HGCMConnector); … … 625 625 static DECLCALLBACK(int) iface_hgcmDisconnect(PPDMIHGCMCONNECTOR pInterface, PVBOXHGCMCMD pCmd, uint32_t u32ClientID) 626 626 { 627 Log Sunlover(("Enter\n"));627 Log9(("Enter\n")); 628 628 629 629 PDRVMAINVMMDEV pDrv = RT_FROM_MEMBER(pInterface, DRVMAINVMMDEV, HGCMConnector); … … 638 638 uint32_t u32Function, uint32_t cParms, PVBOXHGCMSVCPARM paParms) 639 639 { 640 Log Sunlover(("Enter\n"));640 Log9(("Enter\n")); 641 641 642 642 PDRVMAINVMMDEV pDrv = RT_FROM_MEMBER(pInterface, DRVMAINVMMDEV, HGCMConnector); … … 657 657 static DECLCALLBACK(int) iface_hgcmSave(PPDMDRVINS pDrvIns, PSSMHANDLE pSSM) 658 658 { 659 Log Sunlover(("Enter\n"));659 Log9(("Enter\n")); 660 660 return HGCMHostSaveState(pSSM); 661 661 } -
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r54985 r55988 3183 3183 { 3184 3184 /* possible case if a disk image belongs to other virtual system (OVF package with multiple VMs inside) */ 3185 Log Warning(("OVA/OVF import: Disk image %s was missed during import of VM %s\n",3186 oit->first.c_str(), vmNameEntry->strOvf.c_str()));3185 Log1Warning(("OVA/OVF import: Disk image %s was missed during import of VM %s\n", 3186 oit->first.c_str(), vmNameEntry->strOvf.c_str())); 3187 3187 NOREF(vmNameEntry); 3188 3188 ++oit; … … 3405 3405 if(cImportedDisks < avsdeHDs.size()) 3406 3406 { 3407 Log Warning(("Not all disk images were imported for VM %s. Check OVF description file.",3408 vmNameEntry->strOvf.c_str()));3407 Log1Warning(("Not all disk images were imported for VM %s. Check OVF description file.", 3408 vmNameEntry->strOvf.c_str())); 3409 3409 } 3410 3410 … … 3689 3689 { 3690 3690 /* possible case if a disk image belongs to other virtual system (OVF package with multiple VMs inside) */ 3691 Log Warning(("OVA/OVF import: Disk image %s was missed during import of VM %s\n",3692 oit->first.c_str(), vmNameEntry->strOvf.c_str()));3691 Log1Warning(("OVA/OVF import: Disk image %s was missed during import of VM %s\n", 3692 oit->first.c_str(), vmNameEntry->strOvf.c_str())); 3693 3693 NOREF(vmNameEntry); 3694 3694 ++oit; … … 3934 3934 if(cImportedDisks < avsdeHDs.size()) 3935 3935 { 3936 Log Warning(("Not all disk images were imported for VM %s. Check OVF description file.",3937 vmNameEntry->strOvf.c_str()));3936 Log1Warning(("Not all disk images were imported for VM %s. Check OVF description file.", 3937 vmNameEntry->strOvf.c_str())); 3938 3938 } 3939 3939 -
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r55854 r55988 761 761 /* fetch the current error info */ 762 762 mData->mAccessError = com::ErrorInfo(); 763 LogWarning(("Machine {%RTuuid} is inaccessible! [%ls]\n", 764 mData->mUuid.raw(), 765 mData->mAccessError.getText().raw())); 763 Log1Warning(("Machine {%RTuuid} is inaccessible! [%ls]\n", mData->mUuid.raw(), mData->mAccessError.getText().raw())); 766 764 767 765 /* rollback all changes */ … … 838 836 * still valid). We'll call it ourselves below. 839 837 */ 840 Log WarningThisFunc(("Session machine is not NULL (%p), the direct session is still open!\n",841 (SessionMachine*)mData->mSession.mMachine));838 Log1WarningThisFunc(("Session machine is not NULL (%p), the direct session is still open!\n", 839 (SessionMachine*)mData->mSession.mMachine)); 842 840 843 841 if (Global::IsOnlineOrTransient(mData->mMachineState)) 844 842 { 845 Log WarningThisFunc(("Setting state to Aborted!\n"));843 Log1WarningThisFunc(("Setting state to Aborted!\n")); 846 844 /* set machine state using SessionMachine reimplementation */ 847 845 static_cast<Machine*>(mData->mSession.mMachine)->i_setMachineState(MachineState_Aborted); … … 874 872 if (mData->flModifications) 875 873 { 876 Log WarningThisFunc(("Discarding unsaved settings changes!\n"));874 Log1WarningThisFunc(("Discarding unsaved settings changes!\n")); 877 875 i_rollback(false /* aNotify */); 878 876 } … … 4974 4972 const char *sep = error.isEmpty() ? "" : ": "; 4975 4973 CBSTR err = error.raw(); 4976 LogWarningFunc(("Someone vetoed! Change refused%s%ls\n", 4977 sep, err)); 4974 Log1WarningFunc(("Someone vetoed! Change refused%s%ls\n", sep, err)); 4978 4975 return setError(E_ACCESSDENIED, 4979 4976 tr("Could not set extra data because someone refused the requested change of '%s' to '%s'%s%ls"), … … 12194 12191 mCollectorGuest = new pm::CollectorGuest(aMachine, pid); 12195 12192 aCollector->registerGuest(mCollectorGuest); 12196 LogAleksey(("{%p} " LOG_FN_FMT ": mCollectorGuest=%p\n", 12197 this, __PRETTY_FUNCTION__, mCollectorGuest)); 12193 Log7(("{%p} " LOG_FN_FMT ": mCollectorGuest=%p\n", this, __PRETTY_FUNCTION__, mCollectorGuest)); 12198 12194 12199 12195 /* Create sub metrics */ … … 12546 12542 i_unregisterMetrics(mParent->i_performanceCollector(), mPeer); 12547 12543 /* The guest must be unregistered after its metrics (@bugref{5949}). */ 12548 LogAleksey(("{%p} " LOG_FN_FMT ": mCollectorGuest=%p\n", 12549 this, __PRETTY_FUNCTION__, mCollectorGuest)); 12544 Log7(("{%p} " LOG_FN_FMT ": mCollectorGuest=%p\n", this, __PRETTY_FUNCTION__, mCollectorGuest)); 12550 12545 if (mCollectorGuest) 12551 12546 { … … 12558 12553 if (aReason == Uninit::Abnormal) 12559 12554 { 12560 LogWarningThisFunc(("ABNORMAL client termination! (wasBusy=%d)\n", 12561 Global::IsOnlineOrTransient(lastState))); 12555 Log1WarningThisFunc(("ABNORMAL client termination! (wasBusy=%d)\n", Global::IsOnlineOrTransient(lastState))); 12562 12556 12563 12557 /* reset the state to Aborted */ … … 12569 12563 if (mData->flModifications) 12570 12564 { 12571 Log WarningThisFunc(("Discarding unsaved settings changes!\n"));12565 Log1WarningThisFunc(("Discarding unsaved settings changes!\n")); 12572 12566 i_rollback(false /* aNotify */); 12573 12567 } … … 12597 12591 LogFlowThisFunc((" remoteControl->Uninitialize() returned %08X\n", rc)); 12598 12592 if (FAILED(rc)) 12599 Log WarningThisFunc(("Forgot to close the remote session?\n"));12593 Log1WarningThisFunc(("Forgot to close the remote session?\n")); 12600 12594 ++it; 12601 12595 } … … 12643 12637 12644 12638 if ((aReason == Uninit::Unexpected)) 12645 Log WarningThisFunc(("Unexpected SessionMachine uninitialization!\n"));12639 Log1WarningThisFunc(("Unexpected SessionMachine uninitialization!\n")); 12646 12640 12647 12641 if (aReason != Uninit::Normal) -
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r55872 r55988 6444 6444 { 6445 6445 m->strLastAccessError = lastAccessError; 6446 LogWarningFunc(("'%s' is not accessible (error='%s', rc=%Rhrc, vrc=%Rrc)\n", 6447 location.c_str(), m->strLastAccessError.c_str(), 6448 rc, vrc)); 6446 Log1WarningFunc(("'%s' is not accessible (error='%s', rc=%Rhrc, vrc=%Rrc)\n", 6447 location.c_str(), m->strLastAccessError.c_str(), rc, vrc)); 6449 6448 } 6450 6449 -
trunk/src/VBox/Main/src-server/Performance.cpp
r55769 r55988 115 115 for (RTCPUID iCpu = 0; iCpu < RTCPUSET_MAX_CPUS; iCpu++) 116 116 { 117 LogAleksey(("{%p} " LOG_FN_FMT ": Checking if CPU %d is member of online set...\n", 118 this, __PRETTY_FUNCTION__, (int)iCpu)); 117 Log7(("{%p} " LOG_FN_FMT ": Checking if CPU %d is member of online set...\n", this, __PRETTY_FUNCTION__, (int)iCpu)); 119 118 if (RTCpuSetIsMemberByIndex(&OnlineSet, iCpu)) 120 119 { 121 LogAleksey(("{%p} " LOG_FN_FMT ": Getting frequency for CPU %d...\n", 122 this, __PRETTY_FUNCTION__, (int)iCpu)); 120 Log7(("{%p} " LOG_FN_FMT ": Getting frequency for CPU %d...\n", this, __PRETTY_FUNCTION__, (int)iCpu)); 123 121 uint32_t uMHz = RTMpGetCurFrequency(RTMpCpuIdFromSetIndex(iCpu)); 124 122 if (uMHz != 0) 125 123 { 126 LogAleksey(("{%p} " LOG_FN_FMT ": CPU %d %u MHz\n", 127 this, __PRETTY_FUNCTION__, (int)iCpu, uMHz)); 124 Log7(("{%p} " LOG_FN_FMT ": CPU %d %u MHz\n", this, __PRETTY_FUNCTION__, (int)iCpu, uMHz)); 128 125 u64TotalMHz += uMHz; 129 126 cCpus++; … … 197 194 NOREF(aFunction); 198 195 NOREF(aText); 199 LogAleksey(("{%p} " LOG_FN_FMT ": CGRQEnable(mask=0x%x) %s\n", 200 aObject, aFunction, mMask, aText)); 196 Log7(("{%p} " LOG_FN_FMT ": CGRQEnable(mask=0x%x) %s\n", aObject, aFunction, mMask, aText)); 201 197 } 202 198 … … 212 208 NOREF(aFunction); 213 209 NOREF(aText); 214 LogAleksey(("{%p} " LOG_FN_FMT ": CGRQDisable(mask=0x%x) %s\n", 215 aObject, aFunction, mMask, aText)); 210 Log7(("{%p} " LOG_FN_FMT ": CGRQDisable(mask=0x%x) %s\n", aObject, aFunction, mMask, aText)); 216 211 } 217 212 … … 226 221 NOREF(aFunction); 227 222 NOREF(aText); 228 LogAleksey(("{%p} " LOG_FN_FMT ": CGRQAbort %s\n", 229 aObject, aFunction, aText)); 223 Log7(("{%p} " LOG_FN_FMT ": CGRQAbort %s\n", aObject, aFunction, aText)); 230 224 } 231 225 … … 266 260 /* enable statistics collection; this is a remote call (!) */ 267 261 ret = directControl->EnableVMMStatistics(mCollectVMMStats); 268 LogAleksey(("{%p} " LOG_FN_FMT ": %sable VMM stats (%s)\n", 269 this, __PRETTY_FUNCTION__, mCollectVMMStats?"En":"Dis", 270 SUCCEEDED(ret)?"success":"failed")); 262 Log7(("{%p} " LOG_FN_FMT ": %sable VMM stats (%s)\n", 263 this, __PRETTY_FUNCTION__, mCollectVMMStats ? "En" : "Dis", SUCCEEDED(ret) ? "success" : "failed")); 271 264 } 272 265 … … 319 312 { 320 313 ret = mGuest->COMSETTER(StatisticsUpdateInterval)(1 /* 1 sec */); 321 Log Aleksey(("{%p} " LOG_FN_FMT ": Set guest statistics update interval to 1 sec (%s)\n",322 this, __PRETTY_FUNCTION__, SUCCEEDED(ret)?"success":"failed"));314 Log7(("{%p} " LOG_FN_FMT ": Set guest statistics update interval to 1 sec (%s)\n", 315 this, __PRETTY_FUNCTION__, SUCCEEDED(ret) ? "success" : "failed")); 323 316 } 324 317 } … … 343 336 HRESULT ret = mGuest->COMSETTER(StatisticsUpdateInterval)(0 /* off */); 344 337 NOREF(ret); 345 Log Aleksey(("{%p} " LOG_FN_FMT ": Set guest statistics update interval to 0 sec (%s)\n",346 this, __PRETTY_FUNCTION__, SUCCEEDED(ret)?"success":"failed"));338 Log7(("{%p} " LOG_FN_FMT ": Set guest statistics update interval to 0 sec (%s)\n", 339 this, __PRETTY_FUNCTION__, SUCCEEDED(ret) ? "success" : "failed")); 347 340 invalidate(VMSTATS_ALL); 348 341 } … … 359 352 } 360 353 361 LogAleksey(("{%p} " LOG_FN_FMT ": Attempted enqueue guest request when mManager is null\n", 362 this, __PRETTY_FUNCTION__)); 354 Log7(("{%p} " LOG_FN_FMT ": Attempted enqueue guest request when mManager is null\n", this, __PRETTY_FUNCTION__)); 363 355 return E_POINTER; 364 356 } … … 410 402 "CGMgr"); 411 403 NOREF(rc); 412 LogAleksey(("{%p} " LOG_FN_FMT ": RTThreadCreate returned %u (mThread=%p)\n", 413 this, __PRETTY_FUNCTION__, rc)); 404 Log7(("{%p} " LOG_FN_FMT ": RTThreadCreate returned %u (mThread=%p)\n", this, __PRETTY_FUNCTION__, rc)); 414 405 } 415 406 … … 422 413 { 423 414 /* We wait only if we were able to put the abort request to a queue */ 424 LogAleksey(("{%p} " LOG_FN_FMT ": Waiting for CGM request processing thread to stop...\n", 425 this, __PRETTY_FUNCTION__)); 415 Log7(("{%p} " LOG_FN_FMT ": Waiting for CGM request processing thread to stop...\n", this, __PRETTY_FUNCTION__)); 426 416 rc = RTThreadWait(mThread, 1000 /* 1 sec */, &rcThread); 427 LogAleksey(("{%p} " LOG_FN_FMT ": RTThreadWait returned %u (thread exit code: %u)\n", 428 this, __PRETTY_FUNCTION__, rc, rcThread)); 417 Log7(("{%p} " LOG_FN_FMT ": RTThreadWait returned %u (thread exit code: %u)\n", this, __PRETTY_FUNCTION__, rc, rcThread)); 429 418 } 430 419 } … … 440 429 if (!mVMMStatsProvider) 441 430 mVMMStatsProvider = pGuest; 442 LogAleksey(("{%p} " LOG_FN_FMT ": Registered guest=%p provider=%p\n", 443 this, __PRETTY_FUNCTION__, pGuest, mVMMStatsProvider)); 431 Log7(("{%p} " LOG_FN_FMT ": Registered guest=%p provider=%p\n", this, __PRETTY_FUNCTION__, pGuest, mVMMStatsProvider)); 444 432 } 445 433 … … 448 436 int rc = S_OK; 449 437 450 LogAleksey(("{%p} " LOG_FN_FMT ": About to unregister guest=%p provider=%p\n", 451 this, __PRETTY_FUNCTION__, pGuest, mVMMStatsProvider)); 438 Log7(("{%p} " LOG_FN_FMT ": About to unregister guest=%p provider=%p\n", this, __PRETTY_FUNCTION__, pGuest, mVMMStatsProvider)); 452 439 //mGuests.remove(pGuest); => destroyUnregistered() 453 440 pGuest->unregister(); … … 498 485 } 499 486 } 500 LogAleksey(("{%p} " LOG_FN_FMT ": LEAVE new provider=%p\n", 501 this, __PRETTY_FUNCTION__, mVMMStatsProvider)); 487 Log7(("{%p} " LOG_FN_FMT ": LEAVE new provider=%p\n", this, __PRETTY_FUNCTION__, mVMMStatsProvider)); 502 488 } 503 489 … … 511 497 delete *it; 512 498 it = mGuests.erase(it); 513 Log Aleksey(("{%p} " LOG_FN_FMT ": Number of guests after erasing unregistered is %d\n",514 499 Log7(("{%p} " LOG_FN_FMT ": Number of guests after erasing unregistered is %d\n", 500 this, __PRETTY_FUNCTION__, mGuests.size())); 515 501 } 516 502 else … … 537 523 * and is barely noticable by humans. 538 524 */ 539 LogAleksey(("{%p} " LOG_FN_FMT ": Suspecting %s is stalled. Waiting for .5 sec...\n", 540 this, __PRETTY_FUNCTION__, 541 aRequest->getGuest()->getVMName().c_str())); 525 Log7(("{%p} " LOG_FN_FMT ": Suspecting %s is stalled. Waiting for .5 sec...\n", 526 this, __PRETTY_FUNCTION__, aRequest->getGuest()->getVMName().c_str())); 542 527 RTThreadSleep(500 /* ms */); 543 528 if (aRequest->getGuest() == mGuestBeingCalled) { 544 LogAleksey(("{%p} " LOG_FN_FMT ": Request processing stalled for %s\n", 545 this, __PRETTY_FUNCTION__, 546 aRequest->getGuest()->getVMName().c_str())); 529 Log7(("{%p} " LOG_FN_FMT ": Request processing stalled for %s\n", 530 this, __PRETTY_FUNCTION__, aRequest->getGuest()->getVMName().c_str())); 547 531 /* Request execution got stalled for this guest -- report an error */ 548 532 return E_FAIL; … … 561 545 HRESULT rc = S_OK; 562 546 563 LogAleksey(("{%p} " LOG_FN_FMT ": Starting request processing loop...\n", 564 mgr, __PRETTY_FUNCTION__)); 547 Log7(("{%p} " LOG_FN_FMT ": Starting request processing loop...\n", mgr, __PRETTY_FUNCTION__)); 565 548 while ((pReq = mgr->mQueue.pop()) != NULL) 566 549 { … … 575 558 break; 576 559 if (FAILED(rc)) 577 LogAleksey(("{%p} " LOG_FN_FMT ": request::execute returned %u\n", 578 mgr, __PRETTY_FUNCTION__, rc)); 579 } 580 LogAleksey(("{%p} " LOG_FN_FMT ": Exiting request processing loop... rc=%u\n", 581 mgr, __PRETTY_FUNCTION__, rc)); 560 Log7(("{%p} " LOG_FN_FMT ": request::execute returned %u\n", mgr, __PRETTY_FUNCTION__, rc)); 561 } 562 Log7(("{%p} " LOG_FN_FMT ": Exiting request processing loop... rc=%u\n", mgr, __PRETTY_FUNCTION__, rc)); 582 563 583 564 return VINF_SUCCESS; … … 968 949 if (provider) 969 950 { 970 LogAleksey(("{%p} " LOG_FN_FMT ": provider=%p enabled=%s valid=%s...\n", 971 this, __PRETTY_FUNCTION__, provider, provider->isEnabled()?"y":"n", 972 provider->isValid(VMSTATS_VMM_RAM)?"y":"n")); 951 Log7(("{%p} " LOG_FN_FMT ": provider=%p enabled=%RTbool valid=%RTbool...\n", 952 this, __PRETTY_FUNCTION__, provider, provider->isEnabled(), provider->isValid(VMSTATS_VMM_RAM) )); 973 953 if (provider->isValid(VMSTATS_VMM_RAM)) 974 954 { … … 993 973 mSharedCurrent = 0; 994 974 } 995 LogAleksey(("{%p} " LOG_FN_FMT ": mAllocCurrent=%u mFreeCurrent=%u mBalloonedCurrent=%u mSharedCurrent=%u\n", 996 this, __PRETTY_FUNCTION__, 997 mAllocCurrent, mFreeCurrent, mBalloonedCurrent, mSharedCurrent)); 975 Log7(("{%p} " LOG_FN_FMT ": mAllocCurrent=%u mFreeCurrent=%u mBalloonedCurrent=%u mSharedCurrent=%u\n", 976 this, __PRETTY_FUNCTION__, mAllocCurrent, mFreeCurrent, mBalloonedCurrent, mSharedCurrent)); 998 977 mAllocVMM->put(mAllocCurrent); 999 978 mFreeVMM->put(mFreeCurrent); … … 1532 1511 ElementList::const_iterator it; 1533 1512 1534 //Log Aleksey(("Filter::match(%p, %s)\n", static_cast<const IUnknown*> (object), name.c_str()));1513 //Log7(("Filter::match(%p, %s)\n", static_cast<const IUnknown*> (object), name.c_str())); 1535 1514 for (it = mElements.begin(); it != mElements.end(); ++it) 1536 1515 { 1537 //Log Aleksey(("...matching against(%p, %s)\n", static_cast<const IUnknown*> ((*it).first), (*it).second.c_str()));1516 //Log7(("...matching against(%p, %s)\n", static_cast<const IUnknown*> ((*it).first), (*it).second.c_str())); 1538 1517 if ((*it).first.isNull() || (*it).first == object) 1539 1518 { … … 1546 1525 } 1547 1526 } 1548 //Log Aleksey(("...no matches!\n"));1527 //Log7(("...no matches!\n")); 1549 1528 return false; 1550 1529 } -
trunk/src/VBox/Main/src-server/PerformanceImpl.cpp
r55769 r55988 582 582 583 583 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 584 Log Aleksey(("{%p} " LOG_FN_FMT ": obj=%p name=%s\n", this, __PRETTY_FUNCTION__,585 584 Log7(("{%p} " LOG_FN_FMT ": obj=%p name=%s\n", this, __PRETTY_FUNCTION__, 585 (void *)baseMetric->getObject(), baseMetric->getName())); 586 586 m.baseMetrics.push_back (baseMetric); 587 587 //LogFlowThisFuncLeave(); … … 595 595 596 596 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 597 LogAleksey(("{%p} " LOG_FN_FMT ": obj=%p name=%s\n", this, __PRETTY_FUNCTION__, 598 (void *)metric->getObject(), metric->getName())); 597 Log7(("{%p} " LOG_FN_FMT ": obj=%p name=%s\n", this, __PRETTY_FUNCTION__, (void *)metric->getObject(), metric->getName())); 599 598 m.metrics.push_back (metric); 600 599 //LogFlowThisFuncLeave(); … … 618 617 ++n; 619 618 } 620 Log Aleksey(("{%p} " LOG_FN_FMT ": obj=%p, name=%s, marked %d metrics\n",621 619 Log7(("{%p} " LOG_FN_FMT ": obj=%p, name=%s, marked %d metrics\n", 620 this, __PRETTY_FUNCTION__, (void *)aObject, name.c_str(), n)); 622 621 //LogFlowThisFuncLeave(); 623 622 } … … 632 631 633 632 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 634 LogAleksey(("{%p} " LOG_FN_FMT ": obj=%p, name=%s\n", this, 635 __PRETTY_FUNCTION__, (void *)aObject, name.c_str())); 633 Log7(("{%p} " LOG_FN_FMT ": obj=%p, name=%s\n", this, __PRETTY_FUNCTION__, (void *)aObject, name.c_str())); 636 634 MetricList::iterator it; 637 635 for (it = m.metrics.begin(); it != m.metrics.end();) … … 756 754 * Those should be destroyed now. 757 755 */ 758 LogAleksey(("{%p} " LOG_FN_FMT ": before remove_if: toBeCollected.size()=%d\n", this, __PRETTY_FUNCTION__, 759 toBeCollected.size())); 756 Log7(("{%p} " LOG_FN_FMT ": before remove_if: toBeCollected.size()=%d\n", this, __PRETTY_FUNCTION__, toBeCollected.size())); 760 757 toBeCollected.remove_if(std::mem_fun(&pm::BaseMetric::isUnregistered)); 761 LogAleksey(("{%p} " LOG_FN_FMT ": after remove_if: toBeCollected.size()=%d\n", this, __PRETTY_FUNCTION__, 762 toBeCollected.size())); 763 LogAleksey(("{%p} " LOG_FN_FMT ": before remove_if: m.baseMetrics.size()=%d\n", this, __PRETTY_FUNCTION__, 764 m.baseMetrics.size())); 758 Log7(("{%p} " LOG_FN_FMT ": after remove_if: toBeCollected.size()=%d\n", this, __PRETTY_FUNCTION__, toBeCollected.size())); 759 Log7(("{%p} " LOG_FN_FMT ": before remove_if: m.baseMetrics.size()=%d\n", this, __PRETTY_FUNCTION__, m.baseMetrics.size())); 765 760 for (it = m.baseMetrics.begin(); it != m.baseMetrics.end();) 766 761 if ((*it)->isUnregistered()) … … 771 766 else 772 767 ++it; 773 LogAleksey(("{%p} " LOG_FN_FMT ": after remove_if: m.baseMetrics.size()=%d\n", this, __PRETTY_FUNCTION__, 774 m.baseMetrics.size())); 768 Log7(("{%p} " LOG_FN_FMT ": after remove_if: m.baseMetrics.size()=%d\n", this, __PRETTY_FUNCTION__, m.baseMetrics.size())); 775 769 /* 776 770 * Now when we have destroyed all base metrics that could -
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r55839 r55988 803 803 int vrc = RTThreadWait(m->threadAsyncEvent, 60000, NULL); 804 804 if (RT_FAILURE(vrc)) 805 LogWarningFunc(("RTThreadWait(%RTthrd) -> %Rrc\n", 806 m->threadAsyncEvent, vrc)); 805 Log1WarningFunc(("RTThreadWait(%RTthrd) -> %Rrc\n", m->threadAsyncEvent, vrc)); 807 806 } 808 807 else … … 2006 2005 const char *sep = error.isEmpty() ? "" : ": "; 2007 2006 CBSTR err = error.raw(); 2008 LogWarningFunc(("Someone vetoed! Change refused%s%ls\n", 2009 sep, err)); 2007 Log1WarningFunc(("Someone vetoed! Change refused%s%ls\n", sep, err)); 2010 2008 return setError(E_ACCESSDENIED, 2011 2009 tr("Could not set extra data because someone refused the requested change of '%s' to '%s'%s%ls"), … … 2304 2302 { 2305 2303 if (getObjectState().getState() != ObjectState::Ready) 2306 Log WarningFunc(("VirtualBox has been uninitialized (state=%d), the event is discarded!\n",2307 getObjectState().getState()));2304 Log1WarningFunc(("VirtualBox has been uninitialized (state=%d), the event is discarded!\n", 2305 getObjectState().getState())); 2308 2306 // return S_OK 2309 2307 else if ( (m->pAsyncEventQ) … … 4820 4818 if (!autoCaller.isOk()) 4821 4819 { 4822 Log WarningFunc(("VirtualBox has been uninitialized (state=%d), the callback event is discarded!\n",4823 mVirtualBox->getObjectState().getState()));4820 Log1WarningFunc(("VirtualBox has been uninitialized (state=%d), the callback event is discarded!\n", 4821 mVirtualBox->getObjectState().getState())); 4824 4822 /* We don't need mVirtualBox any more, so release it */ 4825 4823 mVirtualBox = NULL; -
trunk/src/VBox/Main/src-server/darwin/PerformanceDarwin.cpp
r46328 r55988 130 130 static int getProcessInfo(RTPROCESS process, struct proc_taskinfo *tinfo) 131 131 { 132 Log Aleksey(("getProcessInfo() getting info for %d", process));132 Log7(("getProcessInfo() getting info for %d", process)); 133 133 int nb = proc_pidinfo(process, PROC_PIDTASKINFO, 0, tinfo, sizeof(*tinfo)); 134 134 if (nb <= 0) -
trunk/src/VBox/NetworkServices/NetLib/VBoxNetBaseService.cpp
r55365 r55988 473 473 rc = RTThreadWait(m->m_hThrRecv, 60000, NULL); 474 474 if (RT_FAILURE(rc)) 475 Log WarningFunc(("RTThreadWait(%RTthrd) -> %Rrc\n", m->m_hThrRecv, rc));475 Log1WarningFunc(("RTThreadWait(%RTthrd) -> %Rrc\n", m->m_hThrRecv, rc)); 476 476 } 477 477 else -
trunk/src/VBox/Runtime/VBox/logbackdoor-redirect.cpp
r55980 r55988 44 44 45 45 /* All release logging goes to the backdoor logger anyway. */ 46 RTDECL(PRTLOGGER) RTLogRelGetDefaultInstanceEx(uint32_t fFlags , uint32_t iGroup)46 RTDECL(PRTLOGGER) RTLogRelGetDefaultInstanceEx(uint32_t fFlagsAndGroup) 47 47 { 48 48 return NULL; … … 58 58 59 59 /* All logging goes to the backdoor logger anyway. */ 60 RTDECL(PRTLOGGER) RTLogDefaultInstanceEx(uint32_t fFlags , uint32_t iGroup)60 RTDECL(PRTLOGGER) RTLogDefaultInstanceEx(uint32_t fFlagsAndGroup) 61 61 { 62 62 return NULL; -
trunk/src/VBox/Runtime/common/log/log.cpp
r55980 r55988 1788 1788 { "eo", RTLOGGRPFLAGS_ENABLED }, 1789 1789 { "enabledonly",RTLOGGRPFLAGS_ENABLED }, 1790 { "e", RTLOGGRPFLAGS_ENABLED | RTLOGGRPFLAGS_LEVEL_1 },1791 { "enabled", RTLOGGRPFLAGS_ENABLED | RTLOGGRPFLAGS_LEVEL_1 },1790 { "e", RTLOGGRPFLAGS_ENABLED | RTLOGGRPFLAGS_LEVEL_1 | RTLOGGRPFLAGS_WARN }, 1791 { "enabled", RTLOGGRPFLAGS_ENABLED | RTLOGGRPFLAGS_LEVEL_1 | RTLOGGRPFLAGS_WARN }, 1792 1792 { "l1", RTLOGGRPFLAGS_LEVEL_1 }, 1793 1793 { "level1", RTLOGGRPFLAGS_LEVEL_1 }, … … 1803 1803 { "l6", RTLOGGRPFLAGS_LEVEL_6 }, 1804 1804 { "level6", RTLOGGRPFLAGS_LEVEL_6 }, 1805 { "l7", RTLOGGRPFLAGS_LEVEL_7 }, 1806 { "level7", RTLOGGRPFLAGS_LEVEL_7 }, 1807 { "l8", RTLOGGRPFLAGS_LEVEL_8 }, 1808 { "level8", RTLOGGRPFLAGS_LEVEL_8 }, 1809 { "l9", RTLOGGRPFLAGS_LEVEL_9 }, 1810 { "level9", RTLOGGRPFLAGS_LEVEL_9 }, 1811 { "l10", RTLOGGRPFLAGS_LEVEL_10 }, 1812 { "level10", RTLOGGRPFLAGS_LEVEL_10 }, 1813 { "l11", RTLOGGRPFLAGS_LEVEL_11 }, 1814 { "level11", RTLOGGRPFLAGS_LEVEL_11 }, 1815 { "l12", RTLOGGRPFLAGS_LEVEL_12 }, 1816 { "level12", RTLOGGRPFLAGS_LEVEL_12 }, 1805 1817 { "f", RTLOGGRPFLAGS_FLOW }, 1806 1818 { "flow", RTLOGGRPFLAGS_FLOW }, 1819 { "w", RTLOGGRPFLAGS_WARN }, 1820 { "warn", RTLOGGRPFLAGS_WARN }, 1821 { "warning", RTLOGGRPFLAGS_WARN }, 1807 1822 { "restrict", RTLOGGRPFLAGS_RESTRICT }, 1808 1823 1809 { "lelik", RTLOGGRPFLAGS_LELIK },1810 { "michael", RTLOGGRPFLAGS_MICHAEL },1811 { "sunlover", RTLOGGRPFLAGS_SUNLOVER },1812 { "achim", RTLOGGRPFLAGS_ACHIM },1813 { "achimha", RTLOGGRPFLAGS_ACHIM },1814 { "s", RTLOGGRPFLAGS_SANDER },1815 { "sander", RTLOGGRPFLAGS_SANDER },1816 { "sandervl", RTLOGGRPFLAGS_SANDER },1817 { "klaus", RTLOGGRPFLAGS_KLAUS },1818 { "frank", RTLOGGRPFLAGS_FRANK },1819 { "b", RTLOGGRPFLAGS_BIRD },1820 { "bird", RTLOGGRPFLAGS_BIRD },1821 { "aleksey", RTLOGGRPFLAGS_ALEKSEY },1822 { "dj", RTLOGGRPFLAGS_DJ },1823 { "n", RTLOGGRPFLAGS_NONAME },1824 { "noname", RTLOGGRPFLAGS_NONAME }1825 1824 }; 1826 1825 unsigned i; … … 2615 2614 2616 2615 2617 RTDECL(PRTLOGGER) RTLogDefaultInstanceEx(uint32_t fFlags , uint32_t iGroup)2616 RTDECL(PRTLOGGER) RTLogDefaultInstanceEx(uint32_t fFlagsAndGroup) 2618 2617 { 2619 2618 PRTLOGGER pLogger = rtLogDefaultInstanceCommon(); … … 2622 2621 if (pLogger->fFlags & RTLOGFLAGS_DISABLED) 2623 2622 pLogger = NULL; 2624 else if ( iGroup != UINT32_MAX 2623 else 2624 { 2625 uint16_t const fFlags = RT_LO_U16(fFlagsAndGroup); 2626 uint16_t const iGroup = RT_HI_U16(fFlagsAndGroup); 2627 if ( iGroup != UINT16_MAX 2625 2628 && ( (pLogger->afGroups[iGroup < pLogger->cGroups ? iGroup : 0] & (fFlags | RTLOGGRPFLAGS_ENABLED)) 2626 2629 != (fFlags | RTLOGGRPFLAGS_ENABLED))) 2627 2630 pLogger = NULL; 2631 } 2628 2632 } 2629 2633 return pLogger; … … 2666 2670 2667 2671 2668 RTDECL(PRTLOGGER) RTLogGetDefaultInstanceEx(uint32_t fFlags , uint32_t iGroup)2672 RTDECL(PRTLOGGER) RTLogGetDefaultInstanceEx(uint32_t fFlagsAndGroup) 2669 2673 { 2670 2674 PRTLOGGER pLogger = rtLogGetDefaultInstanceCommon(); … … 2673 2677 if (pLogger->fFlags & RTLOGFLAGS_DISABLED) 2674 2678 pLogger = NULL; 2675 else if ( iGroup != UINT32_MAX 2679 else 2680 { 2681 uint16_t const fFlags = RT_LO_U16(fFlagsAndGroup); 2682 uint16_t const iGroup = RT_HI_U16(fFlagsAndGroup); 2683 if ( iGroup != UINT16_MAX 2676 2684 && ( (pLogger->afGroups[iGroup < pLogger->cGroups ? iGroup : 0] & (fFlags | RTLOGGRPFLAGS_ENABLED)) 2677 2685 != (fFlags | RTLOGGRPFLAGS_ENABLED))) 2678 2686 pLogger = NULL; 2687 } 2679 2688 } 2680 2689 return pLogger; … … 3758 3767 case RTLOGGRPFLAGS_LEVEL_5: pszGroup = "level 5" ; cch = sizeof("level 5" ) - 1; break; 3759 3768 case RTLOGGRPFLAGS_LEVEL_6: pszGroup = "level 6" ; cch = sizeof("level 6" ) - 1; break; 3769 case RTLOGGRPFLAGS_LEVEL_7: pszGroup = "level 7" ; cch = sizeof("level 7" ) - 1; break; 3770 case RTLOGGRPFLAGS_LEVEL_8: pszGroup = "level 8" ; cch = sizeof("level 8" ) - 1; break; 3771 case RTLOGGRPFLAGS_LEVEL_9: pszGroup = "level 9" ; cch = sizeof("level 9" ) - 1; break; 3772 case RTLOGGRPFLAGS_LEVEL_10: pszGroup = "level 10"; cch = sizeof("level 10") - 1; break; 3773 case RTLOGGRPFLAGS_LEVEL_11: pszGroup = "level 11"; cch = sizeof("level 11") - 1; break; 3774 case RTLOGGRPFLAGS_LEVEL_12: pszGroup = "level 12"; cch = sizeof("level 12") - 1; break; 3760 3775 case RTLOGGRPFLAGS_FLOW: pszGroup = "flow" ; cch = sizeof("flow" ) - 1; break; 3761 3762 /* personal groups */ 3763 case RTLOGGRPFLAGS_LELIK: pszGroup = "lelik" ; cch = sizeof("lelik" ) - 1; break; 3764 case RTLOGGRPFLAGS_MICHAEL: pszGroup = "Michael" ; cch = sizeof("Michael" ) - 1; break; 3765 case RTLOGGRPFLAGS_SUNLOVER: pszGroup = "sunlover"; cch = sizeof("sunlover") - 1; break; 3766 case RTLOGGRPFLAGS_ACHIM: pszGroup = "Achim" ; cch = sizeof("Achim" ) - 1; break; 3767 case RTLOGGRPFLAGS_SANDER: pszGroup = "Sander" ; cch = sizeof("Sander" ) - 1; break; 3768 case RTLOGGRPFLAGS_KLAUS: pszGroup = "Klaus" ; cch = sizeof("Klaus" ) - 1; break; 3769 case RTLOGGRPFLAGS_FRANK: pszGroup = "Frank" ; cch = sizeof("Frank" ) - 1; break; 3770 case RTLOGGRPFLAGS_BIRD: pszGroup = "bird" ; cch = sizeof("bird" ) - 1; break; 3771 case RTLOGGRPFLAGS_NONAME: pszGroup = "noname" ; cch = sizeof("noname" ) - 1; break; 3776 case RTLOGGRPFLAGS_WARN: pszGroup = "warn" ; cch = sizeof("warn" ) - 1; break; 3772 3777 default: pszGroup = "????????"; cch = sizeof("????????") - 1; break; 3773 3778 } -
trunk/src/VBox/Runtime/common/log/logrel.cpp
r55980 r55988 81 81 82 82 83 RTDECL(PRTLOGGER) RTLogRelGetDefaultInstanceEx(uint32_t fFlags , uint32_t iGroup)83 RTDECL(PRTLOGGER) RTLogRelGetDefaultInstanceEx(uint32_t fFlagsAndGroup) 84 84 { 85 85 #ifdef IN_RC … … 92 92 if (pLogger->fFlags & RTLOGFLAGS_DISABLED) 93 93 pLogger = NULL; 94 else if ( iGroup != UINT32_MAX 94 else 95 { 96 uint16_t const fFlags = RT_LO_U16(fFlagsAndGroup); 97 uint16_t const iGroup = RT_HI_U16(fFlagsAndGroup); 98 if ( iGroup != UINT16_MAX 95 99 && ( (pLogger->afGroups[iGroup < pLogger->cGroups ? iGroup : 0] & (fFlags | RTLOGGRPFLAGS_ENABLED)) 96 100 != (fFlags | RTLOGGRPFLAGS_ENABLED))) 97 101 pLogger = NULL; 102 } 98 103 } 99 104 return pLogger; -
trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp
r50000 r55988 615 615 if (hEventToSignal != NIL_RTSEMEVENT) 616 616 { 617 Log Bird(("Signalling %#x\n", hEventToSignal));617 Log8(("Signalling %#x\n", hEventToSignal)); 618 618 int rc = RTSemEventSignal(hEventToSignal); 619 619 AssertRC(rc); -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r55979 r55988 631 631 ? &pVCpu->pgm.s.CTX_SUFF(pStats)->StatRZTrap0eTime2DirtyAndAccessed 632 632 : &pVCpu->pgm.s.CTX_SUFF(pStats)->StatRZTrap0eTime2GuestTrap; }); 633 Log Bird(("Trap0eHandler: returns VINF_SUCCESS\n"));633 Log8(("Trap0eHandler: returns VINF_SUCCESS\n")); 634 634 return VINF_SUCCESS; 635 635 } -
trunk/src/recompiler/VBoxREMWrapper.cpp
r55980 r55988 1086 1086 static const REMPARMDESC g_aArgsRTLogGetDefaultInstanceEx[] = 1087 1087 { 1088 { REMPARMDESC_FLAGS_INT, sizeof(uint32_t), NULL },1089 1088 { REMPARMDESC_FLAGS_INT, sizeof(uint32_t), NULL } 1090 1089 };
Note:
See TracChangeset
for help on using the changeset viewer.