diff options
author | William Cohen <wcohen@redhat.com> | 2008-06-12 17:53:05 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2008-06-12 17:53:05 -0400 |
commit | 7b7fb26004f91f06cdbcb872d18e9e87e8708ad0 (patch) | |
tree | b1278acde69691d829b80d2975514cf4c869d47a /testsuite/systemtap.examples/thread-times.meta | |
parent | 53c08c2f0a7a03f755d04f0fec7749a0e83d8b45 (diff) | |
download | systemtap-steved-7b7fb26004f91f06cdbcb872d18e9e87e8708ad0.tar.gz systemtap-steved-7b7fb26004f91f06cdbcb872d18e9e87e8708ad0.tar.xz systemtap-steved-7b7fb26004f91f06cdbcb872d18e9e87e8708ad0.zip |
Add thread-times.meta and thread-times.stp.
Diffstat (limited to 'testsuite/systemtap.examples/thread-times.meta')
-rw-r--r-- | testsuite/systemtap.examples/thread-times.meta | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/thread-times.meta b/testsuite/systemtap.examples/thread-times.meta new file mode 100644 index 00000000..fcbf062e --- /dev/null +++ b/testsuite/systemtap.examples/thread-times.meta @@ -0,0 +1,13 @@ +title: Profile kernel functions +name: thread-times.stp +version: 1.0 +author: anonymous +keywords: profiling +subsystem: kernel +status: production +exit: user-controlled +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" |