summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/twentyseven.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semok/twentyseven.stp')
-rwxr-xr-xtestsuite/semok/twentyseven.stp11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/semok/twentyseven.stp b/testsuite/semok/twentyseven.stp
new file mode 100755
index 00000000..def633a5
--- /dev/null
+++ b/testsuite/semok/twentyseven.stp
@@ -0,0 +1,11 @@
+#! stap -p2
+
+probe foo.a = kernel.function("sys_read") /* some */ ! /* sufficient */ ,
+ kernel.function("no_such_function")
+ { "foo.a" }
+
+probe foo.b = module("*scsi*").function("no_such_thing") /* none */ ? ,
+ module("*scsi*").function("*queue*") /* some */ ! , /* suff'nt */
+ module("no_such_module").function("no_such_function")
+ { "foo.b" }
+probe foo.* { }