Project

General

Profile

« Previous | Next » 

Revision 37709

  • configure.in, Makefile.in, common.mk: support DTrace on Solaris 10,
    based on r26235 by Yugui. On Solaris 10, low optimization level
    may also be needed, e.g. optflags="-xO1" or "-xO0" with Oracle
    SolarisStudio 12.3 cc.

  • configure.in (--enable-dtrace): new option to enable/disable
    DTrace support. By default, trying to enable if dtrace command
    is found on the system. It is disabled when cross compiling.

  • configure.in (RUBY_DTRACE_POSTPROCESS): new macro. checks whether
    the dtrace on the system needs postprocessing with "dtrace -G".
    The postprocessing is needed on Solaris 10 and other platforms.

  • configure.in (RUBY_DTRACE_BSD_BROKEN): new macro. checks whether
    the dtrace supports USDT.

  • configure.in (DTRACE): move after RUBY_DTRACE_POSTPROCESS.

  • configure.in (LD): On Solaris, /usr/ccs/bin/ld is preferred.

  • configure.in, Makefile.in, common.mk (DTRACE_OBJ): new macro for
    DTrace probe object generated by postprocessing with "dtrace -G".

  • Makefile.in, common.mk (probes.$(OBJEXT)): DTrace probe object
    generated by the postprocessing. New file probes.stamp is for
    rebuilding related objects that may be modified by "dtrace -G".

  • configure.in, Makefile.in, common.mk (DTRACE_GLOMMED_OBJ): new
    macro for DTrace static library hacks.

  • configure.in, Makefile.in (LIBRUBY_A_OBJS): ditto.

  • Makefile.in, common.mk (ruby-glommed.$(OBJEXT)): new target with
    rule for DTrace static library hacks.

  • common.mk (DTRACE_DEPENDENT_OBJS): objects depended on probes.h.