From 100ae9d775be39068b7918f7d8c1079d254494eb Mon Sep 17 00:00:00 2001 From: William Cohen Date: Wed, 7 May 2008 17:00:57 -0400 Subject: futexes.meta, nettop.meta, pf2.meta: New. --- testsuite/systemtap.examples/ChangeLog | 4 ++++ testsuite/systemtap.examples/futexes.meta | 13 +++++++++++++ testsuite/systemtap.examples/nettop.meta | 13 +++++++++++++ testsuite/systemtap.examples/pf2.meta | 13 +++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 testsuite/systemtap.examples/futexes.meta create mode 100644 testsuite/systemtap.examples/nettop.meta create mode 100644 testsuite/systemtap.examples/pf2.meta (limited to 'testsuite/systemtap.examples') diff --git a/testsuite/systemtap.examples/ChangeLog b/testsuite/systemtap.examples/ChangeLog index 46146889..00206e70 100644 --- a/testsuite/systemtap.examples/ChangeLog +++ b/testsuite/systemtap.examples/ChangeLog @@ -1,3 +1,7 @@ +2008-05-07 William Cohen + + * futexes.meta, nettop.meta, pf2.meta: New. + 2008-05-07 William Cohen * pf2.stp: Clean up output. diff --git a/testsuite/systemtap.examples/futexes.meta b/testsuite/systemtap.examples/futexes.meta new file mode 100644 index 00000000..908e2f43 --- /dev/null +++ b/testsuite/systemtap.examples/futexes.meta @@ -0,0 +1,13 @@ +title: System-Wide Futex Contention +name: futex.stp +version: 1.0 +author: anonymous +keywords: syscall locking futex +subsystem: locking +status: production +exit: user-controlled +output: sorted-list on-exit +scope: system-wide +description: The script watches the futex syscall on the system. On exit the futexes address, the number of contentions, and the average time for each contention on the futex are printed from lowest pid number to highest. +test_check: stap -p4 futex.stp +test_installcheck: stap futex.stp -c "sleep 1" diff --git a/testsuite/systemtap.examples/nettop.meta b/testsuite/systemtap.examples/nettop.meta new file mode 100644 index 00000000..61d1c153 --- /dev/null +++ b/testsuite/systemtap.examples/nettop.meta @@ -0,0 +1,13 @@ +title: Periodic Listing of Processes Using Network Interfaces +name: nettop.stp +version: 1.0 +author: anonymous +keywords: network traffic per-process +subsystem: network +status: production +exit: user-controlled +output: timed +scope: system-wide +description: Every five seconds the nettop.stp script prints out a list of processed (PID and command) with the number of packets sent/received and the amount of data sent/received by the process during that interval. +test_check: stap -p4 nettop.stp +test_installcheck: stap nettop.stp -c "sleep 1" diff --git a/testsuite/systemtap.examples/pf2.meta b/testsuite/systemtap.examples/pf2.meta new file mode 100644 index 00000000..d0a534bd --- /dev/null +++ b/testsuite/systemtap.examples/pf2.meta @@ -0,0 +1,13 @@ +title: Profile kernel functions +name: pf2.stp +version: 1.0 +author: anonymous +keywords: profiling +subsystem: kernel +status: production +exit: user-controlled +output: sorted-list +scope: system-wide +description: The pf2.stp script sets up time-based sampling. Every five seconds it prints out a sorted list with the top ten kernel functions with samples. +test_check: stap -p4 pf2.stp +test_installcheck: stap pf2.stp -c "sleep 1" -- cgit