Package: ruby2.0
Version: 2.0.0.484+really457-3

Ruby 2.0 introduced support for DTrace, a dynamic tracing framework by Sun, 
which can be used to trace running processes with minimal performance impact.

While DTrace support on Linux still seems to be rather basic and burdened by 
licensing issues, SystemTap is a free (GPL) and mature alternative for 
GNU/Linux systems. Furthermore, SystemTap supports DTrace probe points such as 
those already present in upstream Ruby.

SystemTap support can be enabled simply by adding systemtap-sdt-dev as a build 
dependency for Ruby. This would not result in any additional run time 
dependencies for Ruby; systemtap-sdt-dev is only required at build time. Also, 
due to SystemTap's design, probes do not have any performance impact when they 
are not explicitly enabled by the user at run time.

Fedora has had SystemTap support enabled since 2.0.0.0-0.1.r39387 (22 Feb 2013) 
and apparently it has not caused any problems for them.

Having Ruby in jessie support SystemTap as well would further enhance the user 
experience for Ruby developers and admins on Debian.

The attached patch enables SystemTap probes in Ruby by adding systemtap-sdt-dev 
as a build dependency on Linux systems. 

Attachment: 0001-Add-systemtap-sdt-dev-as-a-build-dependency.patch
Description: Binary data

Reply via email to