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/semok/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/semok/doubleglob.stp')
-rwxr-xr-x | testsuite/semok/doubleglob.stp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/semok/doubleglob.stp b/testsuite/semok/doubleglob.stp new file mode 100755 index 00000000..06065165 --- /dev/null +++ b/testsuite/semok/doubleglob.stp @@ -0,0 +1,6 @@ +#! stap -p2 + +probe *sys**pen {} // [nd_]syscall.[mq_]open +probe t**ile {} // timer.profile +probe t**es(1) {} // timer.jiffies(1) +probe ke**on("vfs_read") {} // kernel.function("vfs_open") |