aboutsummaryrefslogtreecommitdiffstats
path: root/test/dtrace/test_function_entry.rb
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-11 09:49:31 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-11 09:49:31 +0000
commit0046a4a5194797214365636465c990be7ce2d355 (patch)
tree9976f4c243194afec439720c68e9b06edb927ba6 /test/dtrace/test_function_entry.rb
parent349f6a3275abb0b59d35df44c3d786a4af58449e (diff)
downloadruby-0046a4a5194797214365636465c990be7ce2d355.tar.gz
test/dtrace: use TracePoint.__enable
"TracePoint.enable" is implemented in prelude.rb since r66003 / commit 96990203b71184003cf8a9bad5cc177645820fd4 and not available in miniruby. I tried using regular "ruby" for testing, but it proved noisy and caused test failures. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dtrace/test_function_entry.rb')
-rw-r--r--test/dtrace/test_function_entry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dtrace/test_function_entry.rb b/test/dtrace/test_function_entry.rb
index 0030560d54..8050f91402 100644
--- a/test/dtrace/test_function_entry.rb
+++ b/test/dtrace/test_function_entry.rb
@@ -77,7 +77,7 @@ ruby$target:::method-return
private
def ruby_program
<<-eoruby
- TracePoint.new{}.enable
+ TracePoint.new{}.__enable(nil, nil)
class Foo
def foo; end
end