summaryrefslogtreecommitdiffstats
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:guanglei2006-10-101-0/+2
| | | | | | | | | | | | | | | | | Adding the support of automatically database creation and dumping lket trace into mysql database * configure.ac: add the checking of mysql client library * Makefile.in, configure: regenerated * runtime/lket/b2a/Makefile.am: add the checking and optional compiling for mysql client library * runtime/lket/b2a/Makefile.in: regenerated
* Reenable this testsuite. Why was it disabled?hunt2006-10-091-3/+1
|
* Better output for debugging.hunt2006-09-281-21/+21
|
* 2006-09-28 Martin Hunt <hunt@redhat.com>hunt2006-09-283-0/+16
| | | | | * buildok/eighteen.stp: Fix for 2.6.18. * buildok/two.stp: Ditto.
* 2006-09-27 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-282-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * session.h (struct systemtap_session): Add kernel_base_release to store the kernel version without the -NNN suffix. * main.cxx (main): Generate and use kernel_base_release. * parse.cxx (eval_pp_conditional): Use kernel_base_release. * tapsets.cxx (profile_derived_probe::profile_derived_probe): Use kernel_base_release. * tapsets.cxx (timer_builder::build): Support a wide variety of timer varients -- jiffies, s/sec, ms/msec, us/usec, ns/nsec, and hz. Use hrtimers automatically on kernels that have it. (timer_builder::register_patterns): Bind all of the new timer varients in one easy place. (register_standard_tapsets): Call timer_builder::register_patterns. (struct hrtimer_builder): Removed since timer_builder is generic. * stapprobes.5.in: Document new timer.* functionality. * tapsets.cxx (hrtimer_derived_probe_group::emit_probes): Add a shared global for the actual hrtimer resolution, _stp_hrtimer_res. (hrtimer_derived_probe_group::emit_module): Init _stp_hrtimer_res. (hrtimer_derived_probe::emit_interval): Limit intervals at a minimum to the hrtimer's actual resolution. (hrtimer_derived_probe::emit_probe_entries): Forward timers based on previous expiration instead of restarting relative. testsuite/ * buildok/fourteen.stp: Test new timer functionality.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-262-6/+11
| | | | | * systemtap.samples/args.exp: Looks for 'staprun' instead of 'stpd'.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-262-11/+12
| | | | * test.tcl: Looks for 'staprun' instead of 'stpd'.
* 2006-09-20 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-202-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | PR 3233 ./ * stapfuncs.5.in: Document new gettimeofday_ns. runtime/ * time.c (stp_time_t): Use ns for the base time, and freq is now kHz. (__stp_estimate_cpufreq): Compute kHz instead of MHz. (__stp_time_timer_callback, __stp_init_time): Compute base in ns. (__stp_time_cpufreq_callback): Record kHz instead of MHz. (_stp_init_time): Record kHz, and disable preemption to avoid a race in the cpufreq notifier. (_stp_gettimeofday_ns): Converted from _stp_gettimeofday_us. tapset/ * timestamp.stp (gettimeofday_ns): New function (gettimeofday_us, gettimeofday_ms, gettimeofday_s): Use gettimeofday_ns as the base unit. testsuite/ * buildok/timestamp.stp: add gettimeofday_ns test.
* Close when done.hunt2006-09-181-0/+1
|
* Systemtap perfmon support to access the processors perfmon hardware.wcohen2006-09-122-0/+27
|
* 2006-09-12 David Smith <dsmith@redhat.com>dsmith2006-09-122-0/+5
| | | | * Added .cvsignore file.
* * tolerate long-running jobs better in stap_run_batch ()fche2006-09-101-1/+5
|
* 2006-09-09 Frank Ch. Eigler <fche@elastic.org>fche2006-09-0910-17/+30
| | | | | * lib/systemtap.exp (stap_run_batch): New helper routine. * systemtap.pass1-4/*.exp: Use it instead of catch/exec/>>& hack.
* 2006-09-06 Frank Ch. Eigler <fche@elastic.org>fche2006-09-063-0/+17
| | | | | | | | | | | | | Add basic support for initialized globals. * parse.cxx (parse_global): Parse initialization clause, implement by rewriting to "probe begin { var = value }". * parse.h: Corresponding changes. * stap.1.in: Document optional initialization. 2006-09-06 Frank Ch. Eigler <fche@elastic.org> * parseok/eighteen.stp, semok/twentythree.stp: New files for testing initialized globals.
* New tests for string functions.hunt2006-08-218-0/+123
|
* 2006-08-21 Martin Hunt <hunt@redhat.com>hunt2006-08-214-5/+12
| | | | | | | | * lib/stap_run.exp: Check for existence of installtest_p before running it. This reenables running individual tests with runtest. * lib/stap_run2.exp: Ditto. * lib/stap_run_binary.exp: Ditto.
* 2006-08-12 Frank Ch. Eigler <fche@elastic.org>fche2006-08-123-2/+7
| | | | | | | | | | | * Makefile.am (dist-hook): Make "make dist" dist. * Makefile.in: Regenerated. [testsuite] 2006-08-12 Frank Ch. Eigler <fche@elastic.org> * Makefile.am (clean-local): Clean up dejagnu turds. * Makefile.in: Regenerated.
* 2006-08-12 Frank Ch. Eigler <fche@elastic.org>fche2006-08-12189-0/+6554
| | | | | | | | | | | | | | | * 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.
* 2006-08-09 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-08-101-3/+10
| | | | * testsuite/buildok/iolock_test.stp: Updated for ioblock.stp
* 2006-08-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-08-101-1/+1
| | | | | | | | | | | | * stapprobes.5.in, testsuite/buildok/memory.stp: move pagefault to vm.* namespace tapset/ * memory.stp: move pagefault to vm.* namespace, and add many other virtual-memory themed probes. tapset/LKET/ * pagefault.stp: move pagefault to vm.* namespace
* 2006-08-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-08-101-6/+6
| | | | | | | | | * tapset/signal.stp: Create a new tapset that addresses process signals. Much of this was contributed by Manoj Pattabhiraman (IBM). * tapset/process.stp: Remove aliases that now belong in signal tapset * examples/small_demos/proc_snoop.stp, testsuite/buildok/process_test.stp: Rename process.signal_* to new signal.* tapset.
* 2006-08-08 Eugene Teo <eteo@redhat.com>eteo2006-08-081-0/+8
| | | | | | * tapset/context.stp (probemod): New function. * stapfuncs.5.in: Document it. * testsuite/buildok/probemod.stp: Test it.
* add conditional preprocessing for find_pid since it was changed from 2.6.17guanglei2006-07-241-3/+4
|
* 2006-07-19 David Smith <dsmith@redhat.com>dsmith2006-07-191-1/+16
| | | | | * testsuite/buildok/scsi.stp: Only run the scsi test if the scsi kernel subsystem is running.
* 2006-07-13 David Smith <dsmith@redhat.com>dsmith2006-07-131-0/+8
| | | | | | | | | | | | | | * parse.cxx (parser::expect_unknown2): New function that looks for 2 possible token types. * parse.cxx (parser::expect_ident_or_keyword): New function that calls parser::expect_unknown2. * parse.cxx (parser::parse_symbol): Calls parser::expect_ident_or_keyword to allow keywords to appear when expanding target symbols (Bugzilla #2913). * parse.h: Added prototypes for parser::expect_unknown2 and parser::expect_ident_or_keyword. * testsuite/parseok/seventeen.stp: New test to check for allowing keywords when expanding target symbols.
* Added udp test and updated tcp testtpnguyen2006-06-242-2/+34
|
* New tcp testtpnguyen2006-06-221-0/+41
|
* *** empty log message ***tpnguyen2006-06-081-0/+11
|
* 2006-06-05 David Smith <dsmith@redhat.com>dsmith2006-06-052-0/+14
| | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (dwflpp::express_as_string): New function. Extracted from dwflpp::literal_stmt_for_local() so that dwflpp::literal_stmt_for_return() could also call it. (dwflpp::literal_stmt_for_local): Portion extracted to create dwflpp::express_as_string(). (dwflpp::literal_stmt_for_return): New function. Adds support for new symbolic access ("$return") to return value in .return probes. Fixes PR 1132. (target_variable_flavour_calculating_visitor::visit_target_symbol): Calls dwflpp::literal_stmt_for_return() when in a return probe and the variable name is "$return". (dwarf_var_expanding_copy_visitor::visit_target_symbol): Ditto. * stapfuncs.5.in: Noted that the retval() function is deprecated. * stapprobes.5.in: Corrected the name of the return value variable. * tapset/return.stp: Marked the retval() function as deprecated. * testsuite/semko/return01.stp: Added new test. * testsuite/semko/return02.stp: Ditto.
* 2006-06-05 Frank Ch. Eigler <fche@elastic.org>fche2006-06-051-3/+8
| | | | | | | | PR 2645 cont'd. * elaborate.cxx (derive_probes): Pass down optional flag from alias reference to expansion. * testsuite/semok/twentytwo.stp: Test passing-down. * stapprobes.5.in: Specify passing-down property of optional flag.
* 2006-06-02 Frank Ch. Eigler <fche@elastic.org>fche2006-06-022-0/+14
| | | | | | | | | | | PR 2645 cont'd. * elaborate.cxx (find_and_build): Support optional wildcards too. (derive_probes): Change last argument to indicate optionalness of parent probe point (alias reference). (alias_expansion_builder): Shrink epilogue-mode alias body copying. Pass along alias reference optionality. * elaborate.h: Corresponding changes. * testsuite/semko/thirtyfive.stp, semok/twentytwo.stp: New tests.
* 2006-06-02 Josh Stone <joshua.i.stone@intel.com>jistone2006-06-021-0/+6
| | | | | * testsuite/buildok/process_test.stp: add signal_handle test * examples/small_demos/proc_snoop.stp: log signal_handle
* 2006-06-02 Frank Ch. Eigler <fche@elastic.org>fche2006-06-022-1/+6
| | | | | | | | | | | | | | PR 2645. * stapprobes.5.in: Document "?" probe point suffix. * parse.cxx (parse_probe_point): Recognize "?" optional suffix. * elaborate.cxx (derive_probes): Observe probe_point->optional. * staptree.h, staptree.cxx: Corresponding changes. * tapsets.cxx (never_derived_probe, never_builder): New classes. (register_standard_tapsets): Support "never" probe point. * testsuite/buildok/six.stp, parseok/five.stp: Modifed tests. * translate.cxx (emit_module_init): Format "-t" (benchmarking) cycle-time reports similarly to "-v" (verbose) times.
* 2006-06-02 David Smith <dsmith@redhat.com>dsmith2006-06-029-0/+79
| | | | | | | | | | | | | | | | * main.cxx (usage): Added exitcode parameter. (main): Improved a few error messages. Also, when an error is given, stap now always exits with a status of 1. * testsuite/buildok/cmdline01.stp: New test. * testsuite/parseko/cmdline01.stp: Ditto. * testsuite/parseko/cmdline02.stp: Ditto. * testsuite/parseko/cmdline03.stp: Ditto. * testsuite/parseko/cmdline04.stp: Ditto. * testsuite/parseko/cmdline05.stp: Ditto. * testsuite/parseko/cmdline06.stp: Ditto. * testsuite/parseok/cmdline01.stp: Ditto. * testsuite/parseok/cmdline02.stp: Ditto.
* 2006-05-25 David Smith <dsmith@redhat.com>dsmith2006-05-251-0/+35
| | | | * testsuite/semok/twentyone.stp: New file.