VirtualBox

Changeset 40517 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Mar 17, 2012 7:30:54 PM (13 years ago)
Author:
vboxsync
Message:

kBuild 2566 -> 2567: dtrace support.

Location:
trunk
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/VBox/Devices/Makefile.kmk

    r40516 r40517  
    229229
    230230 ifdef VBOX_WITH_DTRACE_R3
    231   if1of ($(KBUILD_TARGET), solaris)
    232    VBoxDD_SOURCES       += $(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.o
    233   endif
     231  VBoxDD_USES           += dtrace
     232  VBoxDD_SOURCES        += build/VBoxDD.d
    234233 endif
    235234
     
    471470
    472471 ifdef VBOX_WITH_DTRACE_R3
    473   DevicesR3_DEFS          += VBOX_WITH_DTRACE
    474   DevicesR3_INCS          += $(DevicesR3_0_OUTDIR)
    475   DevicesR3_INTERMEDIATES += $(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.h
    476   $$(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.h: $(PATH_SUB_CURRENT)/build/VBoxDD-dtrace.d | $$(dir $$@)
    477         dtrace -C -h -o $@ -s $<
    478 
    479   if1of ($(KBUILD_TARGET), solaris)
    480    DevicesR3_SOURCES      += $(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.o
    481    DevicesR3_CLEANS       += $(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.o
    482    $$(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.o: $(PATH_SUB_CURRENT)/build/VBoxDD-dtrace.d $$(filter-out %/VBoxDD-dtrace.o,$$(DevicesR3_2_OBJS)) | $$(dir $$@)
    483         dtrace -C -G $(if-expr $(KBUILD_TARGET_ARCH) == amd64,-64,-32) -o $@ -s $< $(filter-out %/VBoxDD-dtrace.o,$(DevicesR3_2_OBJS))
    484   endif
     472  DevicesR3_DEFS        += VBOX_WITH_DTRACE
     473  DevicesR3_USES        += dtrace
     474  DevicesR3_SOURCES     += build/VBoxDD.d
    485475 endif
    486476
  • trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp

    r33540 r40517  
    3232
    3333#ifdef VBOX_WITH_DTRACE
    34 # include "VBoxDD-dtrace.h"
     34# include "dtrace/VBoxDD.h"
    3535#else
    3636# define VBOXDD_HGCMCALL_ENTER(a,b,c,d)             do { } while (0)
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