diff options
author | hunt <hunt> | 2007-06-20 21:40:29 +0000 |
---|---|---|
committer | hunt <hunt> | 2007-06-20 21:40:29 +0000 |
commit | 6da7f545b60445cfaa6e69896da4ee5a950cd6bb (patch) | |
tree | f9dff03fece8fe64a1bf04a153526561a566736b /testsuite/systemtap.samples/transport2.stp | |
parent | c65179207e8f5a06271dfe5519366c42f5b6b152 (diff) | |
download | systemtap-steved-6da7f545b60445cfaa6e69896da4ee5a950cd6bb.tar.gz systemtap-steved-6da7f545b60445cfaa6e69896da4ee5a950cd6bb.tar.xz systemtap-steved-6da7f545b60445cfaa6e69896da4ee5a950cd6bb.zip |
2007-06-20 Martin Hunt <hunt@redhat.com>
* systemtap.samples/transport*: Removed.
Diffstat (limited to 'testsuite/systemtap.samples/transport2.stp')
-rw-r--r-- | testsuite/systemtap.samples/transport2.stp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/testsuite/systemtap.samples/transport2.stp b/testsuite/systemtap.samples/transport2.stp deleted file mode 100644 index 1de90768..00000000 --- a/testsuite/systemtap.samples/transport2.stp +++ /dev/null @@ -1,33 +0,0 @@ -# This script tests normal logging - it logs a larger amount of data -# in each probe hit, enough to fill up the staging buffers, so it -# should detect anomalies in flushing the staging buffers. - -global maxcount -global count -global n - -function write_output() -{ - for (i = 0; i < n; i++) - log("[".sprint(count++)."] testing 123, testing, testing. testing 123, testing, testing") -} - -probe timer.jiffies(5) -{ - write_output(); - if (count >= maxcount) - exit() -} - -probe begin -{ - count = 1 - n = 500 - maxcount = 10000 -} - -probe end -{ - log("total records written: ".sprint(count - 1)) - log("records per iteration: ".sprint(n)) -} |