diff options
author | Josh Stone <jistone@redhat.com> | 2010-03-25 14:31:45 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2010-03-25 14:38:53 -0700 |
commit | 122b4fcd9ca8947ab96c8efdfe4430df8ea6b341 (patch) | |
tree | af054be49868bb0f3e5358dcf1d80062b06e10fd /testsuite/semko/doubleglob.stp | |
parent | 4a9530fe2547894f2d2452488e62fb3f389fd4cb (diff) | |
download | systemtap-steved-122b4fcd9ca8947ab96c8efdfe4430df8ea6b341.tar.gz systemtap-steved-122b4fcd9ca8947ab96c8efdfe4430df8ea6b341.tar.xz systemtap-steved-122b4fcd9ca8947ab96c8efdfe4430df8ea6b341.zip |
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.
Diffstat (limited to 'testsuite/semko/doubleglob.stp')
-rwxr-xr-x | testsuite/semko/doubleglob.stp | 3 |
1 files changed, 3 insertions, 0 deletions
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 {} |