From 7fe8474a7a266329b32e4f64af7f642a591799d7 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Fri, 20 Jun 2008 15:06:42 -0400 Subject: Add test for dev.stp tapset functions. --- testsuite/systemtap.examples/traceio2.meta | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testsuite/systemtap.examples/traceio2.meta (limited to 'testsuite/systemtap.examples/traceio2.meta') diff --git a/testsuite/systemtap.examples/traceio2.meta b/testsuite/systemtap.examples/traceio2.meta new file mode 100644 index 00000000..89561e71 --- /dev/null +++ b/testsuite/systemtap.examples/traceio2.meta @@ -0,0 +1,13 @@ +title: Watch I/O Activity on a Particular Device +name: traceio2.stp +version: 1.0 +author: Red Hat +keywords: io +subsystem: io +status: production +exit: user-controlled +output: trace +scope: system-wide +description: Print out the executable name and process number as reads and writes to the specified device occur. +test_check: stap -p4 traceio2.stp `stat -c "0x%D" /` +test_installcheck: stap traceio2.stp `stat -c "0x%D" /` -c "sleep 1" -- cgit