summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/nodwf04.stp
diff options
context:
space:
mode:
authorJim Keniston <jkenisto@us.ibm.com>2008-04-18 16:28:55 -0700
committerJim Keniston <jkenisto@us.ibm.com>2008-04-18 16:28:55 -0700
commit65da5355aa93d507d8ed8ca97ce7bed234af638a (patch)
treeb42b4a867f52df9eb826fa5732fab76a2cf38394 /testsuite/semko/nodwf04.stp
parent5f0a03a685a11bda62d69588f39e3fc26375d180 (diff)
downloadsystemtap-steved-65da5355aa93d507d8ed8ca97ce7bed234af638a.tar.gz
systemtap-steved-65da5355aa93d507d8ed8ca97ce7bed234af638a.tar.xz
systemtap-steved-65da5355aa93d507d8ed8ca97ce7bed234af638a.zip
* testsuite/{semok,semko}/nodwf*.stp
Shows what we currently can and can't do.
Diffstat (limited to 'testsuite/semko/nodwf04.stp')
-rwxr-xr-xtestsuite/semko/nodwf04.stp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/semko/nodwf04.stp b/testsuite/semko/nodwf04.stp
new file mode 100755
index 00000000..c20dec4f
--- /dev/null
+++ b/testsuite/semko/nodwf04.stp
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# The symbol table doesn't give us enough info to probe inline functions.
+
+stap -p2 --ignore-vmlinux --kmap=/proc/kallsyms -e '
+probe kernel.function("list_empty").inline {
+ printf("%s called\n", probefunc())
+ exit()
+}
+
+probe timer.sec(15) {
+ exit()
+}
+'