summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/locks/bkl_stats.meta
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-06-23 15:51:48 -0400
committerWilliam Cohen <wcohen@redhat.com>2009-06-23 15:51:48 -0400
commitcf5023fb9a29cd11a4e7bee82055530c11486424 (patch)
tree91516f6c054940b2bccefdf276a2ca83fc39746e /testsuite/systemtap.examples/locks/bkl_stats.meta
parente89118955d1e9f6f442e9c0f2e918ce9bf9a8529 (diff)
downloadsystemtap-steved-cf5023fb9a29cd11a4e7bee82055530c11486424.tar.gz
systemtap-steved-cf5023fb9a29cd11a4e7bee82055530c11486424.tar.xz
systemtap-steved-cf5023fb9a29cd11a4e7bee82055530c11486424.zip
Add the bkl.stp and bkl_stats.stp examples.
Diffstat (limited to 'testsuite/systemtap.examples/locks/bkl_stats.meta')
-rw-r--r--testsuite/systemtap.examples/locks/bkl_stats.meta13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/locks/bkl_stats.meta b/testsuite/systemtap.examples/locks/bkl_stats.meta
new file mode 100644
index 00000000..00d55c68
--- /dev/null
+++ b/testsuite/systemtap.examples/locks/bkl_stats.meta
@@ -0,0 +1,13 @@
+title: Per Process Statistics on Big Kernel Lock (BKL) Use
+name: bkl_stats.stp
+version: 1.0
+author: William Cohen
+keywords: locking
+subsystem: kernel
+status: production
+exit: user-controlled
+output: sorted-list
+scope: system-wide
+description: The bkl_stats.stp script can indicate which processes have excessive waits for the Big Kernel Lock (BKL) and which processes are taking the BKL for long periods of time. The bkl_stats.stp script prints lists of all the processes that require the BKL. Every five seconds two tables are printed out. The first table lists the processes that waited for the BKL followed by the number of times that the process waited, the minimum time of the wait, the average and the maximum time waited. The second table lists has similar information for the time spent holding the lock for each of the processes.
+test_check: stap -p4 bkl_stats.stp
+test_installcheck: stap bkl_stats.stp -c "sleep 1"