summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/nodwf08.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/nodwf08.stp')
-rwxr-xr-xtestsuite/semko/nodwf08.stp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/semko/nodwf08.stp b/testsuite/semko/nodwf08.stp
new file mode 100755
index 00000000..4b6d9da5
--- /dev/null
+++ b/testsuite/semko/nodwf08.stp
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# The regular blacklist should thwart this.
+
+stap -p2 --ignore-vmlinux --kmap=/proc/kallsyms -e '
+probe kernel.function("register_kprobe") {
+ printf("%s called\n", probefunc())
+ exit()
+}
+
+probe timer.sec(30) {
+ exit()
+}
+'