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/nodwf07.stp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 testsuite/semok/nodwf07.stp (limited to 'testsuite/semok/nodwf07.stp') diff --git a/testsuite/semok/nodwf07.stp b/testsuite/semok/nodwf07.stp new file mode 100755 index 00000000..d886ac79 --- /dev/null +++ b/testsuite/semok/nodwf07.stp @@ -0,0 +1,17 @@ +#!/bin/sh +# +# Test module-name and function-name wildcards. + +stap -p2 --ignore-dwarf --kelf -e ' +global ncall + +probe module("*").function("*_probe") { + printf("%s called\n", probefunc()) + if (ncall++ > 50) + exit() +} + +probe timer.sec(5) { + exit() +} +' -- cgit