From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13732 invoked by alias); 23 Dec 2011 08:28:08 -0000 Received: (qmail 13694 invoked by uid 22791); 23 Dec 2011 08:28:04 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Dec 2011 08:27:46 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Re0Th-0003PZ-Lf from Fredrik_Oestman@mentor.com for systemtap@sourceware.org; Fri, 23 Dec 2011 00:27:45 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 23 Dec 2011 00:27:01 -0800 Received: from EU-MBX-04.mgc.mentorg.com ([169.254.4.220]) by SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) with mapi id 14.01.0289.001; Fri, 23 Dec 2011 08:27:44 +0000 From: "Oestman, Fredrik" To: "systemtap@sourceware.org" CC: "Oestman, Fredrik" Subject: [PATCH 04/10] Correct and consistent .meta files for example Date: Fri, 23 Dec 2011 08:28:00 -0000 Message-ID: <524C960C5DFC794E82BE548D825F05CF01D4B2@EU-MBX-04.mgc.mentorg.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2011-q4/txt/msg00411.txt.bz2 Signed-off-by: Fredrik =D6stman --- testsuite/systemtap.examples/locks/bkl.meta | 7 +++++-- testsuite/systemtap.examples/locks/bkl_stats.meta | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/testsuite/systemtap.examples/locks/bkl.meta b/testsuite/system= tap.examples/locks/bkl.meta index dd467fe..48d6cab 100644 --- a/testsuite/systemtap.examples/locks/bkl.meta +++ b/testsuite/systemtap.examples/locks/bkl.meta @@ -1,10 +1,13 @@ -title: Tracing Contention on Big Kernel Lock (BKL) +title: Tracing Contention on Big Kernel Lock name: bkl.stp +version: 1.0 keywords: locking=20 -subsystem: kernel +subsystem: locking author: Flavio Leitner status: production exit: user-controlled +output: trace +scope: system-wide description: The bkl.stp script can help determine whether the Big Kernel = Lock (BKL) is causing serialization on a multiprocessor system due to exces= sive 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 num= ber of processes waiting for the BKL is reached or exceeded, the script wil= l print a time stamp, the number of processes waiting for the BKL, the hold= er 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 diff --git a/testsuite/systemtap.examples/locks/bkl_stats.meta b/testsuite/= systemtap.examples/locks/bkl_stats.meta index e8080bf..8a55bd3 100644 --- a/testsuite/systemtap.examples/locks/bkl_stats.meta +++ b/testsuite/systemtap.examples/locks/bkl_stats.meta @@ -1,9 +1,9 @@ -title: Per Process Statistics on Big Kernel Lock (BKL) Use +title: Per Process Statistics on Big Kernel Lock Use name: bkl_stats.stp version: 1.0 author: William Cohen keywords: locking -subsystem: kernel +subsystem: locking status: production exit: user-controlled output: sorted-list --=20 1.7.6.4