From a477f3f17daab73993ce765900e95cddc3463586 Mon Sep 17 00:00:00 2001 From: dsmith Date: Wed, 24 May 2006 18:37:50 +0000 Subject: 2006-05-24 David Smith * 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. --- testsuite/parseok/sixteen.stp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 testsuite/parseok/sixteen.stp (limited to 'testsuite/parseok') 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* { } + -- cgit