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/nodwf09.stp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 testsuite/semko/nodwf09.stp (limited to 'testsuite/semko/nodwf09.stp') diff --git a/testsuite/semko/nodwf09.stp b/testsuite/semko/nodwf09.stp new file mode 100755 index 00000000..e103833f --- /dev/null +++ b/testsuite/semko/nodwf09.stp @@ -0,0 +1,14 @@ +#!/bin/sh +# +# The symbol table doesn't give us enough info to evaluate target variables. + +stap -p2 --ignore-vmlinux --kmap=/proc/kallsyms -e ' +probe kernel.function("printk") { + printf("%s called; fmt = \"%s\"\n", probefunc(), kernel_string($fmt)) + exit() +} + +probe timer.sec(15) { + exit() +} +' -- cgit