summaryrefslogtreecommitdiffstats
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Version bumps for 0.9.5 releaseJosh Stone2009-03-274-589/+753
| | | |
| * | | PR10000: emit _stp_relocate* calculations correctly for kernel/module global ↵Frank Ch. Eigler2009-03-271-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $data * translate.cxx (dump_unwindsyms): Also emit STT_OBJECT symbols, therefore .data etc. sections into stap-symbols.h. * tapsets.cxx (iterate_over_modules): Omit a dwfl_getmodules() RC-checking assertion that blocked meaningful $context var error messages. (dwflpp::emit_address): Bypass dwfl_module_relocate_address() for kernel symbols as it has been unreliable; subtract sess.sym_stext manually. * testsuite/buildok/seventeen.stp: Extend test with module $global.
| * | | .gitignore: Add testsuite exe and so files and initscript systemtap.Mark Wielaard2009-03-271-0/+3
| | | |
| * | | Add testcase for uprobe on shared library (PR9940).Mark Wielaard2009-03-244-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/systemtap.base/uprobes_exe.c: New file. * testsuite/systemtap.base/uprobes_lib.c: New file. * testsuite/systemtap.base/uprobes_lib.exp: New file. * testsuite/systemtap.base/uprobes_lib.stp: New file.
| * | | PR9993: tracepoint toleration for undeclared types in trace/*.h headersFrank Ch. Eigler2009-03-241-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (tracepoint_extra_headers): New function to return needed header file names. (emit_module_decls): Emit them. * buildrun.cxx (make_tracequery): Emit them. * testsuite/systemtap.base/tracepoints.exp: Rewrite to exercise building each tracepoint.
* | | | Wrap vma callbacks in STP_NEED_VMA_TRACKER.Mark Wielaard2009-04-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Will be defined by new ucontext symbol stapset. * tapset.cxx: Wrap all vma callbacks in STP_NEED_VMA_TRACKER. * testsuite/systemtap.context/usymbols.exp: Define STP_NEED_VMA_TRACKER explicitly for now.
* | | | Merge branch 'master' into pr6866Mark Wielaard2009-03-225-20/+45
|\| | |
| * | | sdt.exp: save intermediate sdt.h-client executables for analysisFrank Ch. Eigler2009-03-213-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | * testsuite/lib/stap_run2.exp (stap_run3): Put supplied stap extra arguments after the .stp script name, not before, so that @1/such arguments can be substituted within.
| * | | Define static user probe point using asm instead of c.Stan Cox2009-03-202-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * includes/sys/sdt.h (STAP_PROBE_DATA): New. Define the probe point using asm instead of c. (STAP_PROBEN): Use it. * testsuite/systemtap.base/sdt.exp: Continue if a compile fails. * testsuite/systemtap.base/static_uprobes.exp: Don't test setting probe without .probes section.
| * | | Added functions to grab IP source and destination from a socket, andBreno Leitao2009-03-201-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | functions to grab TCP source and destination port from a socket. Also, used this function inside some TCP probe functions, as recvmsg, to provide a richer set of fields.
* | | | Emit vma callbacks for uprobes.Mark Wielaard2009-03-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (uprobe_derived_probe_group::emit_module_decls): Emit vma callbacks. (uprobe_derived_probe_group::emit_module_init): Activate vma callbacks. * testsuite/systemtap.context/usymbols.exp: Track through uprobes, so as to make sure we have the symbols.
* | | | Merge branch 'master' into pr6866Mark Wielaard2009-03-201-5/+2
|\| | |
| * | | rename process().itrace -> process().insn introduce process().insn.blockFrank Ch. Eigler2009-03-191-5/+2
| | | |
* | | | Merge branch 'master' into pr6866Mark Wielaard2009-03-189-35/+80
|\| | |
| * | | Replace systemtap.samples/ioblocktest.stp with ioblktime.stp.William Cohen2009-03-178-23/+74
| | | |
| * | | Improve static_uprobes.expStan Cox2009-03-171-12/+6
| | | | | | | | | | | | | | | | * systemtap.base/static_uprobes.exp: Compile with -x c++. Test .probes absence.
* | | | Make stap_run send_log of command to execute.Mark Wielaard2009-03-181-0/+1
| | | | | | | | | | | | | | | | * testsuite/lib/stap_run.exp (tap_run): Add send_log of cmd.
* | | | Merge branch 'master' into pr6866Mark Wielaard2009-03-1766-129/+617
|\| | | | | | | | | | | | | | | | | | | Resolved conflicts: runtime/task_finder.c: name vs path.
| * | | Add pid-based data lookup function.Wenji Huang2009-03-162-1/+5
| | | | | | | | | | | | | | | | Two functions pid2task and pid2execname.
| * | | Add -ansi -pedantic pair to sdt test.Mark Wielaard2009-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | * testsuite/systemtap.base/sdt.exp: Add additional_flags -ansi together with -pedantic.
| * | | Add -O2 and -O3 as extra test flags to sdt.Mark Wielaard2009-03-131-1/+1
| | | | | | | | | | | | | | | | * testsuite/systemtap.base/sdt.exp: Add -O2, -O3.
| * | | Introduce stap_run3 for distinct test names.Mark Wielaard2009-03-132-8/+21
| | |/ | |/| | | | | | | | | | * testsuite/lib/stap_run2.exp: Add stap_run3, called from stap_run2. * testsuite/systemtap.base/sdt.exp: Use stap_run3, for distinct test names.
| * | Add test to compile and run all tracepointsJosh Stone2009-03-112-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | This checks that kernel.trace("*") will compile, with all context variables accessed as well. For kernels without tracepoints, it will just hit a "begin" and quit. This doesn't ensure that kernel.trace("*") will always find something when it should, though...
| * | Add simple testcases for @castJosh Stone2009-03-113-0/+39
| | |
| * | improve sdt.h compatibility and test suiteFrank Ch. Eigler2009-03-112-11/+16
| | | | | | | | | | | | | | | | | | Replaced cpp VA_ARGS in sdt.h with explicit enumeration of arguments (since with -pedantic, cpp has no varargs), and added a few more cflags variants to the sdt.exp test case.
| * | PR 7071: Optional $context variables fixRajan Arora2009-03-111-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (dwarf_var_expanding_visitor::visit_target_symbol): Substitute erroneous target symbol with literal 0 if session level flag, skip_badvars is set. * session.h (struct systemtap_session): New flag: skip_badvars. * main.cxx: Command line argument --skip-badvars added. * stap.1.in: Entry for new option --skip-badvars. * NEWS: Added blurb for new option now available. * testsuite/semok/badvar.stp: Test case to check added functionality.
| * | Run the tests for each member of a list of extra options.Stan Cox2009-03-111-1/+30
| | | | | | | | | | | | * testsuite/systemtap.base/sdt.h: Add extra_flags and g++ as a test language.
| * | Use alternate keywords for sdt.hStan Cox2009-03-091-1/+1
| | | | | | | | | | | | * include/sys/sdt.h: Initialize args when declaring. Use alternate keywords.
| * | PR9935. Fixed stap script typos. arg[5-10] -> $arg[5-10].Mark Wielaard2009-03-092-9/+7
| | | | | | | | | | | | | | | * testsuite/systemtap.base/sdt.exp: Enable stap_run2 when installtest_p. * testsuite/systemtap.base/sdt.stp: Fixed all arg to $arg typos.
| * | Add PR9935 number to sdt.exp disabled test.Mark Wielaard2009-03-091-1/+1
| | |
| * | Add new sdt.exp testcase.Mark Wielaard2009-03-093-0/+154
| | | | | | | | | | | | | | | | | | * testsuite/systemtap.base/sdt.exp: New test file. * testsuite/systemtap.base/sdt.stp: Likewise. * testsuite/systemtap.base/sdt.c: Likewise.
| * | Make stap_run2 count exact number of lines.Mark Wielaard2009-03-0939-71/+38
| | | | | | | | | | | | | | | * testsuite/lib/stap_run2.exp: Compare found and expected number of lines. * testsuite/systemtap.*/*.exp (result_string): Make number of lines exact.
| * | Minor changes to labels.exp.Stan Cox2009-03-081-6/+6
| | |
| * | Fix and add tests for function(".so").statement(N)Stan Cox2009-03-081-3/+83
| | | | | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (query_dwarf_func): die_has_pc (dwarf_haspc) does not expect a module_start for shared objects so don't call module_address_to_global for the statement address. * testsuite/systemtap.base/labels.exp: Add tests for executable .statement(N), shared object .label("L") and so .statement(N).
| * | PR9919: Set last_stmt for array (scalar or statistical) assignments.Mark Wielaard2009-03-042-0/+54
| |/ | | | | | | * translate.cxx (visit_arrayindex): Update last_stmt.
| * Merge branch 'gtod'Josh Stone2009-02-231-0/+29
| |\
| | * Add a testcase for gtod init/killJosh Stone2009-02-231-0/+29
| | | | | | | | | | | | | | | | | | This test simply checks that _gettimeofday_init and _gettimeofday_kill are pulled in when gettimeofday is used, and also that they are NOT pulled in when gettimeofday is not used.
| * | Improve static probe: c++ navigation, -l output.Stan Cox2009-02-231-3/+3
| |/ | | | | | | | | | | | | * tapsets.cxx (dwflpp::build): Improve c+ method navigation. Use .label for listing mode. * systemtap.base/static_uprobes.exp: Test multiple invocations of the same probe per block. (SW9770)
| * make all examples executableEugeniy Meshcheryakov2009-02-217-0/+0
| |
| * Check for required resources and tools before attempting tests using the ↵Dave Brolley2009-02-203-11/+42
| | | | | | | | | | | | client/server. Ensure that tests run with/without the server have unique names.
| * Merge branch 'master' of git://sources.redhat.com/git/systemtapDave Brolley2009-02-206-2817/+82
| |\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog testsuite/ChangeLog
| | * Better testcase cleanup.David Smith2009-02-202-3/+3
| | | | | | | | | | | | | | | | | | | | | 2009-02-20 David Smith <dsmith@redhat.com> * systemtap.base/cache.exp (stap_compile): Better cleanup. * static_uprobes.exp: Ditto.
| * | New basic tests for client/server.Dave Brolley2009-02-203-44/+103
| | |
* | | Merge branch 'master' into pr6866Mark Wielaard2009-02-2075-3439/+977
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog: Removed runtime/ChangeLog: Removed runtime/sym.c: Merged runtime/task_finder.c: Merged tapset/ChangeLog: Removed testsuite/ChangeLog: Removed
| * | Kill all ChangeLogsJosh Stone2009-02-194-2801/+62
| | | | | | | | | | | | | | | | | | Mark Wielaard, a dear friend of the departed, will be performing a song and dance at the funeral services to commemorate the joyous times that they had together.
| * | static_uprobes test case cleanupFrank Ch. Eigler2009-02-192-12/+23
| |/
| * Adding test case for PR9719 fixRajan Arora2009-02-181-0/+8
| |
| * Always emit .probes section; use .label method as a backup strategyStan Cox2009-02-182-3/+8
| |
| * Handles errors better.David Smith2009-02-182-1/+6
| | | | | | | | | | | | | | 2009-02-18 David Smith <dsmith@redhat.com> * systemtap.base/static_uprobes.exp: Handles errors from running 'dtrace' python script better.
| * Better testcase cleanup.David Smith2009-02-182-3/+10
| | | | | | | | | | | | 2009-02-18 David Smith <dsmith@redhat.com> * systemtap.base/labels.exp: Better cleanup.