summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/twentytwo.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semok/twentytwo.stp')
-rwxr-xr-xtestsuite/semok/twentytwo.stp10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/semok/twentytwo.stp b/testsuite/semok/twentytwo.stp
new file mode 100755
index 00000000..f8f44ffb
--- /dev/null
+++ b/testsuite/semok/twentytwo.stp
@@ -0,0 +1,10 @@
+#! stap -p2
+
+probe foo.a = kernel.function("no_such_function")?, never { "alias a" }
+probe foo.* { }
+
+probe baz.a = kernel.function("no_such_function") { "alias a" }
+probe baz.* ? { }
+
+probe bar = kernel.function("no_such_function") { "alias b" }
+probe bar ? { }