summaryrefslogtreecommitdiffstats
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* 2008-03-10 Dave Brolley <brolley@redhat.com>brolley2008-03-105-43/+130
| | | | | | PR5189 * systemtap.printf/memory1.{stp,exp}: Rewrite to reflect new %m safety checks. * systemtap.stress/conversions.exp: Add a test for invalid argument to %m.
* 2008-03-05 David Smith <dsmith@redhat.com>dsmith2008-03-052-2/+7
| | | | | PR5422 * systemtap.samples/examples.exp: Updated.
* PR5516: assignment to $pointersfche2008-03-032-0/+11
| | | | | | | | | | | | | | | | | | | | | 2008-03-03 Frank Ch. Eigler <fche@elastic.org> PR5516 * elaborate.cxx (symbol_fetcher, dead_assignment_remover): Support unresolved $target lvalues. Propagate pretty error messages. * staptree.cxx (varuse_collecting_visitor target_symbol): Ditto. * staptree.h: Corresponding decl. * loc2c.c: c_translate_pointer_store: New function. * loc2c.h: Corresponding decl. * tapsets.cxx (dwflpp::translate_final_fetch_or_store): Call it for $target pointer assignments. 2008-03-03 Frank Ch. Eigler <fche@elastic.org> PR5516 * buildok/twentynine.stp: New test.
* 2008-02-27 Dave Brolley <brolley@redhat.com>brolley2008-02-275-0/+91
| | | | | | PR5189 * systemtap.printf/bin6.{exp,stp}: New test case. * systemtap.printf/memory1.{exp,stp}: New test case.
* 2008-02-27 David Smith <dsmith@redhat.com>dsmith2008-02-272-2/+5
| | | | * systemtap.base/marker.exp: Added better path to Module.markers.
* PR5792: wildcard support for %( kernel/arch %) preprocessor operandsfche2008-02-262-0/+57
| | | | | | | | | | | | | | 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.
* 2008-02-23 Frank Ch. Eigler <fche@elastic.org>fche2008-02-2312-29/+33
| | | | * systemtap.printf/*.exp: Canonicalize pass/fail messages.
* 2008-02-23 Frank Ch. Eigler <fche@elastic.org>fche2008-02-232-6/+11
| | | | | * systemtap.samples/args.exp: Remove installation-specific paths from pass/fail judgements.
* PR5770: false systemtap/eof/timeout messages in testsuite.logfche2008-02-2314-16/+23
| | | | | | | 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.
* 2008-02-22 Frank Ch. Eigler <fche@elastic.org>fche2008-02-232-1/+7
| | | | | * test.tcl: Support noexec /tmp by creating test directory under build tree instead of /tmp.
* 2008-02-22 Frank Ch. Eigler <fche@elastic.org>fche2008-02-232-1/+6
| | | | | * semko/fortyfive.stp: Add ".call" to exclude false (?) positives from inlined instances defined in header files.
* PR5787, PR2608: .statement(NUM) probing fixesfche2008-02-232-0/+35
| | | | | | | | | | | | | | | | | | | 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-212-0/+5
| | | | * systemtap.base/beginenderror.exp: Increase timeout for slow machines.
* 2008-02-20 David Smith <dsmith@redhat.com>dsmith2008-02-202-3/+43
| | | | | * systemtap.base/marker.exp: Added tests for marker probe ".format" component.
* PR5766: back to regexp-based blacklistingfche2008-02-192-0/+8
| | | | | | | | | | | | | | 2008-02-19 Frank Ch. Eigler <fche@elastic.org> PR 5766. * tapsets.cxx (build_blacklist): Switch (back) to regexp-based blacklist construction ... (blacklist_p): ... and querying. 2008-02-19 Frank Ch. Eigler <fche@elastic.org> PR5766. * semko/fortyfive.stp: New test.
* PR5771: adapt to earlier error checkingfche2008-02-192-1/+7
| | | | | * transko/one.stp: Remove, or rather, move to this ... * semko/zero.stp: new file.
* 2008-02-13 Dave Brolley <brolley@redhat.com>brolley2008-02-133-0/+18
| | | | | | | | | | | | | | | | | PR5609 * staptree.h (probe::collect_derivation_chain): Now takes vector<probe*>. (probe::get_alias): New virtual method. * elaborate.h (derived_probe::collect_derivation_chain): Now takes vector<probe*>. * staptree.cxx (probe::collect_derivation_chain): Now takes vector<probe*>. Don't cast 'this' to (derived_probe*). * elaborate.cxx (derived_probe::collect_derivation_chain): Now takes vector<probe*>. (alias_derived_probe::get_alias): New virtual method. (alias_derived_probe::alias): New member. (alias_expansion_builder::build): Call checkForRecursiveExpansion and emit a diagnostic if recursion is detected. Pass alias to constructor of alias_derived_probe. (alias_expansion_builder::checkForRecursiveExpansion): New method. * coveragedb.cxx: Pass vector<probe*> on all calls to collect_derivation_chain.
* 2008-02-12 Frank Ch. Eigler <fche@elastic.org>fche2008-02-136-7/+32
| | | | | | | | * systemtap.context/context.exp: Build temporary modules under build tree, to tolerate read-only source trees. * {args,backtrace,pid}.tcl: Corresponding changes. * systemtap_test_module2.c: Add a bunch of asm("")'s to prevent inlining even better than noinline does.
* PR4393: fix relocatable-kernel global $variable accessfche2008-02-122-1/+4
| | | | | | | | | | | | | 2008-02-12 Frank Ch. Eigler <fche@elastic.org> PR 4393 * tapsets.cxx (emit_address): Support relocatable kernels. (dwarf_derived_probe ctor): Hack around for missing USHRT_MAX. * elaborate.cxx (semantic_pass): Increment rc if exception caught. 2008-02-12 Frank Ch. Eigler <fche@elastic.org> * systemtap.pass1-4/buildok.exp: No longer kfail buildok/seventeen.
* Restore accidently deleted line.hunt2008-02-071-0/+1
|
* 2008-02-07 Martin Hunt <hunt@redhat.com>hunt2008-02-072-2/+8
| | | | | * 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-063-4/+17
| | | | | | | | | | | | * stack-ia64.c (__stp_show_stack_sym): Skip printing symbol if (ip == REG_IP(regs)). 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com> * systemtap.context/backtrace.tcl: Fixed regular expressions and Added new expression for return probe on ia64. * systemtap.context/backtrace.stp(print_all_trace_info): Added trace point output before calling print_stack().
* 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-02-062-0/+12
| | | | | * systemtap.base/cmd_parse.exp: Added 'wait' between tests for preventing unexpected EOF.
* 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-02-068-22/+34
| | | | | | | | | | | * 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-042-1/+51
| | | | | | PR 4446. * systemtap.base/marker.exp: Added tests for marker "$format" variable.
* 2008-02-01 Martin Hunt <hunt@redhat.com>hunt2008-02-017-35/+112
| | | | | | PR4736 * systemtap.printf/stap_merge.tcl: Copied here so it will always be available.
* 2008-01-31 Will Cohen <wcohen@redhat.com>wcohen2008-01-312-0/+5
| | | | * systemtap.pass1-4/buildok.exp: Add some kfails.
* Allow "make clean" to succeed even if root-owned .systemtap/cache/* files exist.fche2008-01-293-4/+10
| | | | | | | | 2008-01-29 Frank Ch. Eigler <fche@elastic.org> * Makefile.am (clean-local): Allow "rm -rf" to fail due to root-owned .ko files in the local cache. * Makefile.in: Regenerated.
* perms2fche2008-01-289-0/+0
|
* PR5673: reduce total size of generated .ko's from wildly wildcarded scriptsfche2008-01-263-0/+15
| | | | | | | | | | | | | | | 2008-01-26 Frank Ch. Eigler <fche@elastic.org> PR 5673. * tapsets.cxx (dwarf_derived_probe_group): Split stap_dwarf_probes[] into bss-carried kprobes structs. Tune embedded strings for minimizing relocation-vs-fixed-buffer wastage. * tapsets.cxx (dwarf_derived_probe): Impose .maxactive() limits. 2008-01-26 Frank Ch. Eigler <fche@elastic.org> PR 5673. * testsuite/parseko/maxactive{04,05}.stp: New tests.
* typo fixfche2008-01-251-1/+1
|
* staplog crash(8) module testsfche2008-01-257-3/+77
| | | | | | | | | | | | | | | | 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.
* PR2521: configurable debuginfo search pathfche2008-01-232-0/+23
| | | | | | | | | | | 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.
* bump to version 0.6.1 in prep for snapshot releasefche2008-01-183-11/+16
| | | | | | | 2008-01-18 Frank Ch. Eigler <fche@elastic.org> * configure.ac, systemtap.spec.in: Update version to 0.6.1 * configure: Regenerated.
* PR 4936: probe pont conditions part 2; reorg in prep for full rewritingfche2008-01-185-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-17 Frank Ch. Eigler <fche@elastic.org> PR 4935. Reorganize probe condition implementation. * elaborate.cxx (add_condition): New function. (derived_probe): Remove condition member. (derived_probe ctors): Assert non-null incoming probe/location ptrs. (insert_condition_statement): Remove; turn into ... (semantic_pass_conditions): New pass-2 subpass. (semantic_pass_symbols, visit_symbol, visit_functioncall, find_var): Detect some condition-related error cases. (match_key): Change type to exp_type from tok_type. Update callers. (alias_expansion_builder): Propagate probe conditions. * staptree.cxx (probe): Remove condition field and related functions. * tapsets.cxx (dwarf_derived_probe ctor): Compute replacement wildcard-expanded probe_point preserving more of the original location. (mark_derived_probe ctor): Make similar to others - take location rather than condition parameters. * translate.cxx (emit_common_header): Tweak ordering of tmpcounter traversal and hashkey expression generation. * elaborate.h: Corresponding changes. 2008-01-17 Frank Ch. Eigler <fche@elastic.org> PR 4935. * semko/forty.stp, fortyone.stp, fortytwo.stp: New tests. * semok/twentynine.stp: Weaken test since condition expressions have become more tightly constrained.
* 2008-01-17 David Smith <dsmith@redhat.com>dsmith2008-01-173-0/+14
| | | | | | * semko/procfs11.stp: Added test for invalid use of procfs probe '$value' target variable. * semko/procfs12.stp: Ditto.
* 2008-01-16 David Smith <dsmith@redhat.com>dsmith2008-01-162-2/+44
| | | | | | PR 5608. * systemtap.base/marker.exp: Added 2 tests for treating marker arguments incorrectly.
* 2008-01-16 Eugene Teo <eteo@redhat.com>eteo2008-01-162-0/+10
| | | | | | | | | | | | | | | | | | | | | | * stapfuncs.5.in: Document signal.stp tapset functions. 2008-01-16 Eugene Teo <eteo@redhat.com> * signal.stp (get_sa_flags, get_sa_handler): New functions to return addresses of sa_flags and sa_handler of struct k_sigaction. (sigset_mask_str): New function. Returns a string containing the set of signals to be blocked when executing the signal handler. (is_sig_blocked): New function. Checks task_struct->blocked signal mask for signals that are currently blocked. (signal_str): New function. Translates a signal number. (sa_flags_str): New function. Translates the sa_flags. (sa_handler_str): New function. Returns the signal action or handler associated to the signal. 2008-01-16 Eugene Teo <eteo@redhat.com> * buildok/signal-embedded.stp: Add all new embedded C functions in signal.
* PR 4935. * systemtap.base/onoffprobe.*: Toughen test.fche2008-01-153-48/+47
|
* add git commit id as testsuite Snapshot fieldfche2008-01-132-1/+7
| | | | | | | | | | | | 2008-01-12 Frank Ch. Eigler <fche@elastic.org> * configure.ac: Generate a build tree SNAPSHOT file from git-rev-list, if we suspect the source tree came from git. * configure: Regenerated. 2008-01-12 Frank Ch. Eigler <fche@elastic.org> * lib/systemtap.exp (get_system_info): Look for $builddir/SNAPSHOT too.
* 2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-093-1/+26
| | | | | | PR5554 * systemtap.syscall/alarm.c: Fix expected output patterns on ia64. * systemtap.syscall/stat.c: Ditto.
* 2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-092-3/+13
| | | | | PR5544 * lib/stap_run.exp (stap_run): Support warning before ending probe.
* Put the ChangeLog entry in the correct place.wcohen2008-01-071-0/+9
|
* 2008-01-07 William Cohen <wcohen@redhat.com>wcohen2008-01-077-24/+36
| | | | | | | | | | * testsuite/lib/systemtap.exp (as_root): new proc. * testsuite/systemtap.context/context.exp: * testsuite/systemtap.printf/end1b.exp: * testsuite/systemtap.printf/mixed_outb.exp: * testsuite/systemtap.printf/out1b.exp: * testsuite/systemtap.printf/out2b.exp: * testsuite/systemtap.printf/out3b.exp: Use as_root proc.
* 2008-01-04 David Smith <dsmith@redhat.com>dsmith2008-01-042-1/+6
| | | | | * systemtap.base/marker.exp: Improved regexp that finds markers with arguments.
* 2007-12-12 Martin Hunt <hunt@redhat.com>hunt2007-12-126-12/+44
| | | | | | | | | | | Detect crashing stap and report as a test failure. * lib/systemtap.exp (stap_run_batch): Return -1 if stap crashed. * systemtap.pass1-4/buildko.exp: If stap_run_batch returned -1 then mark test as failed. * systemtap.pass1-4/parseko.exp: Ditto. * systemtap.pass1-4/semko.exp: Ditto. * systemtap.pass1-4/transko.exp: Ditto.
* 2007-12-05 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-12-0512-0/+154
| | | | | | | | | | | | | | | | | | 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-12-03 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-12-032-2/+8
| | | | | | | | | | | | | PR 5376 * parse.cxx (lexer::scan): Treat '*' as an alphabet if the wildcard flag is true. (parser::parse_probe_point): Call parser::next() with wildcard = true. (parser::scan_pp): Add wildcard flag and pass it to lexer::scan. (parser::next): Ditto. (parser::peek): Ditto. * parse.h : Ditto. * testsuites/perseko/twentytwo.stp: Change testcase to the wildcarded probe points with spaces.
* 2007-11-29 David Smith <dsmith@redhat.com>dsmith2007-11-292-17/+27
| | | | | | * systemtap.base/marker.exp: Gets marker list from Module.markers. K_MARKER03 is always run since it is designed to fail.
* 2007-11-27 David Smith <dsmith@redhat.com>dsmith2007-11-272-0/+8
| | | | * semok/twentyeight.stp: Tests wildcarded probe points.