From cf5023fb9a29cd11a4e7bee82055530c11486424 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Tue, 23 Jun 2009 15:51:48 -0400 Subject: Add the bkl.stp and bkl_stats.stp examples. --- testsuite/systemtap.examples/locks/bkl.meta | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 testsuite/systemtap.examples/locks/bkl.meta (limited to 'testsuite/systemtap.examples/locks/bkl.meta') diff --git a/testsuite/systemtap.examples/locks/bkl.meta b/testsuite/systemtap.examples/locks/bkl.meta new file mode 100644 index 00000000..ff232ec7 --- /dev/null +++ b/testsuite/systemtap.examples/locks/bkl.meta @@ -0,0 +1,10 @@ +title: Tracing Contention on Big Kernel Lock (BKL) +name: bkl.stp +keywords: locking +subsystem: kernel +author: Flavio Leitner +status: production +exit: user-controlled +description: 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. +test_check: stap -p4 bkl.stp +test_installcheck: stap bkl.stp -c "sleep 1" -- cgit From 174eae80fcdcdc6bfd002e82d919259fe46b1149 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Wed, 24 Jun 2009 09:33:57 -0400 Subject: Have appropriate argument for bkl.stp built and run tests. --- testsuite/systemtap.examples/locks/bkl.meta | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.examples/locks/bkl.meta') diff --git a/testsuite/systemtap.examples/locks/bkl.meta b/testsuite/systemtap.examples/locks/bkl.meta index ff232ec7..e4afabde 100644 --- a/testsuite/systemtap.examples/locks/bkl.meta +++ b/testsuite/systemtap.examples/locks/bkl.meta @@ -6,5 +6,5 @@ author: Flavio Leitner status: production exit: user-controlled description: 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. -test_check: stap -p4 bkl.stp -test_installcheck: stap bkl.stp -c "sleep 1" +test_check: stap -p4 bkl.stp 1 +test_installcheck: stap bkl.stp -c "sleep 1" 1 -- cgit