summaryrefslogtreecommitdiffstats
path: root/testsuite/semok
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semok')
-rwxr-xr-xtestsuite/semok/thirtyfour.stp9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/semok/thirtyfour.stp b/testsuite/semok/thirtyfour.stp
new file mode 100755
index 00000000..f6147529
--- /dev/null
+++ b/testsuite/semok/thirtyfour.stp
@@ -0,0 +1,9 @@
+#! stap -p2
+# PR10495
+
+probe foo = kernel.function("sys_open") { name = "a" }
+probe foo = kernel.function("sys_close") { name = "c" }
+probe foo.bar = kernel.function("sys_exit") { name = "nothing" }
+
+probe foo { log(name) }
+probe foo.* { log(name) }