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/semok/nodwf03.stp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 testsuite/semok/nodwf03.stp (limited to 'testsuite/semok/nodwf03.stp') diff --git a/testsuite/semok/nodwf03.stp b/testsuite/semok/nodwf03.stp new file mode 100755 index 00000000..6f8b3629 --- /dev/null +++ b/testsuite/semok/nodwf03.stp @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Test function-name wildcard. + +stap -p2 --ignore-vmlinux --kmap=/proc/kallsyms -e ' +global ncall + +probe kernel.function("sys_*") { + printf("%s called\n", probefunc()) + if (ncall++ > 50) + exit() +} +' -- cgit