From 65da5355aa93d507d8ed8ca97ce7bed234af638a Mon Sep 17 00:00:00 2001 From: Jim Keniston Date: Fri, 18 Apr 2008 16:28:55 -0700 Subject: * testsuite/{semok,semko}/nodwf*.stp Shows what we currently can and can't do. --- testsuite/semko/nodwf03.stp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 testsuite/semko/nodwf03.stp (limited to 'testsuite/semko/nodwf03.stp') diff --git a/testsuite/semko/nodwf03.stp b/testsuite/semko/nodwf03.stp new file mode 100755 index 00000000..6b66f2e9 --- /dev/null +++ b/testsuite/semko/nodwf03.stp @@ -0,0 +1,14 @@ +#!/bin/sh +# +# --kelf doesn't work if vmlinux can't be found. + +stap -p2 --ignore-vmlinux --kelf -e ' +probe kernel.function("printk") { + printf("%s called\n", probefunc()) + exit() +} + +probe timer.sec(30) { + exit() +} +' -- cgit