diff options
author | fche <fche> | 2006-06-02 23:13:38 +0000 |
---|---|---|
committer | fche <fche> | 2006-06-02 23:13:38 +0000 |
commit | cedd10f4eeda74861f6ee61a50241e05eb27b500 (patch) | |
tree | 6f77a80d855ea6a36c55ce5fadd7a5fa7bf37fc2 /testsuite/semok | |
parent | b6b2628a5b1c35e54c71fe200cc03d57cb72668e (diff) | |
download | systemtap-steved-cedd10f4eeda74861f6ee61a50241e05eb27b500.tar.gz systemtap-steved-cedd10f4eeda74861f6ee61a50241e05eb27b500.tar.xz systemtap-steved-cedd10f4eeda74861f6ee61a50241e05eb27b500.zip |
2006-06-02 Frank Ch. Eigler <fche@elastic.org>
PR 2645 cont'd.
* elaborate.cxx (find_and_build): Support optional wildcards too.
(derive_probes): Change last argument to indicate optionalness of
parent probe point (alias reference).
(alias_expansion_builder): Shrink epilogue-mode alias body copying.
Pass along alias reference optionality.
* elaborate.h: Corresponding changes.
* testsuite/semko/thirtyfive.stp, semok/twentytwo.stp: New tests.
Diffstat (limited to 'testsuite/semok')
-rwxr-xr-x | testsuite/semok/twentytwo.stp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/semok/twentytwo.stp b/testsuite/semok/twentytwo.stp new file mode 100755 index 00000000..f8f44ffb --- /dev/null +++ b/testsuite/semok/twentytwo.stp @@ -0,0 +1,10 @@ +#! stap -p2 + +probe foo.a = kernel.function("no_such_function")?, never { "alias a" } +probe foo.* { } + +probe baz.a = kernel.function("no_such_function") { "alias a" } +probe baz.* ? { } + +probe bar = kernel.function("no_such_function") { "alias b" } +probe bar ? { } |