summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/sdt.exp
Commit message (Collapse)AuthorAgeFilesLines
* PR11296: switch to "sys/sdt.h" in test casesFrank Ch. Eigler2010-02-181-2/+2
|
* Purge sdt utrace support.Stan Cox2010-01-041-2/+2
| | | | | | | | | | | | | | | * sdt.h (UTRACE_SDT): Remove. * tapset-utrace.cxx (utrace_derived_probe): Remove has_library and library. (utrace_derived_probe_group::emit_probe_decl): Remove mmap_callback, sdt_sem_offset, and sdt_sem_address. (utrace_derived_probe_group::emit_module_decls): Remove sdt_sem_offset and sdt_sem_address support. * tapsets.cxx (sdt_var_expanding_visitor): Remove utrace_probe. (sdt_query::handle_query_module) Remove utrace_type. (sdt_query::convert_probe): Likewise. * postgres.exp: Remove utrace testing. * sdt.exp: Likewise. * sdt_misc.exp: Likewise.
* Add experimental utrace/kprobe sdt supportStan Cox2009-06-151-12/+25
| | | | | | | | | | | | * sdt.h (EXPERIMENTAL_UTRACE_SDT, EXPERIMENTAL_KPROBE_SDT): New probe point macros. * dtrace: Add support for creating type debug info, currently invoked with --types. * tapsets.cxx (probe_table::convert_probe): New. (probe_table::convert_location): New. (dwarf_builder::build): Use it to simplify probe point handling. * sdt.exp (pbtype_flags, pbtype_mssgs): New to also test kprobe and utrace. * static_uprobes.exp (pbtype_flags, pbtype_mssgs): New to also test kprobe and utrace.
* Better sdt.exp test cleanup.David Smith2009-06-011-1/+2
| | | | * testsuite/systemtap.base/sdt.exp: Better cleanup.
* PR9995: Test for [installtest_p] && [utrace_p].Mark Wielaard2009-04-021-2/+2
|
* sdt.exp: save intermediate sdt.h-client executables for analysisFrank Ch. Eigler2009-03-211-5/+9
| | | | | | * 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-201-2/+4
| | | | | | | | | * 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.
* 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-131-4/+2
| | | | | * testsuite/lib/stap_run2.exp: Add stap_run3, called from stap_run2. * testsuite/systemtap.base/sdt.exp: Use stap_run3, for distinct test names.
* improve sdt.h compatibility and test suiteFrank Ch. Eigler2009-03-111-11/+14
| | | | | | 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.
* 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.
* PR9935. Fixed stap script typos. arg[5-10] -> $arg[5-10].Mark Wielaard2009-03-091-3/+1
| | | | | * 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-091-0/+36
* testsuite/systemtap.base/sdt.exp: New test file. * testsuite/systemtap.base/sdt.stp: Likewise. * testsuite/systemtap.base/sdt.c: Likewise.