summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/sleeptime.meta
diff options
context:
space:
mode:
authorJim Keniston <jkenisto@us.ibm.com>2008-05-12 14:09:18 -0700
committerJim Keniston <jkenisto@us.ibm.com>2008-05-12 14:09:18 -0700
commitd1e750063b97a968cb3ae86afaa25646f32b4b71 (patch)
treeb73f9fbaba8048c1d327c5e00fa2df16b44b8ea6 /testsuite/systemtap.examples/sleeptime.meta
parentc7fe0041d2132e801f72e158854d54da50fc651d (diff)
parent77042bd72b98a29a89ccdb32c6eb69b3705664d4 (diff)
downloadsystemtap-steved-d1e750063b97a968cb3ae86afaa25646f32b4b71.tar.gz
systemtap-steved-d1e750063b97a968cb3ae86afaa25646f32b4b71.tar.xz
systemtap-steved-d1e750063b97a968cb3ae86afaa25646f32b4b71.zip
PR 4311 - Function boundary tracing without debuginfo: Phases I and II
Diffstat (limited to 'testsuite/systemtap.examples/sleeptime.meta')
-rw-r--r--testsuite/systemtap.examples/sleeptime.meta13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/sleeptime.meta b/testsuite/systemtap.examples/sleeptime.meta
new file mode 100644
index 00000000..d6c59345
--- /dev/null
+++ b/testsuite/systemtap.examples/sleeptime.meta
@@ -0,0 +1,13 @@
+title: Trace Time Spent in nanosleep Syscalls
+name: sleeptime.stp
+version: 1.0
+author: Daniel Berrange and Will Cohen
+keywords: syscall sleep
+subsystem: syscall
+status: production
+exit: user-controlled
+output: trace
+scope: system-wide
+description: The script watches each nanosleep syscall on the system. At the end of each nanosleep syscall the script prints out a line with a timestamp in microseconds, the pid, the executable name in paretheses, the "nanosleep:" key, and the duration of the sleep in microseconds.
+test_check: stap -p4 sleeptime.stp
+test_installcheck: stap sleeptime.stp -c "sleep 1"