summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorjistone <jistone>2006-01-13 03:55:16 +0000
committerjistone <jistone>2006-01-13 03:55:16 +0000
commit57eedf94519f1b2a5bd1baedcdff6bedb1966901 (patch)
treeb2c0fa7697f78ff7e128edbb8c65169f544218d3 /ChangeLog
parent7930d37914f1afab2cc53fe42e55e103f0d7537f (diff)
downloadsystemtap-steved-57eedf94519f1b2a5bd1baedcdff6bedb1966901.tar.gz
systemtap-steved-57eedf94519f1b2a5bd1baedcdff6bedb1966901.tar.xz
systemtap-steved-57eedf94519f1b2a5bd1baedcdff6bedb1966901.zip
2006-01-12 Josh Stone <joshua.i.stone@intel.com>
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e2bccfc6..08fa89da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2006-01-12 Josh Stone <joshua.i.stone@intel.com>
+
+ 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.
+
2006-01-11 Josh Stone <joshua.i.stone@intel.com>
PR 2140