summaryrefslogtreecommitdiffstats
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* PR2949: listings mode (stap -l PROBE)Frank Ch. Eigler2008-04-102-0/+14
| | | | | | | | | | | | | | | | 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-04-04 Masami Hiramatsu <mhiramat@redhat.com>Masami Hiramatsu2008-04-042-3/+8
| | | | | | PR 5528 * systemtap.stress/conversions.exp: Update a script to catch up recently changes of conversions.stp.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2008-03-312-1/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: 2008-03-27 Frank Ch. Eigler <fche@elastic.org> 2008-03-27 Frank Ch. Eigler <fche@elastic.org> 2008-03-26 Frank Ch. Eigler <fche@elastic.org> Revert "dummy commit" dummy commit Conflicts: ChangeLog testsuite/ChangeLog
| * 2008-03-27 Frank Ch. Eigler <fche@elastic.org>fche2008-03-272-1/+6
| | | | | | | | * systemtap.base/cmd_parse.exp: Don't assume $SHELL=bash.
* | bump autoconf* version numbers to 0.7Frank Ch. Eigler2008-03-313-11/+16
|/
* 2008-03-23 Frank Ch. Eigler <fche@elastic.org>fche2008-03-232-3/+16
| | | | | * lib/stap_run.exp (stap_run): Ignore missing debuginfo warnings. Try harder to kill stap child in case of timeouts and errors.
* 2008-03-23 Frank Ch. Eigler <fche@elastic.org>fche2008-03-232-2/+9
| | | | | | PR 5980. * lib/systemtap.exp: Set default Snapshot: value from "stap -V" output.
* 2008-03-21 Eugene Teo <eugeneteo@kernel.sg>eteo2008-03-214-0/+45
| | | | | | | | | | | | PR 5528 * tapset/conversions.stp (user_string_n, user_string_n2, user_string_n_warn, user_string_n_quoted, user_short, user_short_warn, user_int, user_int_warn, user_long, user_long_warn, user_char, user_char_warn): New user_* functions. * stapfuncs.5.in: Documented the new functions. * testsuite/systemtap.stress/conversions.stp: Test new functions. * testsuite/buildok/conversions.stp: Test new functions. * testsuite/buildok/conversions-embedded.stp: Test new functions.
* 2008-03-20 Frank Ch. Eigler <fche@elastic.org>fche2008-03-202-0/+8
| | | | | | | | PR 5956. * null.stp: New file, defining global NULL=0. PR 5956. * semko/fortyfive.stp: New test.
* * systemtap.base/maxactive.exp, probefunc.exp: Standardize pass msg.fche2008-03-153-2/+6
|
* * release prep: 0.6.2 version bumpfche2008-03-122-11/+11
| | | | | | | 2008-03-12 Frank Ch. Eigler <fche@elastic.org> * configure.ac, systemtap.spec.in: Bumped version to 0.6.2. * configure: Regenerated.
* 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
|