summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/nodwf03.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semok/nodwf03.stp')
-rwxr-xr-xtestsuite/semok/nodwf03.stp13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/semok/nodwf03.stp b/testsuite/semok/nodwf03.stp
new file mode 100755
index 00000000..6f8b3629
--- /dev/null
+++ b/testsuite/semok/nodwf03.stp
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Test function-name wildcard.
+
+stap -p2 --ignore-vmlinux --kmap=/proc/kallsyms -e '
+global ncall
+
+probe kernel.function("sys_*") {
+ printf("%s called\n", probefunc())
+ if (ncall++ > 50)
+ exit()
+}
+'