VirtualBox

Ignore:
Timestamp:
Jan 2, 2015 12:34:08 PM (10 years ago)
Author:
vboxsync
Message:

VBoxDTrace: fix (r50)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c

    r53672 r53673  
    9595#else  /* VBOX */
    9696# include <sys/dtrace_impl.h>
     97# include <VBox/sup.h>
    9798# include <iprt/assert.h>
    9899# include <iprt/cpuset.h>
     
    1480714808        dtrace_enabling_t *enab;
    1480814809
    14809 #ifndef VBOX
     14810#ifdef VBOX
    1481014811        if (   VBoxDtMutexInit(&dtrace_lock)
    1481114812            || VBoxDtMutexInit(&dtrace_provider_lock)
    1481214813            || VBoxDtMutexInit(&dtrace_meta_lock)
    1481314814# ifdef DEBUG
    14814             || VBoxDtMutexInit(&dtrace_errlock);
     14815            || VBoxDtMutexInit(&dtrace_errlock)
    1481514816# endif
    1481614817            )
     
    1607216073        mutex_exit(&dtrace_lock);
    1607316074        mutex_exit(&dtrace_provider_lock);
     16075#ifdef VBOX
     16076    VBoxDtMutexDelete(&dtrace_lock);
     16077    VBoxDtMutexDelete(&dtrace_provider_lock);
     16078    VBoxDtMutexDelete(&dtrace_meta_lock);
     16079# ifdef DEBUG
     16080    VBoxDtMutexDelete(&dtrace_errlock);
     16081# endif
     16082#endif
    1607416083
    1607516084        /*
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