summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/nodwf02.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/nodwf02.stp')
-rwxr-xr-xtestsuite/semko/nodwf02.stp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/semko/nodwf02.stp b/testsuite/semko/nodwf02.stp
new file mode 100755
index 00000000..8f82d54b
--- /dev/null
+++ b/testsuite/semko/nodwf02.stp
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# Verify that --ignore-dwarf "hides" dwarf info.
+
+stap -p2 --ignore-dwarf -e '
+probe kernel.function("printk") {
+ printf("%s called\n", probefunc())
+ exit()
+}
+
+probe timer.sec(30) {
+ exit()
+}
+'