summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base
Commit message (Collapse)AuthorAgeFilesLines
...
* testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie ↵Frank Ch. Eigler2008-05-2715-30/+25
| | | | cleanup
* stmtvars.exp regexp tweakFrank Ch. Eigler2008-05-261-6/+4
|
* Narrow the regexp matching in stmtvars.expwenji2008-05-221-2/+2
|
* Fix assignment optimization expected results.Stan Cox2008-05-211-10/+0
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2008-05-212-0/+8
|\ | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: Use pointer_arg to fetch arguments for syscall.utime and compat_utime. Optimize compound and binary expression assignments.
| * Optimize compound and binary expression assignments.Stan Cox2008-05-212-0/+8
| |
* | PR6538: testsuite changesFrank Ch. Eigler2008-05-202-5/+4
|/
* PR6524: ctime() on bad values hangs system.Mark Wielaard2008-05-202-0/+73
|
* Optimize away assignments in other contexts.Stan Cox2008-05-192-0/+124
|
* PR 5955 - Accept ; terminated globalsAnanth N Mavinakayanahalli2008-05-142-0/+62
|
* PR6466: broad side-effect free statement elisionFrank Ch. Eigler2008-04-293-6/+8
|
* Simplified systemtap.base/utrace_p5.exp a little.David Smith2008-04-221-5/+0
| | | | | | 2008-04-22 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p5.exp: Simplfied a little.
* Added run-time utrace tests.David Smith2008-04-221-0/+145
| | | | | | 2008-04-22 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p5.exp: Added run-time utrace tests.
* Added utrace exec probes.David Smith2008-04-181-0/+9
| | | | | | | | | | | | | | | 2008-04-18 David Smith <dsmith@redhat.com> * tapsets.cxx (struct utrace_builder): Added exec probes. (utrace_derived_probe_group::emit_probe_decl): Ditto. (utrace_derived_probe_group::emit_module_decls): Ditto. (register_standard_tapsets): Ditto. * stapprobes.5.in: Added information about exec probes. * NEWS: Added information about utrace probes. 2008-04-18 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Added exec probe test.
* Rewrote utrace buildok tests to check for kernel utrace support.David Smith2008-04-181-0/+97
| | | | | | | | | | 2008-04-18 David Smith <dsmith@redhat.com> * buildok/utrace01.stp: Removed. * buildok/utrace02.stp: Ditto. * buildok/utrace03.stp: Ditto. * systemtap.base/utrace_p4.exp: Rewrote buildok tests to check for kernel utrace support.
* PR2949: listings mode (stap -l PROBE)Frank Ch. Eigler2008-04-101-0/+9
| | | | | | | | | | | | | | | | 2008-04-10 Frank Ch. Eigler <fche@elastic.org> PR 2949. * session.h (listing_mode): New field. * main.cxx (main): Test it. Enjoy it. (usage): Document it. * stap.1.in, stapex.5.in: Ditto. * elaborate.cxx (print_error): Disable error messages in listing mode. 2008-04-10 Frank Ch. Eigler <fche@elastic.org> PR 2949 * systemtap.base/cmd_parse.exp: Add "-l" listing test.
* 2008-03-27 Frank Ch. Eigler <fche@elastic.org>fche2008-03-271-1/+2
| | | | * systemtap.base/cmd_parse.exp: Don't assume $SHELL=bash.
* * systemtap.base/maxactive.exp, probefunc.exp: Standardize pass msg.fche2008-03-152-2/+2
|
* 2008-02-27 David Smith <dsmith@redhat.com>dsmith2008-02-271-2/+1
| | | | * systemtap.base/marker.exp: Added better path to Module.markers.
* PR5792: wildcard support for %( kernel/arch %) preprocessor operandsfche2008-02-261-0/+52
| | | | | | | | | | | | | | 2008-02-25 Frank Ch. Eigler <fche@elastic.org> PR5792. * parse.cxx (eval_pp_conditional): Support wildcards in %( kernel_v/kernel_vr/arch ==/!= "*foo?" %) operands. * NEWS, stap.1.in: Document this. 2008-02-25 Frank Ch. Eigler <fche@elastic.org> PR5792. * systemtap.base/preprocessor.exp: New test.
* PR5770: false systemtap/eof/timeout messages in testsuite.logfche2008-02-232-3/+4
| | | | | | | 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.
* PR5787, PR2608: .statement(NUM) probing fixesfche2008-02-231-0/+31
| | | | | | | | | | | | | | | | | | | 2008-02-22 Frank Ch. Eigler <fche@elastic.org> PR5787, PR2608, .statement() * tapsets.cxx (query_dwarf_func): Process .statement(NUM) probes too. (query_cu): Ditto. (query_func_info): Bypass prologue searching for .statement() probes. (query_cu): Ditto. (build_blacklist): Remove unsightly empty first alternative in "^(|foo)$" regexps. Show them for -vvv. * buildrun.cxx (compile_pass): Don't turn on "gcc -Q" on until -vvvv. 2008-02-22 Frank Ch. Eigler <fche@elastic.org> * systemtap.base/stmtvars.exp: New test for PR 5787.
* 2008-02-21 Will Cohen <wcohen@redhat.com>wcohen2008-02-211-0/+1
| | | | * systemtap.base/beginenderror.exp: Increase timeout for slow machines.
* 2008-02-20 David Smith <dsmith@redhat.com>dsmith2008-02-201-3/+38
| | | | | * systemtap.base/marker.exp: Added tests for marker probe ".format" component.
* Restore accidently deleted line.hunt2008-02-071-0/+1
|
* 2008-02-07 Martin Hunt <hunt@redhat.com>hunt2008-02-071-2/+3
| | | | | * systemtap.base/debugpath.exp: Remove explicit closes. Stap will terminate without help, and cleanup after itself.
* 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-02-061-0/+7
| | | | | * systemtap.base/cmd_parse.exp: Added 'wait' between tests for preventing unexpected EOF.
* 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-02-061-0/+2
| | | | | | | | | | | * systemtap.base/procfs.exp: Added PROCFS.ko cleanup. * systemtap.context/context.exp: Added cleanup call. * systemtap.printf/end1b.exp: Passed evaluated command string to as_root. * systemtap.printf/mixed_outb.exp: Ditto. * systemtap.printf/out1b.exp: Ditto. * systemtap.printf/out2b.exp: Ditto. * systemtap.printf/out3b.exp: Ditto.
* 2008-02-04 David Smith <dsmith@redhat.com>dsmith2008-02-041-1/+45
| | | | | | PR 4446. * systemtap.base/marker.exp: Added tests for marker "$format" variable.
* PR2521: configurable debuginfo search pathfche2008-01-231-0/+18
| | | | | | | | | | | 2008-01-23 Frank Ch. Eigler <fche@elastic.org> PR 2151 * tapsets.cxx (dwflpp::setup): Parametrize debuginfo_path. * stap.1.in: Document this. PR 2521. * systemtap.base/debugpath.exp: New test.
* 2008-01-16 David Smith <dsmith@redhat.com>dsmith2008-01-161-2/+38
| | | | | | PR 5608. * systemtap.base/marker.exp: Added 2 tests for treating marker arguments incorrectly.
* PR 4935. * systemtap.base/onoffprobe.*: Toughen test.fche2008-01-152-48/+42
|
* 2008-01-04 David Smith <dsmith@redhat.com>dsmith2008-01-041-1/+1
| | | | | * systemtap.base/marker.exp: Improved regexp that finds markers with arguments.
* 2007-12-05 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-12-052-0/+92
| | | | | | | | | | | | | | | | | | PR 4935 * tapsets.cxx (dwarf_derived_probe::dwarf_derived_probe): Allow user to access kernel variables in the condition of probe points. * stapprobes.5.in : Document the conditional probe point. * NEWS : Ditto. * parseok/five.stp: Add an example of conditional probe point. * parseko/probepoint04.stp: New test for conditional probe point. * parseko/probepoint05.stp: Ditto. * parseko/probepoint06.stp: Ditto. * parseko/probepoint07.stp: Ditto. * parseko/probepoint08.stp: Ditto. * parseko/probepoint09.stp: Ditto. * semok/twentynine.stp: Ditto. * semko/thirtynine.stp: Ditto. * systemtap.base/onoffprobe.*: Ditto.
* 2007-11-29 David Smith <dsmith@redhat.com>dsmith2007-11-291-17/+21
| | | | | | * systemtap.base/marker.exp: Gets marker list from Module.markers. K_MARKER03 is always run since it is designed to fail.
* 2007-11-15 David Smith <dsmith@redhat.com>dsmith2007-11-151-263/+4
| | | | | * systemtap.base/marker.exp: Removed 'module("foo").mark("bar")' tests since that facility was removed.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-1218-103/+108
| | | | | | | | * 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.
* PR1119: unused variable elision warningsfche2007-10-062-0/+25
| | | | | | | | | | | | | | | | | | 2007-10-05 Frank Ch. Eigler <fche@elastic.org> PR 1119 * elaborate.cxx (semantic_pass_opt[12]): Warn on elided variables/functions in user script. * session.h (suppress_warnings): New field. Change "timing" to plain old bool. * main.cxx (main): Configure warnings on by default. * stap.1.in: Document this. PR 1119. * systemtap.base/warnings.*: New test. * futexes.stp, sig_by_proc.stp, small_demos/rwtiming.stp: Fix elision warnings.
* 2007-10-02 Frank Ch. Eigler <fche@redhat.com>fche2007-10-022-0/+27
| | | | | | | | | | | | | | | | | | | PR 5078 * tapsets.cxx (be_derived_probe): Rework to add error probe support. Emit probe description array in C for traversal by generated code. * register_standard_tapsets: Add error probes. * stapprobes.5.in: Document. * translate.cxx (emit_module_init): Handle errors that may occur during begin probes. (emit_module_exit): Use schedule() rather than cpu_relax() during shutdown synchronization wait loop. * staptree.cxx (probe::printsig): Put multiple probe points on same line. 2007-10-02 Frank Ch. Eigler <fche@redhat.com> PR 5078 * semok/twentysix.stp, systemtap.base/beginenderror.*: New tests.
* 2007-09-25 David Smith <dsmith@redhat.com>dsmith2007-09-251-1/+2
| | | | | * systemtap.base/marker.exp: Improved regexp to work correctly on kernels with no markers.
* 2007-09-25 David Smith <dsmith@redhat.com>dsmith2007-09-251-7/+37
| | | | | * systemtap.base/marker.exp: Updated for the 9/18/2007 markers patch.
* 2007-09-22 Frank Ch. Eigler <fche@elastic.org>fche2007-09-221-1/+1
| | | | * systemtap.base/optim.exp: Wait for both result lines.
* rhbz 300121: optimization bugfche2007-09-212-1/+7
|
* 2007-09-18 David Smith <dsmith@redhat.com>dsmith2007-09-181-0/+112
| | | | | | * systemtap.base/procfs.exp: New test case. * lib/stap_run.exp (stap_run): Handles the case where the stap '-m' option was used.
* 2007-09-13 Martin Hunt <hunt@redhat.com>hunt2007-09-132-0/+89
| | | | | * systemtap.base/limits.exp: New. Test 32 and 64-bit integer extremes.
* 2007-08-21 Frank Ch. Eigler <fche@elastic.org>fche2007-08-211-1/+2
| | | | | PR 4942 * systemtap.base/kmodule.stp: Add "never" probe for type inference.
* 2007-08-20 Martin Hunt <hunt@redhat.com>hunt2007-08-201-0/+69
| | | | | * systemtap.base/cmd_parse.exp: New file. Test command parsing for "-c".
* 2007-08-16 Josh Stone <joshua.i.stone@intel.com>jistone2007-08-172-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | PR 4591 * parse.cxx (parser::parse_symbol): Tweak 'print' matching to allow all the new variants with printd and println. * staptree.h (struct print_format): Add fields for the new print variants, and parse_print() to help matching. * staptree.cxx (print_format::parse_print): New static method to match the print variants and determine their properties. (print_format::print): Handle the new print types. (deep_copy_visitor::visit_print_format): Copy the new fields. * translate.cxx (c_unparser::visit_print_format): Insert delims and newlines where appropriate for new print functions. * stap1.in: Document the new print functions. testsuite/ * lib/stap_run.exp: Make sure to match the entire output, in case there are multiple pass/fail messages. * buildok/printf.stp: Add lines for new print variants. * parseko/printd01.stp: Make sure that bad printd calls are handled. * parseko/printd02.stp: Ditto. * parseko/printd03.stp: Ditto. * parseko/printd04.stp: Ditto. * systemtap.base/print.stp: Try a bunch of different print calls. * systemtap.base/print.exp: Driver for above.
* 2007-07-26 David Smith <dsmith@redhat.com>dsmith2007-07-261-0/+2
| | | | | | | 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.
* 2007-06-18 Martin Hunt <hunt@redhat.com>hunt2007-06-184-6/+14
| | | | | | | | | | | | | | | | | | 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.