From 122b4fcd9ca8947ab96c8efdfe4430df8ea6b341 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 25 Mar 2010 14:31:45 -0700 Subject: PR11399: Allow '**' to match tapsets across '.' Normally wildcards are constrained to matching a single probe point component between the '.' separator. This patch enables '**' to match across the separator. Probe point parameters are still absolute separators though, as there's not really a meaningful semantic we could use to cross them with '**'. * elaborate.cxx (isdoubleglob): Check for '**'. (match_node::find_and_build): Recurse '**' to cross separators. * testsuite/semok/doubleglob.stp: New test of broad wildcards. * testsuite/semko/doubleglob.stp: New negative test. --- testsuite/semko/doubleglob.stp | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 testsuite/semko/doubleglob.stp (limited to 'testsuite/semko') diff --git a/testsuite/semko/doubleglob.stp b/testsuite/semko/doubleglob.stp new file mode 100755 index 00000000..55a50760 --- /dev/null +++ b/testsuite/semko/doubleglob.stp @@ -0,0 +1,3 @@ +#! stap -p2 + +probe foo**bar {} -- cgit