Changeset 53686 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv
- Timestamp:
- Jan 2, 2015 12:40:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c
r53682 r53686 12553 12553 state = ddi_get_soft_state(dtrace_softstate, minor); 12554 12554 #else 12555 state = kmem_ alloc(sizeof (*state), KM_SLEEP);12555 state = kmem_zalloc(sizeof (*state), KM_SLEEP); 12556 12556 if (!state) { 12557 12557 return (NULL); … … 15067 15067 if (--dtrace_opens == 0 && dtrace_anon.dta_enabling == NULL) 15068 15068 (void) kdi_dtrace_set(KDI_DTSET_DTRACE_DEACTIVATE); 15069 #else 15070 dtrace_opens--; 15069 15071 #endif 15070 15072 mutex_exit(&dtrace_lock); … … 15119 15121 if (--dtrace_opens == 0 && dtrace_anon.dta_enabling == NULL) 15120 15122 (void) kdi_dtrace_set(KDI_DTSET_DTRACE_DEACTIVATE); 15123 #else 15124 dtrace_opens--; 15121 15125 #endif 15122 15126
Note:
See TracChangeset
for help on using the changeset viewer.