aboutsummaryrefslogtreecommitdiffstats
path: root/test/dtrace/test_singleton_function.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/dtrace/test_singleton_function.rb')
-rw-r--r--test/dtrace/test_singleton_function.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dtrace/test_singleton_function.rb b/test/dtrace/test_singleton_function.rb
index 13d02098a0..c6609b1ffc 100644
--- a/test/dtrace/test_singleton_function.rb
+++ b/test/dtrace/test_singleton_function.rb
@@ -4,7 +4,7 @@ module DTrace
class TestSingletonFunctionEntry < TestCase
def test_entry
probe = <<-eoprobe
-ruby$target:::function-entry
+ruby$target:::method-entry
/strstr(copyinstr(arg0), "Foo") != NULL/
{
printf("%s %s %s %d\\n", copyinstr(arg0), copyinstr(arg1), copyinstr(arg2), arg3);
@@ -25,7 +25,7 @@ ruby$target:::function-entry
def test_exit
probe = <<-eoprobe
-ruby$target:::function-return
+ruby$target:::method-return
{
printf("%s %s %s %d\\n", copyinstr(arg0), copyinstr(arg1), copyinstr(arg2), arg3);
}