1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2018-06-05 21:19:40 +00:00
parent c97952dd0f
commit ca9cf0e076

View file

@ -19,7 +19,7 @@ module DTrace
def probe
<<-eoprobe
ruby$target:::method-cache-clear
/arg1/
/arg1 && arg2/
{
printf("%s %s %d\\n", copyinstr(arg0), copyinstr(arg1), arg2);
}