From 1eca2f3ca936cfdbce7b82342f5903b7d16e9bc1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 30 Jun 2019 21:20:16 +0900 Subject: [PATCH] TracePoint#__enable requires 3 arguments now --- test/dtrace/test_function_entry.rb | 2 +- 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