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/nodwf02.stp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 testsuite/semko/nodwf02.stp (limited to 'testsuite/semko/nodwf02.stp') diff --git a/testsuite/semko/nodwf02.stp b/testsuite/semko/nodwf02.stp new file mode 100755 index 00000000..8f82d54b --- /dev/null +++ b/testsuite/semko/nodwf02.stp @@ -0,0 +1,14 @@ +#!/bin/sh +# +# Verify that --ignore-dwarf "hides" dwarf info. + +stap -p2 --ignore-dwarf -e ' +probe kernel.function("printk") { + printf("%s called\n", probefunc()) + exit() +} + +probe timer.sec(30) { + exit() +} +' -- cgit