diff options
author | dsmith <dsmith> | 2006-05-24 18:37:50 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2006-05-24 18:37:50 +0000 |
commit | a477f3f17daab73993ce765900e95cddc3463586 (patch) | |
tree | 7f8184c086e4d831255f86ecc1b3cc095f01259d /testsuite | |
parent | 357134252c66425e159c9eff011e35a70faf3e11 (diff) | |
download | systemtap-steved-a477f3f17daab73993ce765900e95cddc3463586.tar.gz systemtap-steved-a477f3f17daab73993ce765900e95cddc3463586.tar.xz systemtap-steved-a477f3f17daab73993ce765900e95cddc3463586.zip |
2006-05-24 David Smith <dsmith@redhat.com>
* elaborate.cxx (isglob): New function.
(match_key::globmatch): New function.
(match_node::find_and_build): Uses isglob() and
match_key::globmatch() to provide support for wildcards such as
"kernel.syscall.*read*" (Bugzilla #1928).
* elaborate.h (match_key::globmatch): Added function declaration.
* parse.cxx (parser::parse_probe_point): Collects one or more
tokens into a single probe-point functor string.
* testsuite/parseko/twentytwo.stp: New file.
* testsuite/parseok/sixteen.stp: New file.
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/parseko/twentytwo.stp | 5 | ||||
-rwxr-xr-x | testsuite/parseok/sixteen.stp | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/parseko/twentytwo.stp b/testsuite/parseko/twentytwo.stp new file mode 100755 index 00000000..a5434355 --- /dev/null +++ b/testsuite/parseko/twentytwo.stp @@ -0,0 +1,5 @@ +#! stap -p1 + +# bad wildcard + +probe a** { } diff --git a/testsuite/parseok/sixteen.stp b/testsuite/parseok/sixteen.stp new file mode 100755 index 00000000..31e01238 --- /dev/null +++ b/testsuite/parseok/sixteen.stp @@ -0,0 +1,7 @@ +#! stap -p1 + +# complicated probe point wildcard +probe abcX { } + +probe *abc* { } + |