summaryrefslogtreecommitdiff
path: root/test/dtrace
diff options
context:
space:
mode:
Diffstat (limited to 'test/dtrace')
-rw-r--r--test/dtrace/test_function_entry.rb2
-rw-r--r--test/dtrace/test_singleton_function.rb2
2 files changed, 2 insertions, 2 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
diff --git a/test/dtrace/test_singleton_function.rb b/test/dtrace/test_singleton_function.rb
index ef1381a321..11fe80599d 100644
--- a/test/dtrace/test_singleton_function.rb
+++ b/test/dtrace/test_singleton_function.rb
@@ -46,7 +46,7 @@ ruby$target:::method-return
def ruby_program
<<-eoruby
- TracePoint.new{}.enable
+ TracePoint.new{}.__enable(nil, nil)
class Foo
def self.foo; end
end