summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authordsmith <dsmith>2006-05-24 18:37:50 +0000
committerdsmith <dsmith>2006-05-24 18:37:50 +0000
commita477f3f17daab73993ce765900e95cddc3463586 (patch)
tree7f8184c086e4d831255f86ecc1b3cc095f01259d /elaborate.h
parent357134252c66425e159c9eff011e35a70faf3e11 (diff)
downloadsystemtap-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 'elaborate.h')
-rw-r--r--elaborate.h1
1 files changed, 1 insertions, 0 deletions
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;
};