summaryrefslogtreecommitdiffstats
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* 2007-01-23 Frank Ch. Eigler <fche@elastic.org>fche2007-01-232-5/+6
| | | | * systemtap.pass1-4/buildok.exp: Remove most kfail designations.
* Added build test for sockets tapset.mmason2007-01-232-0/+111
|
* Added new string functions tokenize() and strtol().mmason2007-01-235-0/+122
|
* 2007-01-22 Josh Stone <joshua.i.stone@intel.com>jistone2007-01-232-58/+90
| | | | | | | | | runtime/ * loc2c-runtime.h (kread, kwrite): Tweaks to work better with reading and writing pointer values. testsuite/ * systemtap.base/deref.stp: Rewrite test, and now also check the ability to read/write pointers.
* 2007-01-22 Frank Ch. Eigler <fche@redhat.com>fche2007-01-2256-89/+16
| | | | | | | * 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.
* 2007-01-22 Martin Hunt <hunt@redhat.com>hunt2007-01-223-0/+70
| | | | | * systemtap.maps/exists.stp: New test to see if array elements exist using the "in" keyword.
* Updated kmodule.stp test to look for other modules when ext3 isn't a module.mmason2007-01-212-1/+10
|
* 2007-01-19 Josh Stone <joshua.i.stone@intel.com>jistone2007-01-203-10/+45
| | | | | | | | | | | | | PR 3079 runtime/ * loc2c-runtime.h (kread, kwrite): New macros to safely read/write values from kernel pointers. This includes a workaround for 64-bit numbers on i386 platforms. testsuite/ * systemtap.base/deref.stp: Use the new kread macro that should work fine with 64-bit numbers on i386 platforms. Also expand the test to include writes with kwrite. * systemtap.base/deref.exp: Remove the setup_kfail.
* 2007-01-17 Martin Hunt <hunt@redhat.com>hunt2007-01-172-0/+4
| | | | * test.exp: Renamed to syscall.exp.
* buildok/eighteen.stp: changed to find __audit_getname or audit_getnamemmason2007-01-162-8/+10
| | | | without checking kernel version to support audit code backports
* Test 32-bit binaries on ppc64 in test.exp.mmason2007-01-152-2/+7
|
* Fix for ioblocktest.exp test (PR 3867)mmason2007-01-132-5/+11
|
* 2007-01-10 Martin Hunt <hunt@redhat.com>hunt2007-01-1010-22/+58
| | | | | | | | | | | | * systemtap.maps/foreach_foreach.exp: Update for new delete func. * systemtap.maps/ii.exp: Ditto. * systemtap.maps/ii.stp: Ditto. * systemtap.maps/iiiiii.exp: Ditto. * systemtap.maps/iiiiii.stp: Ditto. * systemtap.maps/is.stp: Ditto. * systemtap.maps/si.exp: Ditto. * systemtap.maps/si.stp: Ditto. * systemtap.maps/ss.stp: Ditto.
* 2007-01-09 Martin Hunt <hunt@redhat.com>hunt2007-01-094-41/+58
| | | | | * test.exp, test.tcl, test-debug.tcl: PR 3524. Support for separtet source and obj trees.
* 2006-12-29 Frank Ch. Eigler <fche@redhat.com>fche2006-12-305-2/+39
| | | | | | | | | | | | | | | PR 3523. * tapsets.cxx (common_probe_entryfn_prologue,epilogue): Restore support for -t (benchmarking) mode. * translate.cxx (emit_common_header,emit_module_init):Ditto. (emit_module_exit,emit_probe): Ditto, with most meat here. 2006-12-29 Frank Ch. Eigler <fche@redhat.com> PR 3523. * buildok/fourteen.stp, fourteen-plus.stp: Tweak & add a test. * systemtap.base/bench.stp: Work around randomized-ordered probes. * systemtap.base/bench.exp: Tighten output requirements.
* 2006-12-22 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-229-0/+78
| | | | | | | | | | * stap.1.in: Document how to specify the size of global arrays. testsuite/ * buildok/array_size.stp, parseko/array01.stp, parseko/array02.stp, parseko/array03.stp, parseko/array04.stp, transko/array01.stp, systemtap.base/array_size.exp, systemtap.base/array_size.stp: Tests for specifying the size of global arrays.
* 2006-12-22 David Smith <dsmith@redhat.com>dsmith2006-12-222-0/+16
| | | | | | * systemtap.base/cache.exp: Added test to ensure that using '-M' and '-t' changes the hash. The '-t' test is commented out until PR3523 is fixed.
* 2006-12-21 David Smith <dsmith@redhat.com>dsmith2006-12-212-0/+9
| | | | | * systemtap.base/cache.exp: Added test to ensure that using '-b' changes the hash.
* 2006-12-19 Frank Ch. Eigler <fche@redhat.com>fche2006-12-192-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 3522. * tapsets.cxx (dwflpp::emit_address): Call _stp_module_relocate only once per session. Error message cleanup: duplicate elimination etc. * session.h (saved_errors): Store a set of 'em. (num_errors): Return set size. Remove old numeric field. Update all callers. * elaborate.cxx (systemtap_session::print_errors): Print each encountered message just once. * staptree (semantic_error): Make msg2 writeable. Add a chain field. * tapsets.cxx (*var_expanding*:visit_target_symbol): Set saved semantic_error's chain field. * elaborate.cxx (register_library_aliases, visit_foreach_loop, visit_functioncall, derive_probes): Plop "while: ..." error message prefix/suffix right into the semantic_error message string. * parse.cxx (lexer::scan): Identify erroneous token better in error message for unresolvable $N/@M command line args. * util.h (lex_cast_hex): Use std::hex, not std::ios::hex. 2006-12-19 Frank Ch. Eigler <fche@redhat.com> PR 3522. * buildok/twentyfive.stp: New test for static $var access.
* 2006-12-18 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-193-0/+61
| | | | | | * systemtap.base/deref.exp, systemtap.base/deref.exp: Add a test for successfully dereferencing pointers of various sizes. This is known to fail on x86 for 64-bit values -- PR 3079.
* 2006-12-18 David Smith <dsmith@redhat.com>dsmith2006-12-182-4/+6
| | | | | * systemtap.samples/pfaults.stp: Since PR 1132 has been fixed, updated to use "$return".
* 2006-12-08 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-094-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 3681. * staptree.h (struct vardecl): Add a literal 'init' member for the initialization value of globals. * staptree.cxx (vardecl::vardecl): Initialize 'init' to NULL. (vardecl::print): Print global init value during pass-1 output. * main.cxx (printscript): Print global init values during verbose pass-2 output. * parse.cxx (parser::parse_global): Set the initialization literal of global vardecls. * translate.cxx (var::init): Don't unconditionally override the value of numeric globals when the module_param isn't used. (c_unparser::emit_global_param): Write numeric module_params directly into the global variable, as an int64_t instead of long. (c_unparser::emit_global): Add initialization to global declarations. Don't create a temp module_param long for numeric globals anymore. runtime/ * runtime.h (param_set_int64_t, param_get_int64_t, param_check_int64_t): New functions to allow taking module parameters directly as int64_t values. testsuite/ * systemtap.base/global_init.exp, systemtap.base/global_init.stp: New test for checking the timeliness of global initialization.
* 2006-12-07 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-0810-9/+82
| | | | | | | | | | | | | | | | | | | | | | | 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-302-2/+7
| | | | | * systemtap.samples/pfaults.exp: Fix regular expression to handle buffering issues that broke on MP systems.
* bugfix for lket testcase.guanglei2006-11-293-7/+486
| | | | new testcase of whitelist for safe probes
* 2006-11-28 David Smith <dsmith@redhat.com>dsmith2006-11-283-0/+22
| | | | | | | * semko/thirtyfour.stp: Checks for writing to target variable in .return probe. * semok/twentyfour.stp: Tests read access to target variable in .return probe.
* skip warning message of skipped probes for lket testcaseguanglei2006-11-211-1/+1
|
* add LKET testcase into testsuite/systemtap.samples/guanglei2006-11-213-0/+54
| | | | | change the return codes of lket-b2a and add a new macro b2a_error() for error reporting
* 2006-11-19 Frank Ch. Eigler <fche@elastic.org>fche2006-11-192-0/+7
| | | | | * main.cxx (main): Signal parse error if a tapset script is given as the user script.
* 2006-11-17 Frank Ch. Eigler <fche@redhat.com>fche2006-11-173-0/+18
| | | | | | | | | | | | | * tapsets.cxx (d_v_e_c_v::visit_target_symbol): Restore lost exception-saving functionality that improves error messages for incorrect $target expressions. (translate_components): Systematize error messages somewhat. * translate.cxx (emit_function, emit_probe): Clarify "array locals" error message. 2006-11-17 Frank Ch. Eigler <fche@redhat.com> * semko/thirtysix.stp, transko/three.stp: New tests.
* add a pass 4 check for LKET available trace hooksguanglei2006-11-162-0/+6
|
* 2006-11-10 David Smith <dsmith@redhat.com>dsmith2006-11-104-54/+35
| | | | | | | | | | | * semko/maxactive03.stp: Stop on pass2 instead of on pass1. * lib/stap_run.exp: As a side-effect, stap_run() sets global 'probe_errors' and 'skipped_probes' to the number of probe errors and skipped probes seen while running the probe. * systemtap.base/maxactive.exp: Uses extended stap_run() to find number of skipped probes instead of using private stap_run() variant.
* 2006-11-09 David Smith <dsmith@redhat.com>dsmith2006-11-0910-0/+175
| | | | | | | | | | | | | * buildok/maxactive01.stp: Added test for "maxactive(N)" return probe processing. * parseko/maxactive01.stp: Ditto. * parseko/maxactive02.stp: Ditto. * parseko/maxactive03.stp: Ditto. * parseko/maxactive04.stp: Ditto. * semko/maxactive01.stp: Ditto. * semko/maxactive02.stp: Ditto. * semko/maxactive03.stp: Ditto. * systemtap.base/maxactive.exp: Ditto.
* 2006-11-06 David Smith <dsmith@redhat.com>dsmith2006-11-063-0/+222
| | | | | | * systemtap.maps/foreach_limit.exp: Added new test for foreach "limit" keyword. * systemtap.maps/foreach_limit.stp: Ditto.
* 2006-11-06 David Smith <dsmith@redhat.com>dsmith2006-11-066-0/+72
| | | | | | | | | * parseko/foreachstmt06.stp: Added new test for foreach "limit" keyword. * parseko/foreachstmt07.stp: Ditto. * parseok/foreachstmt01.stp: Ditto. * semko/foreachstmt01.stp: Ditto. * semko/foreachstmt02.stp: Ditto.
* 2006-11-02 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-11-023-36/+45
| | | | | | | * 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-30 Josh Stone <joshua.i.stone@intel.com>jistone2006-10-302-1/+4
| | | | | * systemtap.base/timers.stp: Fudge the comparison a bit between jiffies(1) and profile to allow for slop between start/end times.
* 2006-10-30 Josh Stone <joshua.i.stone@intel.com>jistone2006-10-302-1/+8
| | | | | | | * systemtap.maps/pmap_agg_overflow.stp: Use kernel.function("scheduler_tick") instead of timer.jiffies so the test works on all kernels. The test needs a probe that is invoked often on all cpus.
* 2006-10-30 Martin Hunt <hunt@redhat.com>hunt2006-10-302-1/+6
| | | | | * systemtap.maps/pmap_agg_overflow.stp: Use timer.jiffies instead of timer.profile so the test works on xen kernels.
* 2006-10-30 David Smith <dsmith@redhat.com>dsmith2006-10-304-0/+23
| | | | | | | | | | | | | * systemtap.base/cache.exp: Saves value of SYSTEMTAP_DIR environment variable before starting tests and restores value at the end. Without this caching was broken for the rest of the testsuite, since all cached files were ending up in testsuite/.cache_test (which gets deleted on the next run of the testsuite). * Makefile.am: The 'clean-local' target now removes the .systemtap and .cache_test directories. * Makefile.in: Regenerated.
* 2006-10-30 Martin Hunt <hunt@redhat.com>hunt2006-10-302-1/+6
| | | | | * systemtap.base/cache.exp (stap_compile): Fix a simple buffering problem with expect.
* 2006-10-27 Martin Hunt <hunt@redhat.com>hunt2006-10-274-86/+54
| | | | | | | | * test.exp, test.tcl: Remove our own caching code and just use systemtap's new caching. * acct.c (main): Make pattern less selective so it works when run by root.
* 2006-10-26 David Smith <dsmith@redhat.com>dsmith2006-10-264-2/+123
| | | | | | | | * systemtap.base/cache.exp: New file that tests caching functionality. * lib/systemtap.exp (setup_systemtap_environment): Use a local systemtap directory/cache (instead of the user's cache). * .cvsignore: Added .systemtap directory.
* 2006-10-23 David Smith <dsmith@redhat.com>dsmith2006-10-233-0/+9
| | | | | * lib/stap_run.exp: Handles cached module. * lib/stap_run2.exp: Ditto.
* 2006-10-23 David Smith <dsmith@redhat.com>dsmith2006-10-232-0/+7
| | | | * test.exp (test_procedure): Handles cached module.
* Increase timeout for slow machines.wcohen2006-10-232-0/+5
|
* 2006-10-21 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-10-213-31/+60
| | | | | * systemtap.samples/tcptest.exp: fix bug #3404 * systemtap.samples/tcptest.stp: fix bug #3404
* Change warning message from configure for mysqlguanglei2006-10-201-0/+1
|
* 2006-10-18 David Smith <dsmith@redhat.com>dsmith2006-10-182-0/+7
| | | | * systemtap.syscall/.cvsignore: Added file.
* * configure.ac: add the checking for mysql_config, mysqlclient library and ↵guanglei2006-10-161-0/+4
| | | | | | header files * runtime/lket/b2a/Makefile.am: set compile flags according to the existance of mysql_config