diff options
Diffstat (limited to 'testsuite/parseok/two.stp')
-rwxr-xr-x | testsuite/parseok/two.stp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuite/parseok/two.stp b/testsuite/parseok/two.stp index 3776633b..6ab3823e 100755 --- a/testsuite/parseok/two.stp +++ b/testsuite/parseok/two.stp @@ -1,4 +1,4 @@ -#! stap +#! parsetest probe kernel:systemcall("foo") { @@ -6,7 +6,12 @@ probe kernel:systemcall("foo") if (global > 5) { global -- } else ; } +function foo () { + delete array[4]; + return 0; +} + probe systemtap:end { - function("value", 4+8); + foo ("value", 4+8); } |