From 184b9da7621b2fe0c588801fc0a4e94f6557bdeb Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 30 Jan 2009 16:08:39 -0500 Subject: reduce systemtap.log contribution by semok/twenty.stp --- testsuite/semok/twenty.stp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'testsuite/semok/twenty.stp') diff --git a/testsuite/semok/twenty.stp b/testsuite/semok/twenty.stp index 46dcefca..73dbb3bf 100755 --- a/testsuite/semok/twenty.stp +++ b/testsuite/semok/twenty.stp @@ -1,5 +1,7 @@ -#! stap -wp2 +#! /bin/sh +set -e +stap -wp2 -e ' probe kernel.function("*") {} probe module("*").function("*") {} probe kernel.function("*").call {} @@ -8,3 +10,6 @@ probe kernel.function("*").return {} probe module("*").function("*").return {} probe kernel.function("*").inline {} probe module("*").function("*").inline {} +' | wc + +# without the |wc, we'd log the humongous list of stuff stap -p2 prints -- cgit