summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples
Commit message (Collapse)AuthorAgeFilesLines
* grapher example with backtraces in eventsTim Moore2010-01-061-0/+19
| | | | * testsuite/systemtap.examples/profiling/graphcall.stp : new file
* Regenerate examples index to include new memory/vm.tracepoints.stp.Mark Wielaard2009-12-304-1/+63
|
* don't assume buffer passed to pty_write is null terminatedTim Moore2009-12-231-7/+3
| | | | | * testsuite/systemtap.examples/general/grapher.stp: Use kernel_char instead of kernel_string to dig characters out of buffer.
* Tracepoint based tapset for memory subsystem.Rajasekhar Duddu2009-12-222-0/+31
|
* conditionalize pty_write count variable on kernel versionTim Moore2009-12-211-11/+12
| | | | | * testsuite/systemtap.examples/general/grapher.stp: Conditionalize pty_write count variable on kernel version.
* tweak multiline hover text to have proper interline spacingTim Moore2009-12-041-1/+3
| | | | | | | | * grapher/CairoWidget.cxx (CairoTextBox::draw): Use font information to caculate legible spacing. Also change the font to something more readable. * testsuite/systemtap.examples/general/grapher.stp: Put carriage returns in the right spots.
* support multiline data output from scripts run under the grapherTim Moore2009-12-041-5/+13
| | | | | | | | | | | | | | This is accompanied by support for multiline output in hover text. * grapher/StapParser.cxx (ioCallback): Read data 'til the end of line character, not just '\n'. Be careful to use I/O functions that don't treat '\n' specially. * grapher/StapParser.hxx: ditto * grapher/CairoWidget.cxx (CairoTextBox::draw): Perform line breaks for hover text. * testsuite/systemtap.examples/general/grapher.stp: Do multiline output of keyboard events. Also, fix longstanding breaking in the pty probe.
* 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.
* Check in regenerated systemtap example indexes.Mark Wielaard2009-11-184-121/+126
|
* Clean up examplesWenji Huang2009-11-1824-41/+29
|
* Make interrupts-by-dev.stp executableWenji Huang2009-11-181-0/+0
|
* Regen indexes for interrupts-by-dev exampleJosh Stone2009-11-134-0/+20
|
* Adding a new .meta file to run interrupts-by-dev.stp in testPrerna Saxena2009-11-131-0/+14
|
* 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
|