VirtualBox

Changeset 40852 in vbox


Ignore:
Timestamp:
Apr 10, 2012 2:13:47 PM (13 years ago)
Author:
vboxsync
Message:

Config.kmk: Enabled ring-0 dtrace on solaris again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r40828 r40852  
    616616 VBOX_WITH_DTRACE_R3 = 1
    617617endif
    618 ## Set this to enable kernel driver dtrace probes.
    619 #if1of ($(KBUILD_TARGET), solaris)
    620 # VBOX_WITH_DTRACE_R0DRV = 1
    621 #endif
    622 ## Set this to enable dtrace probes in platform agnostic kernel code.
    623 #if1of ($(KBUILD_TARGET), solaris)
    624 # VBOX_WITH_DTRACE_R0 = 1
    625 #endif
     618# Set this to enable kernel driver dtrace probes.
     619if1of ($(KBUILD_TARGET), solaris)
     620 VBOX_WITH_DTRACE_R0DRV = 1
     621endif
     622# Set this to enable all kernel driver dtrace probes.
     623if1of ($(KBUILD_TARGET), solaris)
     624 VBOX_WITH_NATIVE_DTRACE_R0DRV = 1
     625endif
     626# Set this to enable dtrace probes in platform agnostic kernel code.
     627if1of ($(KBUILD_TARGET), solaris)
     628 VBOX_WITH_DTRACE_R0 = 1
     629endif
    626630# Set this to enable dtrace probes raw-mode context code.
    627631#VBOX_WITH_DTRACE_RC = 1
     
    29322936 TEMPLATE_VBOXR0DRV_DTRACETOOL         = VBoxTpG
    29332937 TEMPLATE_VBOXR0DRV_DEFS              += VBOX_WITH_DTRACE VBOX_WITH_DTRACE_R0DRV
     2938 ifdef VBOX_WITH_NATIVE_DTRACE_R0DRV                                                             
     2939  TEMPLATE_VBOXR0DRV_DEFS             += VBOX_WITH_NATIVE_DTRACE_R0DRV
     2940 endif
    29342941else
    29352942 TEMPLATE_VBOXR0DRV_DTRACETOOL         = VBoxTpG-Disabled
     
    29692976TEMPLATE_VBOXR0DRV_TOOL                = $(VBOX_GCC_TOOL)
    29702977TEMPLATE_VBOXR0DRV_INSTTYPE.linux      = none
    2971 TEMPLATE_VBOXR0DRV_DEFS                = __KERNEL__ MODULE IN_RING0 IN_RT_R0
     2978TEMPLATE_VBOXR0DRV_DEFS               += __KERNEL__ MODULE
    29722979TEMPLATE_VBOXR0DRV_INCS                = $(VBOX_LINUX_INCS)
    29732980TEMPLATE_VBOXR0DRV_CFLAGS              = -nostdinc -iwithprefix include $(VBOX_LINUX_INCLUDE) \
     
    30333040
    30343041TEMPLATE_VBOXR0DRV_TOOL                = $(VBOX_GCC_TOOL)
    3035 TEMPLATE_VBOXR0DRV_DEFS                = _MACHDEP _KERNEL _STRICT_STDC IN_RING0 IN_RT_R0
     3042TEMPLATE_VBOXR0DRV_DEFS               += _MACHDEP _KERNEL _STRICT_STDC
    30363043TEMPLATE_VBOXR0DRV_INCS                = $(VBOX_SOLARIS_SYS_INCS)
    30373044TEMPLATE_VBOXR0DRV_LDFLAGS             = -r -dy
     
    30883095TEMPLATE_VBOXR0DRV_TOOL                = $(VBOX_GCC_TOOL)
    30893096TEMPLATE_VBOXR0DRV_LDTOOL              = FREEBSDKMODLD
    3090 TEMPLATE_VBOXR0DRV_DEFS                = _KERNEL KLD_MODULE IN_RING0 IN_RT_R0
     3097TEMPLATE_VBOXR0DRV_DEFS               += _KERNEL KLD_MODULE
    30913098TEMPLATE_VBOXR0DRV_INCS                = \
    30923099        $(VBOX_FREEBSD_SRC) \
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