From 2f960e8ddd0fd7305cf95712f3f0c05e1c585f4e Mon Sep 17 00:00:00 2001 From: Wenji Huang Date: Fri, 11 Sep 2009 13:38:47 +0800 Subject: PR10618: update iostat-scsi.stp for 2.6.31 * testsuite/systemtap.examples/io/iostat-scsi.stp: Add pure function. * testsuite/systemtap.examples/io/iostat-scsi.meta: Add -g option. --- testsuite/systemtap.examples/io/iostat-scsi.meta | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.examples/io/iostat-scsi.meta') diff --git a/testsuite/systemtap.examples/io/iostat-scsi.meta b/testsuite/systemtap.examples/io/iostat-scsi.meta index 242e740e..3326f532 100644 --- a/testsuite/systemtap.examples/io/iostat-scsi.meta +++ b/testsuite/systemtap.examples/io/iostat-scsi.meta @@ -10,5 +10,5 @@ output: timed scope: system-wide description: The iostat-scsi.stp script provides a breakdown of the number of blks read and written on the various machines's SCSI devices. The script takes one argument which is the number of seconds between reports. test_support: stap -l module("st").function("st_do_scsi")!,kernel.function("st_do_scsi") -test_check: stap -p4 iostat-scsi.stp 1 -test_installcheck: stap iostat-scsi.stp 1 -c "sleep 1" +test_check: stap -g -p4 iostat-scsi.stp 1 +test_installcheck: stap -g iostat-scsi.stp 1 -c "sleep 1" -- cgit From 22ce80766c4f31a218da1694569523eb68737faf Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sun, 13 Sep 2009 23:57:42 +0200 Subject: Make check.exp not sleep so much in test_installcheck. A lot of time during the installcheck was spend just sleeping. Reduce the sleep time by at least one fifth. * testsuite/systemtap.examples/*/*meta: Reduct -c "sleep" time. --- testsuite/systemtap.examples/io/iostat-scsi.meta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/systemtap.examples/io/iostat-scsi.meta') diff --git a/testsuite/systemtap.examples/io/iostat-scsi.meta b/testsuite/systemtap.examples/io/iostat-scsi.meta index 3326f532..a992bd51 100644 --- a/testsuite/systemtap.examples/io/iostat-scsi.meta +++ b/testsuite/systemtap.examples/io/iostat-scsi.meta @@ -11,4 +11,4 @@ scope: system-wide description: The iostat-scsi.stp script provides a breakdown of the number of blks read and written on the various machines's SCSI devices. The script takes one argument which is the number of seconds between reports. test_support: stap -l module("st").function("st_do_scsi")!,kernel.function("st_do_scsi") test_check: stap -g -p4 iostat-scsi.stp 1 -test_installcheck: stap -g iostat-scsi.stp 1 -c "sleep 1" +test_installcheck: stap -g iostat-scsi.stp 1 -c "sleep 0.2" -- cgit