summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/index.html
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/index.html
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/index.html')
-rw-r--r--testsuite/systemtap.examples/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/index.html b/testsuite/systemtap.examples/index.html
index c485713c..5435829f 100644
--- a/testsuite/systemtap.examples/index.html
+++ b/testsuite/systemtap.examples/index.html
@@ -85,6 +85,12 @@ keywords: <a href="keyword-index.html#IO">IO</a> <br>
<li><a href="io/ttyspy.stp">io/ttyspy.stp</a> - Monitor tty typing.<br>
keywords: <a href="keyword-index.html#IO">IO</a> <a href="keyword-index.html#TTY">TTY</a> <a href="keyword-index.html#PER-PROCESS">PER-PROCESS</a> <a href="keyword-index.html#MONITOR">MONITOR</a> <br>
<p>The ttyspy.stp script uses tty_audit hooks to monitor recent typing activity on the system, printing a scrolling record of recent keystrokes, on a per-tty basis.</p></li>
+<li><a href="locks/bkl.stp">locks/bkl.stp</a> - Tracing Contention on Big Kernel Lock (BKL)<br>
+keywords: <a href="keyword-index.html#LOCKING">LOCKING</a> <br>
+<p>The bkl.stp script can help determine whether the Big Kernel Lock (BKL) is causing serialization on a multiprocessor system due to excessive contention of the BKL. The bkl.stp script takes one argument which is the number of processes waiting for the Big Kernel Lock (BKL). When the number of processes waiting for the BKL is reached or exceeded, the script will print a time stamp, the number of processes waiting for the BKL, the holder of the BKL, and the amount of time the BKL was held.</p></li>
+<li><a href="locks/bkl_stats.stp">locks/bkl_stats.stp</a> - Per Process Statistics on Big Kernel Lock (BKL) Use<br>
+keywords: <a href="keyword-index.html#LOCKING">LOCKING</a> <br>
+<p>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.</p></li>
<li><a href="memory/kmalloc-top">memory/kmalloc-top</a> - Show Paths to Kernel Malloc (kmalloc) Invocations<br>
keywords: <a href="keyword-index.html#MEMORY">MEMORY</a> <br>
<p>The kmalloc-top perl program runs a small systemtap script to collect stack traces for each call to the kmalloc function and counts the time that each stack trace is observed. When kmalloc-top exits it prints out sorted list. The output can be be filtered to print only only the first stack traces (-t) stack traces with more a minimum counts (-m), or exclude certain stack traces (-e).</p></li>