summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base
Commit message (Collapse)AuthorAgeFilesLines
* Add test suite for declaration resolutionJames Bottomley2008-07-092-40/+19
| | | | | | | | | | This adds the test declaration.exp which checks that specific named declarations inside the kernel both fail and succeed. We get the failure by only using a single compile unit which is currently known to have the structure stubbed. We get exactly the same declaration to succeed by adding a CU that is known to have the declaration. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
* Added tests for 'process(PID)' variants.David Smith2008-06-271-6/+62
| | | | | | | 2008-06-27 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Added tests for 'process(PID)' variants.
* Update documentation for .statement wildcard.Stan Cox2008-06-232-10/+10
|
* Add kernel.statement("Func@File:*) and kernel.statement("Func@File:X-Y)Stan Cox2008-06-232-1/+29
|
* Add tests for new statement optimizations.Josh Stone2008-06-182-0/+100
| | | | | * systemtap.base/optim_voidstmt.stp: Add tests for various statement optimizations that we should now be eliding.
* Hack optim_arridx to avoid more optimization than intendedJosh Stone2008-06-182-2/+2
|
* warning/error message compaction by removing duplicated token file namesFrank Ch. Eigler2008-06-162-2/+1
|
* Bug 6611: read-only variable typo warnings should list alternatives.Stan Cox2008-06-162-2/+12
|
* Micro-optimize print_warning output. Fix warnings.exp line count.Mark Wielaard2008-06-111-1/+1
|
* utrace thread.begin and thread.end probe test fixes.David Smith2008-06-112-5/+11
| | | | | | | | | 2008-06-11 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p5.exp: Made changes to work when not configured in the src directory. * systemtap.base/utrace_p5_multi.c: Made changes to work on x86_64 systems.
* Added .thread.begin and .thread.end utrace probe tests.David Smith2008-06-112-2/+107
| | | | | | | | | | 2008-06-11 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p5.exp: Added 'process().thread.begin' and 'process().thread.end' tests. * systemtap.base/utrace_p5_multi.c: Added multi-threaded test program for utrace_p5.exp. * .gitignore: Updated.
* Eliminate duplicate warnings.Stan Cox2008-06-111-1/+1
|
* PR6470: new argv[] tapset, docs, test casesFrank Ch. Eigler2008-06-101-0/+37
|
* Add test and doc for kernel.statement relative line number.Stan Cox2008-06-092-0/+52
|
* Changed/renamed utrace probes.David Smith2008-06-062-44/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-06 David Smith <dsmith@redhat.com> * tapsets.cxx (enum utrace_derived_probe_flags): Redefined in terms of probe types instead of utrace events. (utrace_var_expanding_copy_visitor::visit_target_symbol): Uses new utrace_derived_probes_flags values. (utrace_builder::build): Handles new probe types and new utrace_derived_probes_flags values. (utrace_derived_probe_group::emit_probe_decl): Updated to handle new utrace_derived_probe_flags values. (utrace_derived_probe_group::emit_module_decls): Ditto. Also correctly handles 'begin' events correctly by installing a quiesce handler (instead of running the probe directly). (register_standard_tapsets): Registers updated utrace probe types. 2008-06-06 David Smith <dsmith@redhat.com> * task_finder.c: Added some debug logic. Use '-DDEBUG_TASK_FINDER' to enable. (stap_utrace_attach): Renamed from '__stp_utrace_attach'. (__stp_utrace_attach_match_filename): Calls callback with notification that this is a process or thread event. (__stp_utrace_attach_match_tsk): Ditto. (__stp_utrace_task_finder_report_clone): Ditto. (__stp_utrace_task_finder_report_exec): Ditto. (stap_utrace_task_finder_report_death): Ditto. (stap_start_task_finder): Ditto. (stap_stop_task_finder): Added debug logic. 2008-06-06 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Updated for utrace probe changes. * systemtap.base/utrace_p5.exp: Ditto.
* PR 6562, Modify SYSTEMTAP_DEBUGINFO_PATH behaviour.Srikar Dronamraju2008-05-301-1/+2
|
* Add debuginfo path for self-built kernel in systemtap.base/debugpath.expWenji Huang2008-05-301-1/+1
|
* Check that errors in nested functions are not lost on returnJosh Stone2008-05-282-0/+24
| | | | Currently this test fails, as noted in bugzilla 6529.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2008-05-281-2/+3
|\ | | | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: Create user based cache dir in testsuite. Refresh cscope.files. Add prototypes for using the 2.6.26 probe_kernel_* functions.
| * Create user based cache dir in testsuite.Mark Wielaard2008-05-281-2/+3
| |
* | Revert "testsuite: use catch{close}catch{wait} to ensure child process ↵Frank Ch. Eigler2008-05-2815-25/+30
|/ | | | | | pipe/zombie cleanup" This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2.
* 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.