]> sourceware.org Git - systemtap.git/commit
2006-12-07 Josh Stone <joshua.i.stone@intel.com>
authorjistone <jistone>
Fri, 8 Dec 2006 02:17:09 +0000 (02:17 +0000)
committerjistone <jistone>
Fri, 8 Dec 2006 02:17:09 +0000 (02:17 +0000)
commit16e8f21f336bcfc16a1174be8a8143668dbd0118
treec967ecdec501b69910a16ee0f50317434ed49675
parente0d86324628566cedd055ed038fd487c12db676a
2006-12-07  Josh Stone  <joshua.i.stone@intel.com>

PR 3624.
* tapsets.cxx (struct be_derived_probe): Add a new priority parameter
for begin/end probes, and a comparison function for sorting.
(be_builder::build): Parse the priority & pass it to be_derived_probe.
(be_derived_probe_group::emit_module_init, emit_module_exit): Sort the
probe list by priority before emitting any code.
(register_standard_tapsets): Add new begin/end variants.
* parse.cxx (parser::parse_literal): Allow negative numeric literals,
by checking for a '-' unary operator right before a number.

testsuite/
* systemtap.base/be_order.exp, systemtap.base/be_order.stp,
semok/beginend.stp:  New tests for begin/end priorities.

* lib/stap_run.exp: Anchor OUTPUT_CHECK_STRING to the end of output.
* systemtap.base/maxactive.exp: Fix to compare output to the end.
* systemtap.base/probefunc.exp: Ditto.
* systemtap.samples/ioblocktest.exp: Ditto.
* systemtap.samples/ioblocktest.stp: Ditto.
* systemtap.samples/tcptest.exp: Ditto.
13 files changed:
ChangeLog
parse.cxx
tapsets.cxx
testsuite/ChangeLog
testsuite/lib/stap_run.exp
testsuite/semok/beginend.stp [new file with mode: 0755]
testsuite/systemtap.base/be_order.exp [new file with mode: 0644]
testsuite/systemtap.base/be_order.stp [new file with mode: 0644]
testsuite/systemtap.base/maxactive.exp
testsuite/systemtap.base/probefunc.exp
testsuite/systemtap.samples/ioblocktest.exp
testsuite/systemtap.samples/ioblocktest.stp
testsuite/systemtap.samples/tcptest.exp
This page took 0.075677 seconds and 5 git commands to generate.