From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10629 invoked by alias); 8 Dec 2006 02:17:11 -0000 Received: (qmail 10616 invoked by uid 9586); 8 Dec 2006 02:17:10 -0000 Date: Fri, 08 Dec 2006 02:17:00 -0000 Message-ID: <20061208021710.10614.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: src ./ChangeLog ./parse.cxx ./tapsets.cxx test ... Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: X-SW-Source: 2006-q4/txt/msg00132.txt.bz2 CVSROOT: /cvs/systemtap Module name: src Changes by: jistone@sourceware.org 2006-12-08 02:17:10 Modified files: . : ChangeLog parse.cxx tapsets.cxx testsuite : ChangeLog testsuite/lib : stap_run.exp testsuite/systemtap.base: maxactive.exp probefunc.exp testsuite/systemtap.samples: ioblocktest.exp ioblocktest.stp tcptest.exp Added files: testsuite/semok: beginend.stp testsuite/systemtap.base: be_order.exp be_order.stp Log message: 2006-12-07 Josh Stone 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. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.515&r2=1.516 http://sourceware.org/cgi-bin/cvsweb.cgi/src/parse.cxx.diff?cvsroot=systemtap&r1=1.56&r2=1.57 http://sourceware.org/cgi-bin/cvsweb.cgi/src/tapsets.cxx.diff?cvsroot=systemtap&r1=1.166&r2=1.167 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/ChangeLog.diff?cvsroot=systemtap&r1=1.32&r2=1.33 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/lib/stap_run.exp.diff?cvsroot=systemtap&r1=1.4&r2=1.5 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semok/beginend.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/systemtap.base/be_order.exp.diff?cvsroot=systemtap&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/systemtap.base/be_order.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/systemtap.base/maxactive.exp.diff?cvsroot=systemtap&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/systemtap.base/probefunc.exp.diff?cvsroot=systemtap&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/systemtap.samples/ioblocktest.exp.diff?cvsroot=systemtap&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/systemtap.samples/ioblocktest.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/systemtap.samples/tcptest.exp.diff?cvsroot=systemtap&r1=1.3&r2=1.4