VirtualBox

Ignore:
Timestamp:
Dec 19, 2007 3:24:56 PM (17 years ago)
Author:
vboxsync
Message:

More vboxadd logging messages for tracking pSessions,pids.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.c

    r6151 r6154  
    525525        pState->pSession = pSession;
    526526        *pDev = makedevice(getmajor(*pDev), iOpenInstance);
    527         Log((DEVICE_NAME "VBoxAddSolarisOpen: pSession=%p pState=%p\n", pSession, pState));
     527        Log((DEVICE_NAME "VBoxAddSolarisOpen: pSession=%p pState=%p pid=%d\n", pSession, pState, (int)RTProcSelf()));
    528528        return 0;
    529529    }
     
    614614    if (!pSession)
    615615    {
    616         Log((DEVICE_NAME ":VBoxGuestIoctl: WHUT?!? pSession == NULL! This must be a mistake... pid=%d", (int)Process));
     616        Log((DEVICE_NAME ":VBoxAddSolarisClose: WHUT?!? pSession == NULL! This must be a mistake... pid=%d", (int)Process));
    617617        return EFAULT;
    618618    }
     619    Log((DEVICE_NAME ":VBoxAddSolarisClose: pid=%d\n", (int)Process));
    619620#else
    620621    PVBOXGUESTSESSION pSession;
     
    628629    pSession = pState->pSession;
    629630    pState->pSession = NULL;
     631    Log((DEVICE_NAME ":VBoxAddSolarisClose: pSession=%p pState=%p\n", pSession, pState));
    630632    ddi_soft_state_free(g_pVBoxAddSolarisState, getminor(Dev));
    631633    if (!pSession)
     
    812814        Log((DEVICE_NAME ":VBoxAddSolarisIOCtl: pvBuf invalid pointer %p\n", pvBuf));
    813815    }
     816    Log((DEVICE_NAME ":VBoxAddSolarisIOCtl: pSession=%p pid=%d.\n", pSession, (int)RTProcSelf()));
    814817
    815818    size_t cbDataReturned;
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