ruby-changes:32175
From: tmm1 <ko1@a...>
Date: Tue, 17 Dec 2013 11:03:20 +0900 (JST)
Subject: [ruby-changes:32175] tmm1:r44254 (trunk): configure.in: build probes with systemtap's dtrace wrapper
tmm1 2013-12-17 11:03:09 +0900 (Tue, 17 Dec 2013) New Revision: 44254 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44254 Log: configure.in: build probes with systemtap's dtrace wrapper * configure.in (RUBY_DTRACE_POSTPROCESS): Fix compatibility with systemtap on linux. stap requires `dtrace -G` post-processing, but the dtrace compatibility wrapper is very strict about probes.d syntax. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 44253) +++ configure.in (revision 44254) @@ -584,7 +584,11 @@ AC_DEFUN([RUBY_DTRACE_POSTPROCESS], https://github.com/ruby/ruby/blob/trunk/configure.in#L584 [AC_CACHE_CHECK(whether $DTRACE needs post processing, rb_cv_prog_dtrace_g, [ if { - echo "provider conftest{ probe fire(); };" > conftest_provider.d && + cat >conftest_provider.d <<_PROBES && + provider conftest { + probe fire(); + }; +_PROBES dtrace -h -o conftest_provider.h -s conftest_provider.d >/dev/null 2>/dev/null && cat >conftest.c <<_CONF && @%:@include "conftest_provider.h" Index: ChangeLog =================================================================== --- ChangeLog (revision 44253) +++ ChangeLog (revision 44254) @@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Dec 17 10:48:04 2013 Aman Gupta <ruby@t...> + + * configure.in (RUBY_DTRACE_POSTPROCESS): Fix compatibility with + systemtap on linux. stap requires `dtrace -G` post-processing, but + the dtrace compatibility wrapper is very strict about probes.d + syntax. + Tue Dec 17 05:18:17 2013 Eric Hodel <drbrain@s...> * lib/rubygems: Update to RubyGems master 1c5f4b3. Allows rubygems -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/