VirtualBox

Changeset 53672 in vbox


Ignore:
Timestamp:
Jan 2, 2015 12:34:03 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97449
Message:

VBoxDTrace: debug (r49)

Location:
trunk/src/VBox/ExtPacks/VBoxDTrace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceR0/VBoxDTraceR0.cpp

    r53670 r53672  
    10151015                    uint32_t iRet = (uint32_t)iBit + pChunk->iFirst + pThis->uBase;
    10161016                    RTSpinlockRelease(pThis->hSpinlock, &Tmp);
     1017SUPR0Printf("returning iRet=%u\n", iRet);
    10171018                    return (void *)(uintptr_t)iRet;
    10181019                }
     
    10231024        /* Out of resources? */
    10241025        if (cChunks >= pThis->cMaxChunks)
     1026        {
     1027SUPR0Printf("cChunks=%u cMaxChunks=%u!!\n", cChunks, pThis->cMaxChunks);
    10251028            break;
     1029        }
    10261030
    10271031        /*
     
    10381042        pChunk = (PVBOXDTVMEMCHUNK)RTMemAllocZ(sizeof(*pChunk));
    10391043        if (!pChunk)
     1044        {
     1045SUPR0Printf("returning NULL!!\n");
    10401046            return NULL;
    1041 
     1047        }
     1048
     1049SUPR0Printf("Adding chunk %p at bit %u, covering %u bits\n", pChunk, iFirstBit, cFreeBits);
    10421050        pChunk->iFirst   = iFirstBit;
    10431051        pChunk->cCurFree = cFreeBits;
     
    10741082    RTSpinlockRelease(pThis->hSpinlock, &Tmp);
    10751083
     1084SUPR0Printf("returning NULL!\n");
    10761085    return NULL;
    10771086}
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c

    r53670 r53672  
    75797579            VM_BESTFIT | VM_SLEEP);
    75807580        probe = kmem_zalloc(sizeof (dtrace_probe_t), KM_SLEEP);
     7581SUPR0Printf("dtrace_probe_create: %s id=%u %p\n", name, id, probe);
    75817582
    75827583        probe->dtpr_id = id;
     
    76267627                }
    76277628
     7629SUPR0Printf("dtrace_probe_create: dtrace_nprobes=%u\n", dtrace_nprobes);
    76287630                ASSERT(id - 1 < dtrace_nprobes);
    76297631        }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette