Author: njn Date: 2007-11-10 04:08:08 +0000 (Sat, 10 Nov 2007) New Revision: 7133
Log: Changed Massif to record the 'slop' heap bytes caused by rounding asked-for sizes up to a multiple of 8 (or whatever --alignment is). This is combined with the "admin" bytes, resulting in the "extra" bytes. Added VG_(malloc_usable_size) to the tool interface to support this. Modified: trunk/coregrind/m_mallocfree.c trunk/coregrind/pub_core_mallocfree.h trunk/include/pub_tool_mallocfree.h trunk/massif/ms_main.c trunk/massif/ms_print.in trunk/massif/tests/alloc-fns-A.post.exp trunk/massif/tests/alloc-fns-B.post.exp trunk/massif/tests/alloc-fns.c trunk/massif/tests/basic.c trunk/massif/tests/basic.post.exp trunk/massif/tests/big-alloc.post.exp trunk/massif/tests/culling1.c trunk/massif/tests/culling1.stderr.exp trunk/massif/tests/culling2.stderr.exp trunk/massif/tests/custom_alloc.post.exp trunk/massif/tests/deep-A.post.exp trunk/massif/tests/deep-B.post.exp trunk/massif/tests/deep-B.stderr.exp trunk/massif/tests/deep-C.post.exp trunk/massif/tests/deep-C.stderr.exp trunk/massif/tests/deep-D.post.exp trunk/massif/tests/deep.c trunk/massif/tests/ignoring.c trunk/massif/tests/ignoring.post.exp trunk/massif/tests/insig.c trunk/massif/tests/insig.post.exp trunk/massif/tests/insig.vgtest trunk/massif/tests/long-time.post.exp trunk/massif/tests/new-cpp.post.exp trunk/massif/tests/no-stack-no-heap.post.exp trunk/massif/tests/null.post.exp trunk/massif/tests/one.post.exp trunk/massif/tests/overloaded-new.post.exp trunk/massif/tests/peak.c trunk/massif/tests/peak.post.exp trunk/massif/tests/peak.vgtest trunk/massif/tests/peak2.post.exp trunk/massif/tests/peak2.stderr.exp trunk/massif/tests/peak2.vgtest trunk/massif/tests/realloc.c trunk/massif/tests/realloc.post.exp trunk/massif/tests/realloc.stderr.exp trunk/massif/tests/thresholds.c trunk/massif/tests/thresholds_0_0.post.exp trunk/massif/tests/thresholds_0_10.post.exp trunk/massif/tests/thresholds_10_0.post.exp trunk/massif/tests/thresholds_10_10.post.exp trunk/massif/tests/thresholds_5_0.post.exp trunk/massif/tests/thresholds_5_10.post.exp trunk/massif/tests/zero1.post.exp trunk/massif/tests/zero2.post.exp [... diff too large to include ...] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers