summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/nodwf06.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/nodwf06.stp')
-rwxr-xr-xtestsuite/semko/nodwf06.stp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/semko/nodwf06.stp b/testsuite/semko/nodwf06.stp
new file mode 100755
index 00000000..7318cbec
--- /dev/null
+++ b/testsuite/semko/nodwf06.stp
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# The symbol table doesn't give us enough info to probe statements.
+
+stap -p2 --ignore-vmlinux --kmap=/proc/kallsyms -e '
+probe kernel.statement("*@kernel/printk.c:639") {
+ printf("probe hit: %s\n", pp())
+ exit()
+}
+
+probe timer.sec(15) {
+ exit()
+}
+'