diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-01-30 16:08:39 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-01-30 16:09:49 -0500 |
commit | 184b9da7621b2fe0c588801fc0a4e94f6557bdeb (patch) | |
tree | e9e875d16a1ba441c7d5797d61b092fd8e8fb073 /testsuite/semok/twenty.stp | |
parent | 552276c8666dec5373d8312bc3498b1887ddb0a8 (diff) | |
download | systemtap-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-x | testsuite/semok/twenty.stp | 7 |
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 |