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/parseko/twentytwo.stp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 testsuite/parseko/twentytwo.stp (limited to 'testsuite/parseko') 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** { } -- cgit