diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-28 20:20:50 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-28 20:20:50 +0000 |
commit | 4bdd9095183666d515635946085becc66a418b16 (patch) | |
tree | e2d8aeee8f590424b0f91939c9d37f518204c856 /test/dtrace | |
parent | 0fe2051c93197d7617ccc4f07a2dfc697cde9df7 (diff) | |
download | ruby-4bdd9095183666d515635946085becc66a418b16.tar.gz |
* probes.d: Change function-entry probe to method-entry.
* insns.def: ditto
* probes_helper.h: ditto
* test/dtrace/test_function_entry.rb: ditto
* test/dtrace/test_singleton_function.rb: ditto
* vm.c: ditto
* vm_eval.c: ditto
* vm_insnhelper.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dtrace')
-rw-r--r-- | test/dtrace/test_function_entry.rb | 4 | ||||
-rw-r--r-- | test/dtrace/test_singleton_function.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/dtrace/test_function_entry.rb b/test/dtrace/test_function_entry.rb index 97302afe17..d7c7936f4c 100644 --- a/test/dtrace/test_function_entry.rb +++ b/test/dtrace/test_function_entry.rb @@ -4,7 +4,7 @@ module DTrace class TestFunctionEntry < TestCase def test_function_entry probe = <<-eoprobe -ruby$target:::function-entry +ruby$target:::method-entry /arg0 && arg1 && arg2/ { printf("%s %s %s %d\\n", copyinstr(arg0), copyinstr(arg1), copyinstr(arg2), arg3); @@ -25,7 +25,7 @@ ruby$target:::function-entry def test_function_return probe = <<-eoprobe -ruby$target:::function-return +ruby$target:::method-return /arg0 && arg1 && arg2/ { printf("%s %s %s %d\\n", copyinstr(arg0), copyinstr(arg1), copyinstr(arg2), arg3); 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); } |