summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/labels.exp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed BZ559643 by doing 'spawn;expect;wait' instead of 'spawn;wait;expect'.David Smith2010-02-081-17/+26
| | | | | | * testsuite/systemtap.base/labels.exp: Corrected order of 'spawn;expect;wait' calls. Added 'wait' calls when needed. Also, doesn't run the "labels exe .label" test if uprobes isn't supported.
* Make labels -l .label test independent of list output order.Mark Wielaard2009-09-161-2/+9
| | | | | * testsuite/systemtap.base/labels.exp (-l .label): List all output lines individually in expect regex.
* Use iterate_over_srcfile_lines for function("func@file:N").labelStan Cox2009-04-161-0/+31
| | | | | | | | * tapsets.cxx (dwflpp::iterate_over_labels): Renamed from iterate_over_cu_labels, method signature simplified. (query_srcfile_label): New. (query_cu): Use above. * labels.exp: New tests for above.
* Improve -l output for .labelStan Cox2009-04-131-0/+15
| | | | | | * tapsets.cxx (iterate_over_cu_labels): Treat -l specially so the output of a .label can be improved. * labels.stp: Test -l
* Consider function when handling .labelStan Cox2009-04-081-3/+10
| | | | | | * tapsets.cxx(dwflpp::iterate_over_cu_labels): New parameter function. Do wildcard match for function. * testsuite/systemtap.base/labels.exp: Test .label function handling.
* Do not do a partial name comparison for .label.Stan Cox2009-04-081-7/+8
| | | | * tapsets.cxx (dwflpp::iterate_over_cu_labels): Compare with strcmp not strncmp.
* introduce [utrace_p] as dejagnu check for utrace presence in kernelFrank Ch. Eigler2009-04-011-9/+1
| | | | | | * testsuite/lib/systemtap.exp: Define here. * testsuite/systemtap.*/*.exp: Use it here. Eliminate duplicated utrace_support_present logic.
* Use alternate keywords for sdt.hStan Cox2009-03-091-1/+1
| | | | * include/sys/sdt.h: Initialize args when declaring. Use alternate keywords.
* 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).
* Better testcase cleanup.David Smith2009-02-181-3/+6
| | | | | | 2009-02-18 David Smith <dsmith@redhat.com> * systemtap.base/labels.exp: Better cleanup.
* Add test for .label("label")Stan Cox2009-02-011-0/+67