diff options
author | graydon <graydon> | 2005-07-06 01:32:09 +0000 |
---|---|---|
committer | graydon <graydon> | 2005-07-06 01:32:09 +0000 |
commit | 5227f1ea176e0a7af4eb7c51ef5d678ee67ad5df (patch) | |
tree | 7de149617814b5bcd1bc87511a97b7644dcf8114 /testsuite/semok/fourteen.stp | |
parent | 68cb0cb76051be893600fcb845089199f01e6839 (diff) | |
download | systemtap-steved-5227f1ea176e0a7af4eb7c51ef5d678ee67ad5df.tar.gz systemtap-steved-5227f1ea176e0a7af4eb7c51ef5d678ee67ad5df.tar.xz systemtap-steved-5227f1ea176e0a7af4eb7c51ef5d678ee67ad5df.zip |
2005-07-05 Graydon Hoare <graydon@redhat.com>
* elaborate.{h,cxx}: Revert previous changes.
* tapsets.{h,cxx}: Adapt to verbose as a member of session.
* elaborate.cxx (alias_expansion_builder::build): Avoid copying
locals between alias definition and use.
* testsuite/semok/{twelve,thirteen,fourteen}.stp: New tests.
* staptree.cxx (probe_alias::printsig): Print equals sign.
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") +} |