This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 06/10] Correct and consistent .meta files for example


Signed-off-by: Fredrik Östman <fredrik_oestman@mentor.com>
---
 testsuite/systemtap.examples/network/autofs4.meta  |    9 +++++++--
 .../systemtap.examples/network/dropwatch.meta      |    4 ++--
 .../systemtap.examples/network/nfsd_unlink.meta    |    5 ++++-
 .../network/sk_stream_wait_memory.meta             |    4 ++--
 .../systemtap.examples/network/socket-trace.meta   |    2 +-
 .../network/tcp_connections.meta                   |    2 +-
 .../systemtap.examples/network/tcp_init_cwnd.meta  |    8 +++++++-
 .../systemtap.examples/network/tcp_trace.meta      |    6 +++---
 .../systemtap.examples/network/tcpipstat.meta      |    6 +++---
 9 files changed, 30 insertions(+), 16 deletions(-)

diff --git a/testsuite/systemtap.examples/network/autofs4.meta b/testsuite/systemtap.examples/network/autofs4.meta
index d30f306..f3cafc2 100644
--- a/testsuite/systemtap.examples/network/autofs4.meta
+++ b/testsuite/systemtap.examples/network/autofs4.meta
@@ -1,9 +1,14 @@
-title: Watch autofs4 operations
-description: Trace key autofs4 operations such as mounting or unmounting remote filesystems.
+title: Watch autofs4 Operations
 name: autofs4.stp
+version: 1.0
 author: Jeff Moyer
 keywords: network autofs nfs
 subsystem: network
+status: proposed
+exit: user-controlled
+output: trace
+scope: system-wide
+description: Trace key autofs4 operations such as mounting or unmounting remote filesystems.
 test_support: stap -l 'module("autofs4").function("autofs4_lookup")' && stap -l 'module("autofs4").function("autofs4_follow_link")' && stap -l 'module("autofs4").function("autofs4_expire_indirect").return' && stap -l 'module("autofs4").function("autofs4_wait").return'
 test_check: stap -p4 autofs4.stp
 test_installcheck: stap autofs4.stp -c "sleep 1"
diff --git a/testsuite/systemtap.examples/network/dropwatch.meta b/testsuite/systemtap.examples/network/dropwatch.meta
index b75e3d3..2ac0065 100644
--- a/testsuite/systemtap.examples/network/dropwatch.meta
+++ b/testsuite/systemtap.examples/network/dropwatch.meta
@@ -1,8 +1,8 @@
-title: Watch Where Socket Buffers are Freed in the Kernel
+title: Watch Where Socket Buffers Are Freed in the Kernel
 name: dropwatch.stp
 version: 1.0
 author: Neil Horman
-keywords: network tracepoint buffer free
+keywords: network tracepoint socket
 subsystem: network
 status: production
 exit: user-controlled
diff --git a/testsuite/systemtap.examples/network/nfsd_unlink.meta b/testsuite/systemtap.examples/network/nfsd_unlink.meta
index 21dc2f4..81fced6 100644
--- a/testsuite/systemtap.examples/network/nfsd_unlink.meta
+++ b/testsuite/systemtap.examples/network/nfsd_unlink.meta
@@ -1,7 +1,10 @@
-title: Find which client is removing nfs files on server
+title: Find Which Client Is Removing NFS Files on Server
 name: nfsd_unlink.stp
+version: 1.0
+author: anonymous
 keywords: nfs disk
 subsystem: network
+status: proposed
 exit: user-controlled
 output: trace
 scope: system-wide
diff --git a/testsuite/systemtap.examples/network/sk_stream_wait_memory.meta b/testsuite/systemtap.examples/network/sk_stream_wait_memory.meta
index 186203a..39cbb7d 100644
--- a/testsuite/systemtap.examples/network/sk_stream_wait_memory.meta
+++ b/testsuite/systemtap.examples/network/sk_stream_wait_memory.meta
@@ -2,8 +2,8 @@ title: Track Start and Stop of Processes Due to Network Buffer Space
 name: sk_stream_wait_memory.stp
 version: 1.0
 author: Fabio Olive Leite at Red Hat
-keywords: network tcp buffer memory
-subsystem: kernel
+keywords: network tcp process
+subsystem: network
 status: production
 exit: user-controlled
 output: trace
diff --git a/testsuite/systemtap.examples/network/socket-trace.meta b/testsuite/systemtap.examples/network/socket-trace.meta
index 83af903..1f39c85 100644
--- a/testsuite/systemtap.examples/network/socket-trace.meta
+++ b/testsuite/systemtap.examples/network/socket-trace.meta
@@ -1,4 +1,4 @@
-title: Trace Functions called in Network Socket Code
+title: Trace Functions Called in Network Socket Code
 name: socket-trace.stp
 version: 1.0
 author: anonymous
diff --git a/testsuite/systemtap.examples/network/tcp_connections.meta b/testsuite/systemtap.examples/network/tcp_connections.meta
index df24850..9c71e93 100644
--- a/testsuite/systemtap.examples/network/tcp_connections.meta
+++ b/testsuite/systemtap.examples/network/tcp_connections.meta
@@ -3,7 +3,7 @@ name: tcp_connections.stp
 version: 1.0
 author: anonymous
 keywords: network tcp socket
-subsystem: kernel
+subsystem: network
 status: production
 exit: user-controlled
 output: trace
diff --git a/testsuite/systemtap.examples/network/tcp_init_cwnd.meta b/testsuite/systemtap.examples/network/tcp_init_cwnd.meta
index 4914a1e..06464fa 100644
--- a/testsuite/systemtap.examples/network/tcp_init_cwnd.meta
+++ b/testsuite/systemtap.examples/network/tcp_init_cwnd.meta
@@ -1,7 +1,13 @@
-title: Increase initial tcp congestion window to 10.
+title: Increase Initial TCP Congestion Window to 10
 name: tcp_init_cwnd.stp
+version: 1.0
+author: anonymous
 keywords: network tcp socket
+subsystem: network
 scope: system-wide
+status: proposed
+exit: user-controlled
+output: trace on-exit
 description: Run the tcp_init_cwnd.stp script in the background to override a kernel's default tcp cwnd value to 10, which has been found to improve latency for web server type workloads.  The script prints a count of cwnd value changes when it is stopped.
 test_check: stap -g -p4 tcp_init_cwnd.stp
 test_installcheck: stap -g tcp_init_cwnd.stp -c "sleep 0.2"
diff --git a/testsuite/systemtap.examples/network/tcp_trace.meta b/testsuite/systemtap.examples/network/tcp_trace.meta
index 2783c89..2a55375 100644
--- a/testsuite/systemtap.examples/network/tcp_trace.meta
+++ b/testsuite/systemtap.examples/network/tcp_trace.meta
@@ -1,4 +1,4 @@
-title: Tcp connection tracing utility.
+title: TCP Connection Tracing Utility
 name: tcp_trace.stp
 version: 1.0
 author: varuncha@in.ibm.com wilder@us.ibm.com
@@ -7,8 +7,8 @@ subsystem: network
 status: production
 exit: user-controlled
 output: timed
-scope: per-socket
+scope: socket
 arg_[0-9]+: tcp_trace.stp  filter=all|state|txq|rxq|srtt|snd_cwnd|snd_wnd|rexmit|pmtu|ssthresh|timer|rcvwnd [timeout=<sec>] [update=change|all] Rule
-description: This scripts traces a given tcp connection based on the filter parameters given by the user. The indexing is done by the 4 tuples local address, remote address, local port, remote port.
+description: This scripts traces a given TCP connection based on the filter parameters given by the user. The indexing is done by the 4 tuples local address, remote address, local port, remote port.
 test_check: stap -p4 tcp_trace.stp
 test_installcheck: stap tcp_trace.stp 127.0.0.1:*-127.0.0.1:* timeout=1
diff --git a/testsuite/systemtap.examples/network/tcpipstat.meta b/testsuite/systemtap.examples/network/tcpipstat.meta
index 59cddaa..9919acd 100644
--- a/testsuite/systemtap.examples/network/tcpipstat.meta
+++ b/testsuite/systemtap.examples/network/tcpipstat.meta
@@ -1,4 +1,4 @@
-title: Display network statistics for individual TCP sockets.
+title: Display Network Statistics for Individual TCP Sockets
 name: tcpipstat.stp
 version: 1.0
 author: wilder@us.ibm.com
@@ -7,9 +7,9 @@ subsystem: network
 status: production
 exit: user-controlled
 output: timed
-scope: per-socket
+scope: socket
 arg_[0-9]+: tcpstat.stp [index=laddr|raddr|lport|rport|tuple] [timeout=<N sec>] [nozeros=1|0] [filters...]
-description: tcpipstat collects and displays network statistics related to individual TCP sockets or groups of sockets.  The statistics that are collected are simular to that of the command netstat -s, only sorted and grouped by individual sockets.
+description: The tcpipstat script collects and displays network statistics related to individual TCP sockets or groups of sockets.  The statistics that are collected are simular to that of the command netstat -s, only sorted and grouped by individual sockets.
 test_support: stap -l 'tcpmib.InSegs'
 test_check: stap -p4 tcpipstat.stp
 test_installcheck: stap tcpipstat.stp timeout=1
-- 
1.7.6.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]