diff options
author | Keiichi KII <k-keiichi@bx.jp.nec.com> | 2009-05-13 16:55:11 -0400 |
---|---|---|
committer | Keiichi KII <k-keiichi@bx.jp.nec.com> | 2009-05-13 16:55:11 -0400 |
commit | f90da452b402af56c7f186798911ca5f49ee0cc4 (patch) | |
tree | 63c8d4cbcecd764546ee2d89b02830969cae302f /testsuite/parseko/cmdline21.stp | |
parent | 508e476d212146602499c9bf1283e15ee9f2f037 (diff) | |
download | systemtap-steved-f90da452b402af56c7f186798911ca5f49ee0cc4.tar.gz systemtap-steved-f90da452b402af56c7f186798911ca5f49ee0cc4.tar.xz systemtap-steved-f90da452b402af56c7f186798911ca5f49ee0cc4.zip |
PR 6930: Add additional testcases for flight recorder mode
* testsuite/parseko/cmdline17.stp:
command line check - bad combination with -D and -L
* testsuite/parseko/cmdline18.stp:
command line check - bad combination with -D and -d
* testsuite/parseko/cmdline19.stp:
command line check - bad combination with -D and -c
* testsuite/parseko/cmdline20.stp:
command line check - need output file with -D
* testsuite/parseko/cmdline21.stp:
command line check - need output file with -S
* testsuite/systemtap.base/flightrec3.exp:
New test case for file switching with bulk mode
* testsuite/systemtap.base/flightrec3.stp:
Test script for file switching per cpu
Diffstat (limited to 'testsuite/parseko/cmdline21.stp')
-rw-r--r-- | testsuite/parseko/cmdline21.stp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/parseko/cmdline21.stp b/testsuite/parseko/cmdline21.stp new file mode 100644 index 00000000..d7496c8c --- /dev/null +++ b/testsuite/parseko/cmdline21.stp @@ -0,0 +1,15 @@ +#!/bin/sh + +# You have to specify ouput FILE with '-S' option +# +#-S size[,N] Switches output file to next file when the size +# of file reaches the specified size. The value +# should be an integer greater than 1 which is +# assumed to be the maximum file size in MB. +# When the number of output files reaches N, it +# switches to the first output file. You can omit +# the second argument. +#-o FILE Send output to FILE. This supports strftime(3) +# formats for FILE. + +staprun -S 1,1 fake_module |