summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples
Commit message (Collapse)AuthorAgeFilesLines
* Remove uninteresting examples, args.stp, primes.stp, and testlog.stp.William Cohen2009-01-295-141/+0
|
* PR2895. Add proper #! /usr/bin/env stap line. Make example scripts executable.Mark Wielaard2008-08-113-2/+3
|
* Revert "testsuite: use catch{close}catch{wait} to ensure child process ↵Frank Ch. Eigler2008-05-2813-17/+19
| | | | | | pipe/zombie cleanup" This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2.
* normalize test case PASS messageFrank Ch. Eigler2008-05-271-1/+1
|
* testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie ↵Frank Ch. Eigler2008-05-2713-19/+17
| | | | cleanup
* PR6538: more testsuite tweaks for read-only warningsFrank Ch. Eigler2008-05-212-2/+2
|
* Change staprun to exec stapio. Add "-d" option to staprun.Martin Hunt2008-04-211-2/+2
|
* 2008-03-05 David Smith <dsmith@redhat.com>dsmith2008-03-051-2/+2
| | | | | PR5422 * systemtap.samples/examples.exp: Updated.
* 2008-02-23 Frank Ch. Eigler <fche@elastic.org>fche2008-02-231-6/+6
| | | | | * systemtap.samples/args.exp: Remove installation-specific paths from pass/fail judgements.
* PR5770: false systemtap/eof/timeout messages in testsuite.logfche2008-02-231-1/+1
| | | | | | | 2008-02-23 Frank Ch. Eigler <fche@elastic.org> * */*.exp: Change all "send \003" to "exec kill -INT -<pgrp>" in order to more reliably kill an inferior stap/stapio/staprun process group.
* staplog crash(8) module testsfche2008-01-253-0/+59
| | | | | | | | | | | | | | | | 2008-01-24 Frank Ch. Eigler <fche@elastic.org> * Makefile.am: Make another $(MKDIR) call visible. * Makefile.in: Regenerated. 2008-01-24 Frank Ch. Eigler <fche@elastic.org> crash(8) tests, based on Masami Hiramatsu <mhiramat@redhat.com>: * Makefile.am (CRASH_LIBDIR): Pass in $(RUNTEST). * lib/systemtap.exp (as_root): Trace command string, output, and result. * sysetmtap.samples/crash.*, testlog.stp: New test case. * Makefile.in: Regenerated.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-127-23/+22
| | | | | | | | * systemtap.base/*.stp: Replace log() calls with println() (or printf() if formatting would help.) * systemtap.maps/*.stp: Ditto. * systemtap.samples/*.stp: Ditto. * systemtap.stress/*.stp: Ditto.
* 2007-10-16 Martin Hunt <hunt@redhat.com>hunt2007-10-172-2/+2
| | | | | | | | | | | | | | | | | | PR 5000 * systemtap.printf/bin3.stp. Removed. * systemtap.printf/bin3a.stp. Renamed bin3.stp. * systemtap.printf/bin4.stp. Removed. * systemtap.printf/bin4a.stp. Renamed bin4.stp. * systemtap.printf/bin5.stp. Removed. * systemtap.printf/bin5a.stp. Renamed bin5.stp. * systemtap.printf/bin3.exp: Don't run bin3a.stp. * systemtap.printf/bin4.exp: Don't run bin4a.stp. * systemtap.printf/bin5.exp: Don't run bin5a.stp. Increase reliability under loads. * systemtap.samples/pfaults.exp: Increase MAXACTION. * systemtap.context/backtrace.tcl: Handle just a single userspace address.
* 2007-09-27 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-09-274-0/+78
| | | | | PR3916 * systemtap.sample/gtod.*: New test for gettimeofday accuracy.
* replace examples buildok testingfche2007-09-241-0/+12
| | | | | * systemtap.samples/examples.exp: New file, replacing * buildok/examples.stp: Removed.
* 2007-09-17 Martin Hunt <hunt@redhat.com>hunt2007-09-171-2/+6
| | | | | * systemtap.samples/system_func.stp: PR4466 Add some additional checks to eliminates any races in output.
* Removing LKET files.srikar2007-08-272-52/+0
|
* 2007-08-14 David Smith <dsmith@redhat.com>dsmith2007-08-141-2/+2
| | | | | | | | | | | | | | | | | Merge from setuid-branch. * configure.ac: Version increase to 0.6. * configure: Regenerated. * parseko/cmdline09.stp: Added new test for staprun command line options. * parseko/cmdline10.stp: Ditto. * parseko/cmdline11.stp: Ditto. * parseko/cmdline12.stp: Ditto. * parseko/cmdline13.stp: Ditto. * parseko/cmdline14.stp: Ditto. * systemtap.samples/args.exp: No longer necessary to use "sudo" to run staprun.
* Changed limit check in foreach loop.mmason2007-08-021-3/+1
|
* Changed pid to tid throughout. Changed delete method in decumulate().mmason2007-08-011-14/+13
|
* 2007-07-26 David Smith <dsmith@redhat.com>dsmith2007-07-261-1/+11
| | | | | | | PR 4295 * systemtap.samples/args.exp: Tests to make sure the '-m' option leaves a module in the current directory. * systemtap.base/cache.exp (stap_compile): Added cleanup.
* Another fix for PR4836.mmason2007-07-251-5/+2
|
* 2007-06-20 Martin Hunt <hunt@redhat.com>hunt2007-06-204-176/+0
| | | | * systemtap.samples/transport*: Removed.
* 2007-06-18 Martin Hunt <hunt@redhat.com>hunt2007-06-1814-24/+29
| | | | | | | | | | | | | | | | | | From Quentin Barnes. * lib/stap_run.exp, lib/stap_run2.exp, lib/systemtap.exp, systemtap.base/cache.exp, systemtap.base/optim.exp, systemtap.base/overload.exp, systemtap.base/prologues.exp, systemtap.maps/absentstats.exp, systemtap.maps/foreach_fail.exp, systemtap.maps/ix_clear*.exp, systemtap.maps/pmap_agg_overflow.exp, systemtap.samples/args.exp, systemtap.samples/arith.exp, systemtap.samples/arith_limits.exp, systemtap.samples/control_limits.exp, systemtap.samples/lket.exp, systemtap.samples/pfaults.exp, systemtap.samples/poll_map.exp, systemtap.samples/primes.exp, systemtap.samples/profile.exp, systemtap.samples/queue_demo.exp, systemtap.samples/symbols.exp, systemtap.samples/syscalls1.exp, systemtap.samples/syscalls2.exp, systemtap.samples/transport.exp: Small fixes to patterns, plus fix timeouts for slower systems.
* 2007-06-14 Martin Hunt <hunt@redhat.com>hunt2007-06-142-5/+10
| | | | | | | | * systemtap.samples/syscalls.stp: Use printf for output to avoid problems with long paths. From Quentin Barnes. * systemtap.samples/system_func.exp: Change expect matching.
* 2007-06-14 David Smith <dsmith@redhat.com>dsmith2007-06-141-3/+3
| | | | | * systemtap.samples/profile.stp: Change output to avoid problems when kernel source path is long.
* Typo fix.hunt2007-05-231-1/+1
|
* 2007-05-23 Martin Hunt <hunt@redhat.com>hunt2007-05-231-5/+5
| | | | * systemtap.samples/system_func.exp: Fix pattern anchoring.
* 2007-05-07 Martin Hunt <hunt@redhat.com>hunt2007-05-072-10/+16
| | | | | | | PR4466 * systemtap.samples/system_func.stp: Rewrite test to account for probes not being placed until after begin. * systemtap.samples/system_func.exp: Only expect 1 sys_open.
* 2007-05-01 Martin Hunt <hunt@redhat.com>hunt2007-05-012-0/+42
| | | | * systemtap.samples/system_func.*: New test.
* 2007-05-01 Martin Hunt <hunt@redhat.com>hunt2007-05-012-21/+0
| | | | * systemtap.samples/sysopen*: Deleted.
* * PR 4329fche2007-05-011-1/+1
|
* Increased timeout to fix intermittent test failures on s390xdwilder2007-04-251-1/+1
|
* 2007-04-05 Martin Hunt <hunt@redhat.com>hunt2007-04-051-1/+1
| | | | * systemtap.samples/arith_limits.exp: Set test name correctly.
* 2007-04-02 Frank Ch. Eigler <fche@elastic.org>fche2007-04-024-4/+4
| | | | | | * systemtap.samples/poll_map.stp, profile.stp, syscalls.stp: Continue adopting to .inline -> .function change. * systemtap.samples/topsys.stp, systemtap.stress/current.stp: Ditto.
* 2007-03-21 David Smith <dsmith@redhat.com>dsmith2007-03-211-1/+1
| | | | | | PR 4146 * systemtap.samples/control_limits.exp: Begin/end probes use MAXACTION_INTERRUPTIBLE instead of MAXACTION.
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-141-2/+2
| | | | | | | | | | | * systemtap.base/div0.stp: Fix so output won't possibly have the error message before the printed output. * systemtap.base/maxactive.exp: Ditto. * systemtap.maps/ix_clear.stp: Ditto. * systemtap.maps/ix_clear2.stp: Ditto. * systemtap.samples/args.exp: Remove obsolete "-r" option to staprun.
* 2007-01-22 Frank Ch. Eigler <fche@redhat.com>fche2007-01-222-2/+0
| | | | | | | * config/unix.exp: New file as a master load_lib repository. * */*.exp: Removed load_lib calls. * parseko/cmdline01.stp: Swallow expected stap ERROR: message. * systemtap.syscall/syscall.exp: Added installmode_p checks.
* Fix for ioblocktest.exp test (PR 3867)mmason2007-01-131-5/+3
|
* 2006-12-18 David Smith <dsmith@redhat.com>dsmith2006-12-181-4/+1
| | | | | * systemtap.samples/pfaults.stp: Since PR 1132 has been fixed, updated to use "$return".
* 2006-12-07 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-083-3/+5
| | | | | | | | | | | | | | | | | | | | | | | PR 3624. * tapsets.cxx (struct be_derived_probe): Add a new priority parameter for begin/end probes, and a comparison function for sorting. (be_builder::build): Parse the priority & pass it to be_derived_probe. (be_derived_probe_group::emit_module_init, emit_module_exit): Sort the probe list by priority before emitting any code. (register_standard_tapsets): Add new begin/end variants. * parse.cxx (parser::parse_literal): Allow negative numeric literals, by checking for a '-' unary operator right before a number. testsuite/ * systemtap.base/be_order.exp, systemtap.base/be_order.stp, semok/beginend.stp: New tests for begin/end priorities. * lib/stap_run.exp: Anchor OUTPUT_CHECK_STRING to the end of output. * systemtap.base/maxactive.exp: Fix to compare output to the end. * systemtap.base/probefunc.exp: Ditto. * systemtap.samples/ioblocktest.exp: Ditto. * systemtap.samples/ioblocktest.stp: Ditto. * systemtap.samples/tcptest.exp: Ditto.
* 2006-11-30 Martin Hunt <hunt@redhat.com>hunt2006-11-301-2/+2
| | | | | * systemtap.samples/pfaults.exp: Fix regular expression to handle buffering issues that broke on MP systems.
* bugfix for lket testcase.guanglei2006-11-291-7/+11
| | | | new testcase of whitelist for safe probes
* skip warning message of skipped probes for lket testcaseguanglei2006-11-211-1/+1
|
* add LKET testcase into testsuite/systemtap.samples/guanglei2006-11-212-0/+48
| | | | | change the return codes of lket-b2a and add a new macro b2a_error() for error reporting
* 2006-11-02 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-11-022-36/+38
| | | | | | | * systemtap.samples/tcptest.exp: Put TCP load gen into a a seperate script. * systemtap.samples/tcptest.tcl: new script for TCP load gen.
* 2006-10-21 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-10-212-31/+55
| | | | | * systemtap.samples/tcptest.exp: fix bug #3404 * systemtap.samples/tcptest.stp: fix bug #3404
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-261-6/+6
| | | | | * systemtap.samples/args.exp: Looks for 'staprun' instead of 'stpd'.
* 2006-08-12 Frank Ch. Eigler <fche@elastic.org>fche2006-08-1242-0/+1399
* configure.ac, Makefile.am: Descend into testsuite/ directory. Remove local test logic. * configure, Makefile.in: Regenerated. * runtest.sh: Not yet removed. * HACKING: Update for new testsuite layout. 2006-08-12 Frank Ch. Eigler <fche@elastic.org> * all: Reorganized old pass-1..4 tests one dejagnu bucket. Moved over old pass-5 tests, except for disabled syscalls tests. * Makefile (installcheck): New target for running pass-1..5 tests against installed systemtap.