VirtualBox

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

VBoxDTrace: init (r47)

File:
1 edited

Legend:

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

    r53669 r53670  
    1479414794 */
    1479514795#ifdef VBOX
    14796 int dtrace_attach(ddi_attach_cmd_t cmd)
     14796int dtrace_attach(void)
    1479714797#else
    1479814798/*ARGSUSED*/
     
    1594915949
    1595015950#ifdef VBOX
    15951 int dtrace_detach(ddi_detach_cmd_t cmd)
     15951int dtrace_detach(void)
    1595215952#else
    1595315953/*ARGSUSED*/
     
    1595815958        dtrace_state_t *state;
    1595915959
     15960#ifndef VBOX
    1596015961        switch (cmd) {
    1596115962        case DDI_DETACH:
     
    1596815969                return (DDI_FAILURE);
    1596915970        }
     15971#endif
    1597015972
    1597115973        mutex_enter(&cpu_lock);
     
    1601216014#ifndef VBOX /** @todo CPU hooks */
    1601316015        unregister_cpu_setup_func((cpu_setup_func_t *)dtrace_cpu_setup, NULL);
    16014 #endif
    1601516016        dtrace_cpu_init = NULL;
    1601616017        dtrace_helpers_cleanup = NULL;
     
    1602216023        dtrace_modload = NULL;
    1602316024        dtrace_modunload = NULL;
     16025#endif
    1602416026
    1602516027        mutex_exit(&cpu_lock);
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