summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* 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.