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/profiling/functioncallcount.meta | 2 +- testsuite/systemtap.examples/profiling/thread-times.meta | 2 +- testsuite/systemtap.examples/profiling/timeout.meta | 2 +- testsuite/systemtap.examples/profiling/topsys.meta | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuite/systemtap.examples/profiling') diff --git a/testsuite/systemtap.examples/profiling/functioncallcount.meta b/testsuite/systemtap.examples/profiling/functioncallcount.meta index 4d419528..682b2f95 100644 --- a/testsuite/systemtap.examples/profiling/functioncallcount.meta +++ b/testsuite/systemtap.examples/profiling/functioncallcount.meta @@ -10,4 +10,4 @@ output: sorted-list on-exit scope: system-wide description: The functioncallcount.stp script takes one argument, a list of functions to probe. The script will run and count the number of times that each of the functions on the list is called. On exit the script will print a sorted list from most frequently to least frequently called function. test_check: stap -p4 functioncallcount.stp "*@mm/*.c" -test_installcheck: stap functioncallcount.stp "*@mm/*.c" -c "sleep 1" +test_installcheck: stap functioncallcount.stp "*@mm/*.c" -c "sleep 0.2" diff --git a/testsuite/systemtap.examples/profiling/thread-times.meta b/testsuite/systemtap.examples/profiling/thread-times.meta index fcbf062e..3cb3e93d 100644 --- a/testsuite/systemtap.examples/profiling/thread-times.meta +++ b/testsuite/systemtap.examples/profiling/thread-times.meta @@ -10,4 +10,4 @@ output: sorted-list scope: system-wide description: The thread-times.stp script sets up time-based sampling. Every five seconds it prints out a sorted list with the top twenty processes with samples broken down into percentage total time spent in user-space and kernel-space. test_check: stap -p4 thread-times.stp -test_installcheck: stap thread-times.stp -c "sleep 1" +test_installcheck: stap thread-times.stp -c "sleep 0.2" diff --git a/testsuite/systemtap.examples/profiling/timeout.meta b/testsuite/systemtap.examples/profiling/timeout.meta index aa683c0a..a91ea1ec 100644 --- a/testsuite/systemtap.examples/profiling/timeout.meta +++ b/testsuite/systemtap.examples/profiling/timeout.meta @@ -10,4 +10,4 @@ output: sorted-list scope: system-wide description: The timeout.stp script is based on a blog entry (http://udrepper.livejournal.com/19041.html) mentioning a need for a tool to help developers find applications that are polling. The timeout.stp script monitors systemcall used for polling and records the systemcalls that timed out rather than returned because some action occurred. The script updates the screen once a second with the top twenty processes. test_check: stap -p4 timeout.stp -test_installcheck: stap timeout.stp -c "sleep 1" +test_installcheck: stap timeout.stp -c "sleep 0.2" diff --git a/testsuite/systemtap.examples/profiling/topsys.meta b/testsuite/systemtap.examples/profiling/topsys.meta index 3642713d..f764ee49 100644 --- a/testsuite/systemtap.examples/profiling/topsys.meta +++ b/testsuite/systemtap.examples/profiling/topsys.meta @@ -10,4 +10,4 @@ output: sorted-list scope: system-wide description: The topsys.stp script lists out the top twenty systemcalls for the previous 5 seconds. The output is sorted from most frequent to least frequent. test_check: stap -p4 topsys.stp -test_installcheck: stap topsys.stp -c "sleep 1" +test_installcheck: stap topsys.stp -c "sleep 0.2" -- cgit