New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13913 (closed enhancement: fixed)

Opened 5 years ago

Last modified 21 months ago

Include Joyent's DTrace extensions for Ruby 1.8.6

Reported by: douglas@… Owned by: kimuraw@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ruby

Description

The Ruby binary distributed with Leopard has DTrace extensions enabled but the Ruby in MacPorts does not have DTrace compiled into it. Joyent has made the patch for enabling DTrace in 1.8.6 available at http://svn.joyent.com/opensource/dtrace/ruby/patches/ruby-dtrace-1.8.6.diff

Could this be added to the portfile as a patch?

Attachments

ruby-dtrace-examples.bz2 (2.3 KB) - added by florian.ebeling@… 5 years ago.
three dtrace examples from a sun blog

Change History

comment:1 Changed 5 years ago by jmpp@…

  • Milestone set to Port Enhancements

comment:2 Changed 5 years ago by moses@…

I have done this on my own (see http://rubyforge.org/projects/rubyport-dtrace). I would be happy to contribute that work back into MacPorts. It required some massaging of the Joyent DTrace patch to get it to compile with Apple's version of DTrace (which doesn't need to create a dtrace.o object file, just a dtrace.h header).

comment:3 Changed 5 years ago by pguyot@…

I will gladly include this patch if a macports committer with 10.5 could test it, as I don't have access to a 10.5 box.

Changed 5 years ago by florian.ebeling@…

three dtrace examples from a sun blog

comment:4 Changed 5 years ago by florian.ebeling@…

For this ticket exists a partial duplicate in #14474, which also includes the Railsbench GC patch. I'd be really happy to see these things as options from maacports. I dont have commit bit myself, but I have prepared a few test from an example blog article, to get potential testers started. See attachment.

comment:5 Changed 5 years ago by jmr@…

  • Owner changed from macports-tickets@… to pguyot@…
  • Cc pguyot@… removed

comment:6 Changed 5 years ago by kimuraw@…

  • Owner changed from pguyot@… to kimuraw@…

comment:7 Changed 4 years ago by anonymous

  • Milestone Port Enhancements deleted

Milestone Port Enhancements deleted

comment:8 Changed 3 years ago by jmr@…

  • Keywords ruby dtrace removed
  • Version 1.6.0 deleted
  • Port set to ruby

comment:9 Changed 21 months ago by kimuraw@…

  • Status changed from new to closed
  • Resolution set to fixed

add a variant "dtrace" to port:ruby at r84346.

Note: See TracTickets for help on using tickets.