diff options
Diffstat (limited to 'testsuite/semok/fourteen.stp')
-rwxr-xr-x | testsuite/semok/fourteen.stp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testsuite/semok/fourteen.stp b/testsuite/semok/fourteen.stp new file mode 100755 index 00000000..9326ebe2 --- /dev/null +++ b/testsuite/semok/fourteen.stp @@ -0,0 +1,30 @@ +#! stap -p2 + +function trace (s) { return 0 } + +# recursive alias expansion + +probe foo = begin +{ + trace("hello") +} + +probe bar = foo +{ + x=1 +} + +probe baz = bar +{ + y=2 +} + +probe quux = baz +{ + z = x + y +} + +probe quux, end +{ + trace("goodbye") +} |