summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/twenty.stp
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-01-30 16:08:39 -0500
committerFrank Ch. Eigler <fche@elastic.org>2009-01-30 16:09:49 -0500
commit184b9da7621b2fe0c588801fc0a4e94f6557bdeb (patch)
treee9e875d16a1ba441c7d5797d61b092fd8e8fb073 /testsuite/semok/twenty.stp
parent552276c8666dec5373d8312bc3498b1887ddb0a8 (diff)
downloadsystemtap-steved-184b9da7621b2fe0c588801fc0a4e94f6557bdeb.tar.gz
systemtap-steved-184b9da7621b2fe0c588801fc0a4e94f6557bdeb.tar.xz
systemtap-steved-184b9da7621b2fe0c588801fc0a4e94f6557bdeb.zip
reduce systemtap.log contribution by semok/twenty.stp
Diffstat (limited to 'testsuite/semok/twenty.stp')
-rwxr-xr-xtestsuite/semok/twenty.stp7
1 files changed, 6 insertions, 1 deletions
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