ruby-changes:51373
From: normal <ko1@a...>
Date: Wed, 6 Jun 2018 06:19:44 +0900 (JST)
Subject: [ruby-changes:51373] normal:r63579 (trunk): test/dtrace/test_method_cache.rb: avoid spewing too much
normal 2018-06-06 06:19:40 +0900 (Wed, 06 Jun 2018) New Revision: 63579 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63579 Log: test/dtrace/test_method_cache.rb: avoid spewing too much Don't output method cache clearing at startup since it causes dtrace to drop output and break the test. Modified files: trunk/test/dtrace/test_method_cache.rb Index: test/dtrace/test_method_cache.rb =================================================================== --- test/dtrace/test_method_cache.rb (revision 63578) +++ test/dtrace/test_method_cache.rb (revision 63579) @@ -19,7 +19,7 @@ module DTrace https://github.com/ruby/ruby/blob/trunk/test/dtrace/test_method_cache.rb#L19 def probe <<-eoprobe ruby$target:::method-cache-clear -/arg1/ +/arg1 && arg2/ { printf("%s %s %d\\n", copyinstr(arg0), copyinstr(arg1), arg2); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/