Changeset 53668 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts
- Timestamp:
- Jan 2, 2015 12:33:14 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97445
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c
r53667 r53668 12511 12511 #endif 12512 12512 { 12513 #ifndef VBOX 12513 12514 minor_t minor; 12514 12515 major_t major; 12516 #endif 12515 12517 char c[30]; 12516 12518 dtrace_state_t *state; … … 12539 12541 state->dts_epid = DTRACE_EPIDNONE + 1; 12540 12542 12543 #ifndef VBOX 12541 12544 (void) snprintf(c, sizeof (c), "dtrace_aggid_%d", minor); 12545 #else 12546 (void) snprintf(c, sizeof (c), "dtrace_aggid_%p", state); 12547 #endif 12542 12548 state->dts_aggid_arena = vmem_create(c, (void *)1, UINT32_MAX, 1, 12543 12549 NULL, NULL, NULL, 0, VM_SLEEP | VMC_IDENTIFIER); … … 14785 14791 dtrace_enabling_t *enab; 14786 14792 14793 #ifndef VBOX 14794 if ( VBoxDtMutexInit(&dtrace_lock) 14795 || VBoxDtMutexInit(&dtrace_provider_lock) 14796 || VBoxDtMutexInit(&dtrace_meta_lock) 14797 # ifdef DEBUG 14798 || VBoxDtMutexInit(&dtrace_errlock); 14799 # endif 14800 ) 14801 return (DDI_FAILURE); 14802 #endif 14803 14787 14804 mutex_enter(&cpu_lock); 14788 14805 mutex_enter(&dtrace_provider_lock);
Note:
See TracChangeset
for help on using the changeset viewer.