summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/network
Commit message (Collapse)AuthorAgeFilesLines
* Added backports required for 2.6.18 kernel for RHEL 5.David J. Wilder2010-02-052-4/+37
| | | | | | | Files changed: tapset/ipmib.stp, tapset.tcpmib.stp, testsuite/systemtap.examples/network/tcpipstat.stp, testsuite/systemtap.examples/network/tcp_trace.stp Signed-of-by: David Wilder <dwilder@us.ibm.com>
* Make tapset and tests compatible with old kernelWenji Huang2009-12-021-2/+2
| | | | | | | | | | | | | * tapset/ioscheduler.stp : Make probe optional. * tapset/irq.stp : Ditto. * tapset/scheduler.stp : Ditto. * tapset/tcpmib.stp : Ditto. * tapset/linuxmib.stp : Switch variable by version. * tapset/tty.stp : Ditto. * testsuite/buildok/irq.stp : Make probe test optional. * testsuite/buildok/tty.stp : Ditto. * testsuite/systemtap.examples/network/netdev.stp : Ditto. * testsuite/buildok/tcpmib-all-probes.stp : Add embedded functions.
* Clean up examplesWenji Huang2009-11-182-2/+2
|
* testsuite: robustify check_* invocation of examples metaFrank Ch. Eigler2009-10-083-2/+3
| | | | | | | | | testsuite/systemtap.examples/ * check.exp (extract_tag): Log extracted tags. Tolerate embedded '$'. (run_command): Pass through commands to sh -c without eval quoting. * README: Document "sh -c"-ness of check_* tags. * *.meta: Fix quoting, add a few check_support predicates.
* This script (tcp_trace) can be used to trace tcp connection parameters and ↵David J. Wilder2009-10-083-0/+784
| | | | state changes. This work was original inspired by Stephen Hemminger's TCP cwnd snooper (net/ipv4/tcp_probe.c). Tcp_trace is a helpful tool for troubleshooting connection performance issues.
* Spelling fixes in the meta of many examplesJosh Stone2009-09-161-3/+3
|
* Add meta for the netdev example & regenerate indexesJosh Stone2009-09-161-0/+13
|
* A network device exampleBreno Leitao2009-09-161-0/+58
| | | | | | | | Add a example that cover the network device tapset. This example just add simple probes and display what is going one with all the network devices. Signed-off-by: Josh Stone <jistone@redhat.com>
* Make check.exp not sleep so much in test_installcheck.Mark Wielaard2009-09-137-7/+7
| | | | | | | A lot of time during the installcheck was spend just sleeping. Reduce the sleep time by at least one fifth. * testsuite/systemtap.examples/*/*meta: Reduct -c "sleep" time.
* PR10604: check availability for example test casesWenji Huang2009-09-082-0/+2
| | | | | | | | | | | | * testsuite/systemtap.examples/check.exp: Handle with test_support. * testsuite/systemtap.examples/io/iostat-scsi.meta: Add meta-tag test_support. * testsuite/systemtap.examples/memory/mmanonpage.meta: Ditto. * testsuite/systemtap.examples/memory/mmfilepage.meta: Ditto. * testsuite/systemtap.examples/memory/mmreclaim.meta: Ditto. * testsuite/systemtap.examples/memory/mmwriteback.meta: Ditto. * testsuite/systemtap.examples/network/autofs4.meta: Ditto. * testsuite/systemtap.examples/network/dropwatch.meta: Ditto. * testsuite/systemtap.examples/process/schedtimes.meta: Ditto.
* Get tcpdumplike.stp tested on "make check"William Cohen2009-09-041-0/+1
|
* Make files executableEugeniy Meshcheryakov2009-08-072-0/+0
|
* PR10410: dentry tapset, autofs4 sampleJeff Moyer2009-07-172-0/+102
| | | | | | | * tapset/dentry.stp: New d_path, d_name, reverse_path_walk. * .../examples/.../autofs4.*: New autofs demo. Signed-off-by: Frank Ch. Eigler <fche@elastic.org>
* This SNMP group of tapsets provides probes used to count SNMP managementDavid J. Wilder2009-07-163-0/+659
| | | | | | | | | | | | | | | | | | | events. The probes mirror many of the SNMP statistics defined in /usr/include/linux/snmp.h. Each probe represents a single SNMP statistic or MIB. Each of the probe's handler is called when system performs an operation that would alter the associated statistic. Along with each probe is defined an indexed set of counters used to record probe hits. The probe handlers call a user supplied callback functions to determine which counter to alter. The user's callback should returns a key value that will be used to index the counter. For example a callback could return a unique value for each socket. This would results in a separate counter being used for each socket. tcpipstat.stp shows how snmp tapsets could be used. Tcpipstat collects and displays network statistics related to individual TCP sockets or groups of sockets. The statistics that are collected are simmer to that of the command netstat -s, only sorted and grouped by individual sockets. Signed-off-by: David Wilder <dwilder@us.ibm.com>
* Add shebangEugeniy Meshcheryakov2009-06-301-0/+1
|
* Check in sk_stream_wait_memory.stp example.William Cohen2009-06-182-0/+38
|
* Make dropwatch.stp executable and have correct interpreter.William Cohen2009-04-171-1/+1
|
* Add dropwatch.stp example.William Cohen2009-04-172-0/+43
|
* Minor formatting to avoid line wrap, added tcpdumplike.meta file,William Cohen2009-04-142-5/+17
| | | | and regenerated index files.
* Make tcpdumplike.stp executableJosh Stone2009-04-141-0/+2
|
* Add new TCP and IP functionsAndre Detsch2009-04-141-0/+12
| | | | | | | | | | | | | | | | | | | This patch adds some basic functions to the IP and TCP tapsets. Mainly, it's possible to get the iphdr and tcphdr from a sk_buff structure. As a consequence, a TCP probe called tcp.receive() was created and is probed every time a TCP packet is received, and a lot of useful fields is available, as the TCP flags. Also a small example that works like tcpdump for received TCP packets was created. This patch was tested on x86 and ppc machines, on 2.6.18 kernel and also on mainline one. Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com> Signed-off-by: Andre Detsch <adetsch@br.ibm.com> Signed-off-by: Josh Stone <jistone@redhat.com>
* tweak nettop.stp demo to sort by accumulated counts despite mergingFrank Ch. Eigler2009-04-081-4/+4
|
* Fix stats for processes that only transmitted data without receivingEugeniy Meshcheryakov2009-04-081-0/+8
|
* Make examples executableEugeniy Meshcheryakov2009-04-041-0/+0
|
* Add headerEugeniy Meshcheryakov2009-03-281-0/+2
|
* Added functions to grab IP source and destination from a socket, andBreno Leitao2009-03-201-0/+11
| | | | | | | functions to grab TCP source and destination port from a socket. Also, used this function inside some TCP probe functions, as recvmsg, to provide a richer set of fields.
* make all examples executableEugeniy Meshcheryakov2009-02-211-0/+0
|
* Revise tcp_connections.stp example and place in sysemtap.examples directory.William Cohen2009-02-022-0/+27
|
* Tweak formatting, indent two space.William Cohen2008-12-091-23/+21
|
* samples: separate into subdirectories by subsystemFrank Ch. Eigler2008-08-077-0/+480