summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples
Commit message (Collapse)AuthorAgeFilesLines
* Use a different PATH approach for pfilesJosh Stone2010-03-311-5/+2
| | | | | | | //bin/true && exec stap -g $0 ${1+"$@"} This keeps it as an entirely valid stap script, so manual stap invocation still works (as in pfiles.meta).
* testsuite: convert pfiles.stp to $PATH-based stap invocation formFrank Ch. Eigler2010-03-301-1/+7
|
* testsuite: use #! /usr/bin/env stap instead of /usr/bin/stapFrank Ch. Eigler2010-03-302-2/+2
|
* Bump the sample indexesJosh Stone2010-03-194-10/+10
|
* PR909: add a baby test caseFrank Ch. Eigler2010-03-192-20/+15
| | | | | | * testsuite/systemtap.examples/profiling/thread-times.stp: Prefer perf.sw.cpu_clock to timer.profile. Prettify output by including comm string.
* new sample: varwatchFrank Ch. Eigler2010-03-077-48/+77
|
* Update example indices.William Cohen2010-03-054-0/+24
|
* 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>
* pfiles.stp sample: begin tcp option dumpingFrank Ch. Eigler2010-02-051-15/+18
|
* new sample: pfilesEugene Teo2010-02-046-25/+651
|
* Add nfs_func_log example.William Cohen2010-02-024-0/+24
|
* Add nfs_func_users example.William Cohen2010-02-026-0/+70
|
* Add iodevstats.stp exampleWilliam Cohen2010-02-026-0/+97
|
* regen sample indexesFrank Ch. Eigler2010-02-014-0/+24
|
* new sample for sandeen@redhat.com: fntimes.stpFrank Ch. Eigler2010-02-012-0/+36
|
* Add shebangsEugeniy Meshcheryakov2010-01-212-0/+4
|
* new sample script: overcommit failure monitorFrank Ch. Eigler2010-01-126-0/+45
|
* 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.