VirtualBox

Changeset 55980 in vbox for trunk/src/VBox/Additions/solaris


Ignore:
Timestamp:
May 20, 2015 5:35:22 PM (10 years ago)
Author:
vboxsync
Message:

iprt/log.h,++: Added extended logger instance getters that also checks whether the given logger and group-flags are enabled, making the LogRel* checks more efficient in avoid uncessary RTLogLoggerEx parameter building and calls. Ditto for debug logging. The LOG_INSTANCE and LOG_REL_INSTANCE tricks are gone for now.

Location:
trunk/src/VBox/Additions/solaris
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/DRM/vboxvideo_drm.c

    r52441 r55980  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
    31 #ifdef DEBUG_ramshankar
    32 # define LOG_INSTANCE       RTLogRelDefaultInstance()
    33 #endif
    3431#undef offsetof     /* This gets redefined in drmP.h */
    3532#include "include/drmP.h"
  • trunk/src/VBox/Additions/solaris/Virtio/Virtio-solaris.c

    r44529 r55980  
    2828*   Header Files                                                               *
    2929*******************************************************************************/
    30 #ifdef DEBUG_ramshankar
    31 # define LOG_INSTANCE       RTLogRelDefaultInstance()
    32 #endif
    3330#include "Virtio-solaris.h"
    3431
  • trunk/src/VBox/Additions/solaris/Virtio/VirtioNet-solaris.c

    r44529 r55980  
    2828*   Header Files                                                               *
    2929*******************************************************************************/
    30 #ifdef DEBUG_ramshankar
    31 # define LOG_INSTANCE       RTLogRelDefaultInstance()
    32 #endif
    3330#include "Virtio-solaris.h"
    3431#include "VirtioPci-solaris.h"
  • trunk/src/VBox/Additions/solaris/Virtio/VirtioPci-solaris.c

    r44529 r55980  
    2828*   Header Files                                                               *
    2929*******************************************************************************/
    30 #ifdef DEBUG_ramshankar
    31 # define LOG_INSTANCE       RTLogRelDefaultInstance()
    32 #endif
    3330#include "VirtioPci-solaris.h"
    3431
  • trunk/src/VBox/Additions/solaris/Virtio/VirtioRing-solaris.c

    r44529 r55980  
    2828*   Header Files                                                               *
    2929*******************************************************************************/
    30 #ifdef DEBUG_ramshankar
    31 # define LOG_INSTANCE       RTLogRelDefaultInstance()
    32 #endif
    3330#include "Virtio-solaris.h"
    3431
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