From 6987cb4306107994d06b0e653b9eac97388056bc Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 8 Oct 2009 17:18:51 -0400 Subject: testsuite: robustify check_* invocation of examples meta testsuite/systemtap.examples/ * check.exp (extract_tag): Log extracted tags. Tolerate embedded '$'. (run_command): Pass through commands to sh -c without eval quoting. * README: Document "sh -c"-ness of check_* tags. * *.meta: Fix quoting, add a few check_support predicates. --- testsuite/systemtap.examples/locks/bkl.meta | 1 + 1 file changed, 1 insertion(+) (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 61bd4eb7..dd467fe7 100644 --- a/testsuite/systemtap.examples/locks/bkl.meta +++ b/testsuite/systemtap.examples/locks/bkl.meta @@ -6,5 +6,6 @@ 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_support: stap -l 'kernel.function("lock_kernel").return' test_check: stap -p4 bkl.stp 1 test_installcheck: stap bkl.stp -c "sleep 0.2" 1 -- cgit