summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples
Commit message (Collapse)AuthorAgeFilesLines
* IRQ tapset, sample script, testsuite, man page updates, etcPrerna Saxena2009-11-091-0/+31
|
* regen sample indexes with plimit.stpFrank Ch. Eigler2009-10-304-0/+20
|
* plimit: Add plimit.stp sample scriptEugene Teo2009-10-302-0/+85
|
* PR10799: warn on possibly uintended local-vs-global namespace collisionFrank Ch. Eigler2009-10-191-1/+1
| | | | | | | | | * elaborate.cxx (find_var): Take extra token parameter. Look for cross-file global variable resolution, signal a warning. * testsuite/systemtap.examples/io/traceio2.stp: Fix it. * testsuite/systemtap.syscall/sys.stp: Fix it. * NEWS: Document it.
* examples: regen indexesFrank Ch. Eigler2009-10-085-2/+37
|
* examples: add mbrwatch sampleFrank Ch. Eigler2009-10-082-0/+15
|
* testsuite: robustify check_* invocation of examples metaFrank Ch. Eigler2009-10-0815-18/+22
| | | | | | | | | 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-087-0/+817
| | | | 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.
* Updates samples index for sched_switchJosh Stone2009-10-026-3/+49
|
* Scheduler Tapset based on kernel tracepointsKiran Prakesh2009-10-022-0/+76
| | | | | | | | | This patch adds kernel tracepoints based probes to the scheduler tapset along with the testcase, scheduler-test-tracepoints.stp and an example script, sched_switch.stp. Signed-off-by: Kiran Prakash <kiran@linux.vnet.ibm.com> Signed-off-by: Josh Stone <jistone@redhat.com>
* Regenerate examples index.Mark Wielaard2009-09-174-6/+6
|
* Mark badname example as needing guru mode in meta file so it doesn't FAIL.Mark Wielaard2009-09-171-3/+3
|
* Add the badname.stp exampleJosh Stone2009-09-166-1/+82
| | | | | This is a toy script I wrote a while back to demonstrate how SystemTap could be used to enforce filesystem naming rules.
* Spelling fixes in the meta of many examplesJosh Stone2009-09-1616-80/+80
|
* Add meta for the netdev example & regenerate indexesJosh Stone2009-09-165-1/+59
|
* 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-1348-48/+48
| | | | | | | 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.
* PR10618: update iostat-scsi.stp for 2.6.31Wenji Huang2009-09-112-3/+17
| | | | | * testsuite/systemtap.examples/io/iostat-scsi.stp: Add pure function. * testsuite/systemtap.examples/io/iostat-scsi.meta: Add -g option.
* examples: regenerate index filesFrank Ch. Eigler2009-09-094-1/+50
|
* PR10604: check availability for example test casesWenji Huang2009-09-089-10/+38
| | | | | | | | | | | | * 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.
* Clean up iostat-scsi.stp and add to the regular testing.William Cohen2009-09-082-8/+16
|
* Get tcpdumplike.stp tested on "make check"William Cohen2009-09-041-0/+1
|
* Add virtual memory subsystem tracepoint examples.William Cohen2009-08-3112-0/+437
|
* Make files executableEugeniy Meshcheryakov2009-08-073-0/+0
|
* Support for presenting multiple graphsTim Moore2009-07-281-3/+13
| | | | | | | | | | | | | | | | | | | | * grapher/Graph.hxx: New file; class for single graph display. * grapher/Graph.cxx: New file. * grapher/GraphData.hxx: Associate title and axis labels with graph data and not a graph display. * grapher/GraphWidget.hxx: Move graph-related members to Graph class. * grapher/GraphWidget.cxx (getExtents, setExtents): Move to Graph class (on_expose_event): Move graph rendering to Graph. (on_button_press_event): Delegate to Graph. (on_motion_notify_event, on_scroll_event): Modify "active" graph. * grapher/StapParser.cxx (findTaggedValue): New parsing helper function. (io_callback): Support new syntax where properties are attached to graph data and not the entire graph. * grapher/grapher.cxx (GrapherWindow): Don't set graph values. * grapher/Makefile.am: Add Graph.cxx. * testsuite/systemtap.examples/general/grapher.stp: New property syntax.
* Templatize GraphDataTim Moore2009-07-281-2/+3
| | | | | | | | | | | | | | | | * grapher/GraphData.hxx (GraphDataBase): new superclass for GraphData. Split time data out as a separate vector. (GraphData): Rewrite as template. * grapher/GraphWidget.cxx (on_expose_event): Reflect GraphData templatization. Handle events with string values. * grapher/GraphWidget.hxx (GraphWidget): Keep pointers to GraphDataBase objects instead of GraphData. * grapher/StapParser.cxx (parseData): new member function (ioCallback): Handle new discreet event * grapher/StapParser.hxx (StapParser): keep pointers to GraphDataBase objects instead of GraphData * testsuite/systemtap.examples/general/grapher.stp: Display actual key pressed for keyboard event
* restore newlines to grapher script headerTim Moore2009-07-281-4/+4
| | | | * testsuite/systemtap.examples/general/grapher.stp: Restore newlines.
* regenerate example indexesFrank Ch. Eigler2009-07-174-1/+51
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2009-07-178-1/+186
|\ | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: Add chng_cpu.stp and migrate.stp examples. Add network/tcpipstat.stp descriptions.
| * Add chng_cpu.stp and migrate.stp examples.William Cohen2009-07-178-0/+144
| |
| * Add network/tcpipstat.stp descriptions.William Cohen2009-07-174-1/+42
| |
* | 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 numa_faults.stp example.William Cohen2009-07-106-1/+99
|
* Add shebangEugeniy Meshcheryakov2009-06-301-0/+1
|
* Make the file executableEugeniy Meshcheryakov2009-06-301-0/+0
|
* Have appropriate argument for bkl.stp built and run tests.William Cohen2009-06-241-2/+2
|
* Make blk.stp and blk_stats.stp executable.William Cohen2009-06-232-0/+0
|
* Add the bkl.stp and bkl_stats.stp examples.William Cohen2009-06-238-0/+228
|
* Correct typo in forktracker.meta.William Cohen2009-06-221-1/+1
|
* Revert "Make examples-index-gen.pl executable."William Cohen2009-06-191-0/+0
| | | | This reverts commit 0c98234c86877cfea3df762dc8627b3f05c38e75.
* Make forktracker.stp example executable.William Cohen2009-06-191-0/+0
|
* Make examples-index-gen.pl executable.William Cohen2009-06-191-0/+0
|
* Add froktracker.stp example.William Cohen2009-06-196-0/+69
|
* Check in sk_stream_wait_memory.stp example.William Cohen2009-06-186-0/+98
|
* ttyspy: struct pid->number[0]->nr arrived with 2.6.24 not laterFrank Ch. Eigler2009-06-061-1/+1
|
* ttyspy.stp: new sample scriptFrank Ch. Eigler2009-06-066-1/+118
|
* Add the schedtimes.stp and associated schedtimes.meta files to the examples.William Cohen2009-05-206-0/+232
|
* Provide more details in testsuite.examples/README on how to submit examples.William Cohen2009-05-111-49/+97
|
* PR10007: Avoid probing syscall entry points in the testsuite.Ananth N Mavinakayanahalli2009-04-301-2/+2
| | | | While there, fix minor issues with the s390x syscall tapset.