summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/profiling/timeout.meta
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-01-28 17:32:26 -0500
committerDave Brolley <brolley@redhat.com>2009-01-28 17:32:26 -0500
commit83e08fc5458e8196d5f0ed5790f9f7de77a80bb6 (patch)
tree15618178034c68be6af0c84800935d9f542de151 /testsuite/systemtap.examples/profiling/timeout.meta
parentcbac7162a67d401506a35757b057aae43bf79e73 (diff)
parent852b1d5c70186dbadd55d081d8547c76bcdf1d29 (diff)
downloadsystemtap-steved-83e08fc5458e8196d5f0ed5790f9f7de77a80bb6.tar.gz
systemtap-steved-83e08fc5458e8196d5f0ed5790f9f7de77a80bb6.tar.xz
systemtap-steved-83e08fc5458e8196d5f0ed5790f9f7de77a80bb6.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.examples/profiling/timeout.meta')
-rw-r--r--testsuite/systemtap.examples/profiling/timeout.meta13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/profiling/timeout.meta b/testsuite/systemtap.examples/profiling/timeout.meta
new file mode 100644
index 00000000..aa683c0a
--- /dev/null
+++ b/testsuite/systemtap.examples/profiling/timeout.meta
@@ -0,0 +1,13 @@
+title: Show Processes Doing Polling Operations
+name: timeout.stp
+version: 1.0
+author: Uli Drepper and William Cohen
+keywords: profiling
+subsystem: kernel
+status: production
+exit: user-controlled
+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"