This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH 04/10] Correct and consistent .meta files for example
- From: "Oestman, Fredrik" <Fredrik_Oestman at mentor dot com>
- To: "systemtap at sourceware dot org" <systemtap at sourceware dot org>
- Cc: "Oestman, Fredrik" <Fredrik_Oestman at mentor dot com>
- Date: Fri, 23 Dec 2011 08:27:43 +0000
- Subject: [PATCH 04/10] Correct and consistent .meta files for example
Signed-off-by: Fredrik Östman <fredrik_oestman@mentor.com>
---
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/systemtap.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
-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 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
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
--
1.7.6.4