summaryrefslogtreecommitdiffstats
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* 2007-03-06 David Smith <dsmith@redhat.com>dsmith2007-03-062-2/+8
| | | | | | * systemtap.base/alternatives.exp: Changed the probed kernel function from 'signal_wake_up' (which wasn't present on some kernels) to 'sys_getrlimit'.
* 2007-03-02 Frank Ch. Eigler <fche@elastic.org>fche2007-03-022-1/+6
| | | | | PR 4121 * systemtap.stress/conversions.exp: Fix & improve below patch.
* 2007-03-01 Frank Ch. Eigler <fche@redhat.com>fche2007-03-022-0/+7
| | | | | PR 4121 * systemtap.stress/conversions.exp: Bypass address=0 test for s390x.
* 2007-02-27 Frank Ch. Eigler <fche@redhat.com>fche2007-02-273-0/+14
| | | | | | PR 4105 * buildok/twentysix.stp: New test. * systemtap.pass1-4/buildok.exp: kfail it.
* 2007-02-19 David Smith <dsmith@redhat.com>dsmith2007-02-203-4/+15
| | | | | | | | PR 4081 * Makefile.am: The symbolic link that the Makefile creates to stap now points to the installed version of stap when "make installcheck" is run. * Makefile.in: Regenerated.
* 2007-02-16 David Smith <dsmith@redhat.com>dsmith2007-02-162-0/+50
| | | | * systemtap.base/alternatives.exp: New test case.
* * d'oh - disable tests unless [installtest_p]fche2007-02-091-16/+21
|
* 2007-02-09 Frank Ch. Eigler <fche@elastic.org>fche2007-02-093-0/+31
| | | | | | | | | | | | | | | | PR 3965 * configure.ac: Add --enable-prologue option. * configure, config.in: Regenerated. * session.h (prologue_searching): New field. * main.cxx (main): Parse new "-P" option. Initialize based on autoconf flag. * stap.1.in, NEWS: Document it. * hash.cxx (find_hash): Include it in computation. * tapsets.cxx (query_func_info, query_cu): Respect it. 2007-02-09 Frank Ch. Eigler <fche@elastic.org> * systemtap.base/prologue.*: New test case.
* add a #!jistone2007-02-071-1/+3
|
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-062-0/+40
| | | | | | | | runtime/ * loc2c-runtime.h (kread): Let it work with const types. testsuite/ * systemtap.base/deref.stp: Test kread with const sources.
* * kernel_{string,long,...,char} protected accessor functionsfche2007-02-064-0/+52
| | | | | | | | | | | | | | | | | | | | * test suites for all of 'em too * even documentation * mm, donuts 2007-02-06 Frank Ch. Eigler <fche@elastic.org> * stapfuncs.5.in: Add docs for kernel_{long,int,short,char} and some user_string* variants. 2007-02-06 Frank Ch. Eigler <fche@elastic.org> * conversions.stp (kernel_long/int/short/char): New functions. 2007-02-06 Frank Ch. Eigler <fche@elastic.org> * buildok/conversions.stp: Build-test all conversions.stp functions. * systemtap.stress/conversions.*: New test.
* 2007-01-29 Frank Ch. Eigler <fche@elastic.org>fche2007-01-292-0/+6
| | | | | | | | | * main.cxx (main): For successful last_pass=4, print compiled module name. * cache.cxx (get_from_cache): Ditto. 2007-01-29 Frank Ch. Eigler <fche@elastic.org> * systemtap.base/cache.exp (stap_compile): Accept new -p4 output.
* * systemtap.syscall/syscall.exp: Increase timeout for slow machines.wcohen2007-01-242-0/+5
|
* add helpful blurbfche2007-01-241-0/+2
|
* 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.