From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 399 invoked by alias); 13 Jan 2006 03:55:17 -0000 Received: (qmail 385 invoked by uid 9586); 13 Jan 2006 03:55:17 -0000 Date: Fri, 13 Jan 2006 03:55:00 -0000 Message-ID: <20060113035517.383.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sources.redhat.com Subject: src ChangeLog translate.cxx Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: X-SW-Source: 2006-q1/txt/msg00019.txt.bz2 List-Id: CVSROOT: /cvs/systemtap Module name: src Changes by: jistone@sourceware.org 2006-01-13 03:55:17 Modified files: . : ChangeLog translate.cxx Log message: 2006-01-12 Josh Stone PR 2056 * translate.cxx (c_unparser::aggregation_locks): Keeps track of foreach's locks on pmaps to avoid extra aggregation. (c_unparser::visit_foreach_loop): Set aggregation_locks appropriately. (c_unparser::load_aggregate, mapvar::call_prefix, mapvar::get): Use a new parameter to indicate that we should read from the already-aggregated map rather than the full pmap.. (c_unparser::visit_arrayindex c_unparser::visit_print_format, c_unparser::visit_stat_op): Use aggregation_locks to avoid taking a lock and aggregating the pmap. (c_unparser::emit_map_type_instantiations): To read from a pmap's aggregated map, we need to include map-gen.c for the _stp_map_* functions. (c_unparser::obtained_locks, varlock::varlock, varlock::~varlock): Add simple static checking to detect incompatible nested locks during translation, and flag it as an error. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.289&r2=1.290 http://sourceware.org/cgi-bin/cvsweb.cgi/src/translate.cxx.diff?cvsroot=systemtap&r1=1.90&r2=1.91