On 8 May 2014 12:39, Christian Hofstaedtler <z...@debian.org> wrote:
> Please expand on this - would this mean additional "changes" to the
> Ruby package? If so, please show us :-)

Yes, but only minor changes. Basically we would have to install a tap
file to /usr/share/systemtap/tapset which is then loaded by systemtap
on startup. (Details in the "Processing" section of the stap(1) man
page.)

Fedora uses this tap file:
http://pkgs.fedoraproject.org/cgit/ruby.git/tree/libruby.stp

@LIBRARY_PATH@ is set to the correct path in the course of the package
build process.

As of 2.1, Ruby upstream also has a simple tap file generator, but as
far as I can tell its incomplete (wrong simplified probe names, no
string copying) at the moment:
https://github.com/ruby/ruby/blob/ruby_2_1/tool/gen_ruby_tapset.rb

I haven't talked to upstream yet, but I threw together a somewhat
improved version of the current gen_ruby_tapset.rb that I would like
to contribute if they are interested.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to