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. --- elaborate.h | 1 + 1 file changed, 1 insertion(+) (limited to 'elaborate.h') diff --git a/elaborate.h b/elaborate.h index ed8570f3..426b8ee2 100644 --- a/elaborate.h +++ b/elaborate.h @@ -174,6 +174,7 @@ match_key match_key & with_string(); std::string str() const; bool operator<(match_key const & other) const; + bool globmatch(match_key const & other) const; }; -- cgit