diff options
-rw-r--r-- | test/dtrace/test_function_entry.rb | 2 | ||||
-rw-r--r-- | test/dtrace/test_singleton_function.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/dtrace/test_function_entry.rb b/test/dtrace/test_function_entry.rb index 8050f91402..e2395ab15a 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(nil, nil) + TracePoint.new{}.__enable(nil, nil, Thread.current) class Foo def foo; end end diff --git a/test/dtrace/test_singleton_function.rb b/test/dtrace/test_singleton_function.rb index 11fe80599d..bad1fa0692 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(nil, nil) + TracePoint.new{}.__enable(nil, nil, Thread.current) class Foo def self.foo; end end |