summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/nodwf07.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/nodwf07.stp')
-rwxr-xr-xtestsuite/semko/nodwf07.stp15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/semko/nodwf07.stp b/testsuite/semko/nodwf07.stp
new file mode 100755
index 00000000..4a2cf4a5
--- /dev/null
+++ b/testsuite/semko/nodwf07.stp
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# This should fail until/unless we expand our blacklist to cover symbols
+# in the symbol table that don't show up in dwarf.
+
+stap -p2 --ignore-vmlinux --kmap=/proc/kallsyms -e '
+probe kernel.function("*") {
+ printf("%s called\n", probefunc())
+ exit()
+}
+
+probe timer.sec(15) {
+ exit()
+}
+'