diff options
Diffstat (limited to 'testsuite/transok/nine.stp')
-rwxr-xr-x | testsuite/transok/nine.stp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/transok/nine.stp b/testsuite/transok/nine.stp new file mode 100755 index 00000000..a75fad5e --- /dev/null +++ b/testsuite/transok/nine.stp @@ -0,0 +1,12 @@ +#! stap -p3 + +%{ +void just_some_declaration () {} +%} + +function bar(foo) %{ just_some_declaration(); THIS->__retvalue = THIS->foo + 5; %} + +probe begin +{ + bar (5) + 0 +} |