You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(12) |
|
2
(6) |
3
(13) |
4
(9) |
5
(6) |
6
(8) |
7
(5) |
8
(5) |
|
9
(15) |
10
(18) |
11
(18) |
12
(18) |
13
(7) |
14
(11) |
15
(6) |
|
16
(12) |
17
(28) |
18
(15) |
19
(12) |
20
(17) |
21
(23) |
22
(10) |
|
23
(9) |
24
(11) |
25
(7) |
26
(21) |
27
(12) |
28
(6) |
29
(6) |
|
30
(8) |
|
|
|
|
|
|
|
From: <js...@ac...> - 2007-09-23 13:22:35
|
Nightly build on minnie ( SuSE 10.0, ppc32 ) started at 2007-09-23 09:00:01 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 220 tests, 10 stderr failures, 6 stdout failures, 0 posttest failures == memcheck/tests/leak-tree (stderr) memcheck/tests/leakotron (stdout) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-fp (stderr) none/tests/ppc32/round (stdout) none/tests/ppc32/round (stderr) none/tests/ppc32/test_fx (stdout) none/tests/ppc32/test_fx (stderr) none/tests/ppc32/test_gx (stdout) |
|
From: Tom H. <th...@cy...> - 2007-09-23 02:30:56
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2007-09-23 03:15:02 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 256 tests, 27 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-pool-0 (stderr) memcheck/tests/leak-pool-1 (stderr) memcheck/tests/leak-pool-2 (stderr) memcheck/tests/leak-pool-3 (stderr) memcheck/tests/leak-pool-4 (stderr) memcheck/tests/leak-pool-5 (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/partial_load_dflt (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/xor-undef-x86 (stderr) memcheck/tests/xml1 (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2007-09-23 02:23:15
|
Nightly build on dellow ( x86_64, Fedora 7 ) started at 2007-09-23 03:10:03 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 293 tests, 4 stderr failures, 4 stdout failures, 0 posttest failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) memcheck/tests/xml1 (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/pth_cvsimple (stdout) none/tests/pth_detached (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 293 tests, 4 stderr failures, 2 stdout failures, 0 posttest failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) memcheck/tests/xml1 (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Sep 23 03:16:42 2007 --- new.short Sun Sep 23 03:23:18 2007 *************** *** 8,10 **** ! == 293 tests, 4 stderr failures, 2 stdout failures, 0 posttest failures == memcheck/tests/pointer-trace (stderr) --- 8,10 ---- ! == 293 tests, 4 stderr failures, 4 stdout failures, 0 posttest failures == memcheck/tests/pointer-trace (stderr) *************** *** 15,16 **** --- 15,18 ---- none/tests/mremap2 (stdout) + none/tests/pth_cvsimple (stdout) + none/tests/pth_detached (stdout) |
|
From: Tom H. <th...@cy...> - 2007-09-23 02:17:20
|
Nightly build on lloyd ( x86_64, Fedora Core 3 ) started at 2007-09-23 03:05:06 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 293 tests, 6 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/xml1 (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2007-09-23 02:11:20
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2007-09-23 03:00:02 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 295 tests, 6 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: <sv...@va...> - 2007-09-23 01:14:24
|
Author: njn
Date: 2007-09-23 02:14:25 +0100 (Sun, 23 Sep 2007)
New Revision: 6904
Log:
Got realloc working, added a test for it.
Added:
branches/MASSIF2/massif/tests/realloc.c
branches/MASSIF2/massif/tests/realloc.post.exp
branches/MASSIF2/massif/tests/realloc.stderr.exp
branches/MASSIF2/massif/tests/realloc.vgtest
Modified:
branches/MASSIF2/massif/ms_main.c
branches/MASSIF2/massif/ms_print
branches/MASSIF2/massif/tests/Makefile.am
branches/MASSIF2/massif/tests/culling1.stderr.exp
branches/MASSIF2/massif/tests/culling2.stderr.exp
Modified: branches/MASSIF2/massif/ms_main.c
===================================================================
--- branches/MASSIF2/massif/ms_main.c 2007-09-23 00:55:20 UTC (rev 6903)
+++ branches/MASSIF2/massif/ms_main.c 2007-09-23 01:14:25 UTC (rev 6904)
@@ -31,7 +31,7 @@
// XXX:
//---------------------------------------------------------------------------
// Todo:
-// - do a test for realloc -- I think no snapshots are being taken for it.
+// - do a graph-drawing test
// - do tests with complicated stack traces -- big ones, ones that require
// XCon_redo, ones that exceed --depth, etc.
// - test what happens when alloc-fns cover an entire trace
@@ -236,6 +236,7 @@
static UInt n_dupd_xpts_freed = 0;
static UInt n_allocs = 0;
static UInt n_zero_allocs = 0;
+static UInt n_reallocs = 0;
static UInt n_frees = 0;
static UInt n_xpt_init_expansions = 0;
static UInt n_xpt_later_expansions = 0;
@@ -1282,6 +1283,9 @@
SizeT old_size;
XPt *old_where, *new_where;
+ // Update statistics
+ n_reallocs++;
+
// Remove the old block
hc = VG_(HT_remove)(malloc_list, (UWord)p_old);
if (hc == NULL) {
@@ -1329,6 +1333,9 @@
// than growing it, and this way simplifies the growing case.
VG_(HT_add_node)(malloc_list, hc);
+ // Do a snapshot!
+ take_snapshot("realloc");
+
return p_new;
}
@@ -1666,6 +1673,7 @@
VERB("zeroallocs: %u (%d%%)",
n_zero_allocs,
( n_allocs ? n_zero_allocs * 100 / n_allocs : 0 ));
+ VERB("reallocs: %u", n_reallocs);
VERB("frees: %u", n_frees);
VERB("XPts: %u", n_xpts);
VERB("top-XPts: %u (%d%%)",
Modified: branches/MASSIF2/massif/ms_print
===================================================================
--- branches/MASSIF2/massif/ms_print 2007-09-23 00:55:20 UTC (rev 6903)
+++ branches/MASSIF2/massif/ms_print 2007-09-23 01:14:25 UTC (rev 6904)
@@ -30,6 +30,8 @@
use warnings;
use strict;
+# XXX: need to label axes with the unit
+
#----------------------------------------------------------------------------
# Global variables, main data structures
#----------------------------------------------------------------------------
Modified: branches/MASSIF2/massif/tests/Makefile.am
===================================================================
--- branches/MASSIF2/massif/tests/Makefile.am 2007-09-23 00:55:20 UTC (rev 6903)
+++ branches/MASSIF2/massif/tests/Makefile.am 2007-09-23 01:14:25 UTC (rev 6904)
@@ -13,6 +13,7 @@
culling2.stderr.exp culling2.vgtest \
long-time.post.exp long-time.stderr.exp long-time.vgtest \
null.post.exp null.stderr.exp null.vgtest \
+ realloc.post.exp realloc.stderr.exp realloc.vgtest \
thresholds_0_0.post.exp thresholds_0_0.stderr.exp thresholds_0_0.vgtest \
thresholds_0_10.post.exp thresholds_0_10.stderr.exp thresholds_0_10.vgtest \
thresholds_10_0.post.exp thresholds_10_0.stderr.exp thresholds_10_0.vgtest \
@@ -32,6 +33,7 @@
culling1 culling2 \
long-time \
null \
+ realloc \
thresholds \
zero
Modified: branches/MASSIF2/massif/tests/culling1.stderr.exp
===================================================================
--- branches/MASSIF2/massif/tests/culling1.stderr.exp 2007-09-23 00:55:20 UTC (rev 6903)
+++ branches/MASSIF2/massif/tests/culling1.stderr.exp 2007-09-23 01:14:25 UTC (rev 6904)
@@ -363,6 +363,7 @@
Massif: New time interval = 40 (between snapshots 0 and 1)
Massif: allocs: 200
Massif: zeroallocs: 0 (0%)
+Massif: reallocs: 0
Massif: frees: 0
Massif: XPts: 2
Massif: top-XPts: 1 (50%)
Modified: branches/MASSIF2/massif/tests/culling2.stderr.exp
===================================================================
--- branches/MASSIF2/massif/tests/culling2.stderr.exp 2007-09-23 00:55:20 UTC (rev 6903)
+++ branches/MASSIF2/massif/tests/culling2.stderr.exp 2007-09-23 01:14:25 UTC (rev 6904)
@@ -516,6 +516,7 @@
Massif: New time interval = 284 (between snapshots 1 and 2)
Massif: allocs: 200
Massif: zeroallocs: 1 (0%)
+Massif: reallocs: 0
Massif: frees: 0
Massif: XPts: 2
Massif: top-XPts: 1 (50%)
Added: branches/MASSIF2/massif/tests/realloc.c
===================================================================
--- branches/MASSIF2/massif/tests/realloc.c (rev 0)
+++ branches/MASSIF2/massif/tests/realloc.c 2007-09-23 01:14:25 UTC (rev 6904)
@@ -0,0 +1,19 @@
+#include <stdlib.h>
+
+int main(void)
+{
+ int* x = realloc(NULL, 100); // equivalent to malloc(100), and ends up
+ // calling Valgrind's (and Massif's) malloc
+
+ x = realloc(x, 100); // same size
+
+ x = realloc(x, 50); // smaller
+
+ x = realloc(x, 150); // bigger
+
+ realloc(x+10, 200); // bogus realloc
+
+ x = realloc(x, 0); // equivalent to free(x), and ends up
+ // calling Valgrind's (and Massif's) free
+ return 0;
+}
Added: branches/MASSIF2/massif/tests/realloc.post.exp
===================================================================
--- branches/MASSIF2/massif/tests/realloc.post.exp (rev 0)
+++ branches/MASSIF2/massif/tests/realloc.post.exp 2007-09-23 01:14:25 UTC (rev 6904)
@@ -0,0 +1,41 @@
+--------------------------------------------------------------------------------
+Command: ./realloc
+Massif arguments: --stacks=no --heap-admin=0 --time-unit=B
+ms_print arguments: massif.out
+--------------------------------------------------------------------------------
+
+
+150 | :
+ | :
+ | :
+ | :
+ | :
+ | :
+ | :
+ | : :
+ | : :
+ | : :
+ | : :
+ | : :
+ | : :
+ | : . :
+ | : : :
+ | : : :
+ | : : :
+ | : : :
+ | : : :
+ | : : :
+ 0 +------------------------------------------------------------------------
+
+
+Number of snapshots: 6
+ Detailed snapshots: []
+--------------------------------------------------------------------------------
+ n time(B) total(B) useful-heap(B) admin-heap(B) stacks(B)
+--------------------------------------------------------------------------------
+ 0 0 0 0 0 0
+ 1 100 100 100 0 0
+ 2 100 100 100 0 0
+ 3 150 50 50 0 0
+ 4 250 150 150 0 0
+ 5 400 0 0 0 0
Added: branches/MASSIF2/massif/tests/realloc.stderr.exp
===================================================================
--- branches/MASSIF2/massif/tests/realloc.stderr.exp (rev 0)
+++ branches/MASSIF2/massif/tests/realloc.stderr.exp 2007-09-23 01:14:25 UTC (rev 6904)
@@ -0,0 +1,27 @@
+Massif: alloc-fns:
+Massif: 1: calloc
+Massif: 2: realloc
+Massif: 3: memalign
+Massif: 4: __builtin_new
+Massif: 5: __builtin_vec_new
+Massif: 6: malloc
+Massif: startup snapshot 0 (t = 0 B)
+Massif: alloc snapshot 1 (t = 100 B)
+Massif: realloc snapshot 2 (t = 100 B)
+Massif: realloc snapshot 3 (t = 150 B)
+Massif: realloc snapshot 4 (t = 250 B)
+Massif: dealloc snapshot 5 (t = 400 B)
+Massif: allocs: 1
+Massif: zeroallocs: 0 (0%)
+Massif: reallocs: 4
+Massif: frees: 1
+Massif: XPts: 5
+Massif: top-XPts: 4 (80%)
+Massif: dup'd XPts: 0
+Massif: dup'd/freed XPts: 0
+Massif: XPt-init-expansions: 1
+Massif: XPt-later-expansions: 0
+Massif: skipped snapshots: 0
+Massif: real snapshots: 6
+Massif: cullings: 0
+Massif: XCon_redos: 0
Added: branches/MASSIF2/massif/tests/realloc.vgtest
===================================================================
--- branches/MASSIF2/massif/tests/realloc.vgtest (rev 0)
+++ branches/MASSIF2/massif/tests/realloc.vgtest 2007-09-23 01:14:25 UTC (rev 6904)
@@ -0,0 +1,5 @@
+prog: realloc
+vgopts: -v --stacks=no --heap-admin=0 --time-unit=B
+stderr_filter: filter_verbose
+post: perl ../../massif/ms_print massif.out
+cleanup: rm massif.out
|
|
From: <sv...@va...> - 2007-09-23 00:55:19
|
Author: njn
Date: 2007-09-23 01:55:20 +0100 (Sun, 23 Sep 2007)
New Revision: 6903
Log:
Add a test that does no allocations.
Added:
branches/MASSIF2/massif/tests/null.c
branches/MASSIF2/massif/tests/null.post.exp
branches/MASSIF2/massif/tests/null.stderr.exp
branches/MASSIF2/massif/tests/null.vgtest
Modified:
branches/MASSIF2/massif/ms_main.c
branches/MASSIF2/massif/tests/Makefile.am
Modified: branches/MASSIF2/massif/ms_main.c
===================================================================
--- branches/MASSIF2/massif/ms_main.c 2007-09-23 00:51:24 UTC (rev 6902)
+++ branches/MASSIF2/massif/ms_main.c 2007-09-23 00:55:20 UTC (rev 6903)
@@ -31,7 +31,6 @@
// XXX:
//---------------------------------------------------------------------------
// Todo:
-// - add a test that does no allocations (nb must use --stacks=no)
// - do a test for realloc -- I think no snapshots are being taken for it.
// - do tests with complicated stack traces -- big ones, ones that require
// XCon_redo, ones that exceed --depth, etc.
Modified: branches/MASSIF2/massif/tests/Makefile.am
===================================================================
--- branches/MASSIF2/massif/tests/Makefile.am 2007-09-23 00:51:24 UTC (rev 6902)
+++ branches/MASSIF2/massif/tests/Makefile.am 2007-09-23 00:55:20 UTC (rev 6903)
@@ -12,6 +12,7 @@
culling1.stderr.exp culling1.vgtest \
culling2.stderr.exp culling2.vgtest \
long-time.post.exp long-time.stderr.exp long-time.vgtest \
+ null.post.exp null.stderr.exp null.vgtest \
thresholds_0_0.post.exp thresholds_0_0.stderr.exp thresholds_0_0.vgtest \
thresholds_0_10.post.exp thresholds_0_10.stderr.exp thresholds_0_10.vgtest \
thresholds_10_0.post.exp thresholds_10_0.stderr.exp thresholds_10_0.vgtest \
@@ -30,6 +31,7 @@
basic_malloc \
culling1 culling2 \
long-time \
+ null \
thresholds \
zero
Added: branches/MASSIF2/massif/tests/null.c
===================================================================
--- branches/MASSIF2/massif/tests/null.c (rev 0)
+++ branches/MASSIF2/massif/tests/null.c 2007-09-23 00:55:20 UTC (rev 6903)
@@ -0,0 +1,7 @@
+// This test does no allocations, to make sure that case is handled ok (eg.
+// no div-by-zero errors).
+
+int main(void)
+{
+ return 0;
+}
Added: branches/MASSIF2/massif/tests/null.post.exp
===================================================================
--- branches/MASSIF2/massif/tests/null.post.exp (rev 0)
+++ branches/MASSIF2/massif/tests/null.post.exp 2007-09-23 00:55:20 UTC (rev 6903)
@@ -0,0 +1,36 @@
+--------------------------------------------------------------------------------
+Command: ./null
+Massif arguments: --stacks=no --time-unit=B
+ms_print arguments: massif.out
+--------------------------------------------------------------------------------
+
+
+1.0 |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ 0 +------------------------------------------------------------------------
+
+
+Number of snapshots: 1
+ Detailed snapshots: []
+--------------------------------------------------------------------------------
+ n time(B) total(B) useful-heap(B) admin-heap(B) stacks(B)
+--------------------------------------------------------------------------------
+ 0 0 0 0 0 0
Added: branches/MASSIF2/massif/tests/null.stderr.exp
===================================================================
--- branches/MASSIF2/massif/tests/null.stderr.exp (rev 0)
+++ branches/MASSIF2/massif/tests/null.stderr.exp 2007-09-23 00:55:20 UTC (rev 6903)
@@ -0,0 +1,2 @@
+
+
Added: branches/MASSIF2/massif/tests/null.vgtest
===================================================================
--- branches/MASSIF2/massif/tests/null.vgtest (rev 0)
+++ branches/MASSIF2/massif/tests/null.vgtest 2007-09-23 00:55:20 UTC (rev 6903)
@@ -0,0 +1,4 @@
+prog: null
+vgopts: --stacks=no --time-unit=B
+post: perl ../../massif/ms_print massif.out
+cleanup: rm massif.out
|
|
From: <sv...@va...> - 2007-09-23 00:51:25
|
Author: njn
Date: 2007-09-23 01:51:24 +0100 (Sun, 23 Sep 2007)
New Revision: 6902
Log:
Fix various format string errors, courtesy of Florian Krohm.
Modified:
trunk/cachegrind/cg_sim.c
trunk/callgrind/bbcc.c
trunk/callgrind/debug.c
trunk/callgrind/dump.c
trunk/callgrind/main.c
trunk/callgrind/sim.c
trunk/coregrind/m_libcassert.c
trunk/coregrind/m_libcprint.c
trunk/coregrind/m_main.c
trunk/coregrind/m_mallocfree.c
trunk/coregrind/m_scheduler/scheduler.c
trunk/coregrind/m_signals.c
trunk/coregrind/m_translate.c
trunk/coregrind/m_ume.c
trunk/helgrind/hg_main.c
trunk/lackey/lk_main.c
trunk/massif/ms_main.c
trunk/memcheck/mc_leakcheck.c
trunk/memcheck/mc_main.c
Modified: trunk/cachegrind/cg_sim.c
===================================================================
--- trunk/cachegrind/cg_sim.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/cachegrind/cg_sim.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -184,7 +184,7 @@
if (is_miss) { MISS_TREATMENT; } \
\
} else { \
- VG_(printf)("addr: %x size: %u sets: %d %d", a, size, set1, set2); \
+ VG_(printf)("addr: %lx size: %u sets: %d %d", a, size, set1, set2);\
VG_(tool_panic)("item straddles more than two cache sets"); \
} \
return; \
Modified: trunk/callgrind/bbcc.c
===================================================================
--- trunk/callgrind/bbcc.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/callgrind/bbcc.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -714,7 +714,7 @@
else
ppIRJumpKind( jmpkind );
- VG_(printf)(" %08x -> %08x, SP %08x\n",
+ VG_(printf)(" %08lx -> %08x, SP %08x\n",
last_bb ? bb_jmpaddr(last_bb) : 0,
bb_addr(bb), sp);
}
Modified: trunk/callgrind/debug.c
===================================================================
--- trunk/callgrind/debug.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/callgrind/debug.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -295,7 +295,7 @@
return;
}
- VG_(printf)("%08x/%c %d:", bb_addr(bbcc->bb),
+ VG_(printf)("%08lx/%c %d:", bb_addr(bbcc->bb),
(bbcc->bb->sect_kind == Vg_SectText) ? 'T' :
(bbcc->bb->sect_kind == Vg_SectData) ? 'D' :
(bbcc->bb->sect_kind == Vg_SectBSS) ? 'B' :
@@ -339,9 +339,9 @@
ecounter = bbcc->ecounter_sum;
print_indent(s+2);
- VG_(printf)("ECounter: sum %d ", ecounter);
+ VG_(printf)("ECounter: sum %llu ", ecounter);
for(i=0; i<bb->cjmp_count; i++) {
- VG_(printf)("[%d]=%d ",
+ VG_(printf)("[%d]=%llu ",
bb->jmp[i].instr, bbcc->jmp[i].ecounter);
}
VG_(printf)("\n");
@@ -350,7 +350,7 @@
for(i=0; i<bb->instr_count; i++) {
InstrInfo* ii = &(bb->instr[i]);
print_indent(s+2);
- VG_(printf)("[%2d] IOff %2d ecnt %3d ",
+ VG_(printf)("[%2d] IOff %2d ecnt %3llu ",
i, ii->instr_offset, ecounter);
CLG_(print_cost)(s+5, ii->eventset, bbcc->cost + ii->cost_offset);
@@ -374,7 +374,7 @@
int ln, i=0, opos=0;
if (addr == 0) {
- VG_(printf)("%08x", addr);
+ VG_(printf)("%08lx", addr);
return;
}
@@ -431,7 +431,7 @@
void* CLG_(malloc)(UWord s, char* f)
{
- CLG_DEBUG(3, "Malloc(%d) in %s.\n", s, f);
+ CLG_DEBUG(3, "Malloc(%lu) in %s.\n", s, f);
return VG_(malloc)(s);
}
Modified: trunk/callgrind/dump.c
===================================================================
--- trunk/callgrind/dump.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/callgrind/dump.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -554,7 +554,7 @@
void fprint_pos(Int fd, AddrPos* curr, AddrPos* last)
{
if (0) //CLG_(clo).dump_bbs)
- VG_(sprintf)(outbuf, "%u ", curr->addr - curr->bb_addr);
+ VG_(sprintf)(outbuf, "%lu ", curr->addr - curr->bb_addr);
else {
int p = 0;
if (CLG_(clo).dump_instr) {
Modified: trunk/callgrind/main.c
===================================================================
--- trunk/callgrind/main.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/callgrind/main.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -817,7 +817,7 @@
case VG_USERREQ__DUMP_STATS_AT:
{
Char buf[512];
- VG_(sprintf)(buf,"Client Request: %s", args[1]);
+ VG_(sprintf)(buf,"Client Request: %s", (Char*)args[1]);
CLG_(dump_profile)(buf, True);
*ret = 0; /* meaningless */
}
Modified: trunk/callgrind/sim.c
===================================================================
--- trunk/callgrind/sim.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/callgrind/sim.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -309,7 +309,7 @@
return ((res1 == Miss) || (res2 == Miss)) ? Miss : Hit;
} else {
- VG_(printf)("addr: %x size: %u sets: %d %d", a, size, set1, set2);
+ VG_(printf)("addr: %lx size: %u sets: %d %d", a, size, set1, set2);
VG_(tool_panic)("item straddles more than two cache sets");
}
return Hit;
@@ -416,7 +416,7 @@
return ((res1 == Miss) || (res2 == Miss)) ? Miss : Hit;
} else {
- VG_(printf)("addr: %x size: %u sets: %d %d", a, size, set1, set2);
+ VG_(printf)("addr: %lx size: %u sets: %d %d", a, size, set1, set2);
VG_(tool_panic)("item straddles more than two cache sets");
}
return Hit;
Modified: trunk/coregrind/m_libcassert.c
===================================================================
--- trunk/coregrind/m_libcassert.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/coregrind/m_libcassert.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -189,7 +189,7 @@
// Treat vg_assert2(0, "foo") specially, as a panicky abort
if (VG_STREQ(expr, "0")) {
VG_(printf)("\n%s: %s:%d (%s): the 'impossible' happened.\n",
- component, file, line, fn, expr );
+ component, file, line, fn );
} else {
VG_(printf)("\n%s: %s:%d (%s): Assertion '%s' failed.\n",
component, file, line, fn, expr );
Modified: trunk/coregrind/m_libcprint.c
===================================================================
--- trunk/coregrind/m_libcprint.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/coregrind/m_libcprint.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -216,7 +216,7 @@
if (m == 0) {
// Have to generate the format string in order to be flexible about
// the width of the field.
- VG_(sprintf)(fmt, "%%-%lds", n_buf);
+ VG_(sprintf)(fmt, "%%-%ds", n_buf);
// fmt is now "%<n_buf>s" where <d> is 1,2,3...
VG_(sprintf)(buf, fmt, "--%");
return;
Modified: trunk/coregrind/m_main.c
===================================================================
--- trunk/coregrind/m_main.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/coregrind/m_main.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -958,7 +958,7 @@
}
if (show)
- VG_(printf)("fd limits: host, before: cur %u max %u\n",
+ VG_(printf)("fd limits: host, before: cur %lu max %lu\n",
rl.rlim_cur, rl.rlim_max);
# if defined(VGP_ppc32_aix5) || defined(VGP_ppc64_aix5)
@@ -986,7 +986,7 @@
VG_(setrlimit)(VKI_RLIMIT_NOFILE, &rl);
if (show) {
- VG_(printf)("fd limits: host, after: cur %u max %u\n",
+ VG_(printf)("fd limits: host, after: cur %lu max %lu\n",
rl.rlim_cur, rl.rlim_max);
VG_(printf)("fd limits: guest : cur %u max %u\n",
VG_(fd_soft_limit), VG_(fd_hard_limit));
Modified: trunk/coregrind/m_mallocfree.c
===================================================================
--- trunk/coregrind/m_mallocfree.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/coregrind/m_mallocfree.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -846,12 +846,12 @@
Superblock * sb = a->sblocks[j];
VG_(printf)( "\n" );
- VG_(printf)( "superblock %d at %p, sb->n_pl_bs = %d\n",
+ VG_(printf)( "superblock %d at %p, sb->n_pl_bs = %lu\n",
blockno++, sb, sb->n_payload_bytes);
for (i = 0; i < sb->n_payload_bytes; i += b_bszB) {
Block* b = (Block*)&sb->payload_bytes[i];
b_bszB = get_bszB(b);
- VG_(printf)( " block at %d, bszB %d: ", i, b_bszB );
+ VG_(printf)( " block at %d, bszB %lu: ", i, b_bszB );
VG_(printf)( "%s, ", is_inuse_block(b) ? "inuse" : "free");
VG_(printf)( "%s\n", blockSane(a, b) ? "ok" : "BAD" );
}
@@ -901,15 +901,14 @@
b = (Block*)&sb->payload_bytes[i];
b_bszB = get_bszB_as_is(b);
if (!blockSane(a, b)) {
- VG_(printf)("sanity_check_malloc_arena: sb %p, block %d (bszB %d): "
- " BAD\n", sb, i, b_bszB );
+ VG_(printf)("sanity_check_malloc_arena: sb %p, block %d "
+ "(bszB %lu): BAD\n", sb, i, b_bszB );
BOMB;
}
thisFree = !is_inuse_block(b);
if (thisFree && lastWasFree) {
- VG_(printf)("sanity_check_malloc_arena: sb %p, block %d (bszB %d): "
- "UNMERGED FREES\n",
- sb, i, b_bszB );
+ VG_(printf)("sanity_check_malloc_arena: sb %p, block %d "
+ "(bszB %lu): UNMERGED FREES\n", sb, i, b_bszB );
BOMB;
}
if (thisFree) blockctr_sb_free++;
@@ -956,7 +955,7 @@
if (b_pszB < list_min_pszB || b_pszB > list_max_pszB) {
VG_(printf)(
"sanity_check_malloc_arena: list %d at %p: "
- "WRONG CHAIN SIZE %dB (%dB, %dB)\n",
+ "WRONG CHAIN SIZE %luB (%luB, %luB)\n",
listno, b, b_pszB, list_min_pszB, list_max_pszB );
BOMB;
}
@@ -1359,7 +1358,7 @@
if (req_alignB < VG_MIN_MALLOC_SZB
|| req_alignB > 1048576
|| VG_(log2)( req_alignB ) == -1 /* not a power of 2 */) {
- VG_(printf)("VG_(arena_memalign)(%p, %d, %d)\nbad alignment",
+ VG_(printf)("VG_(arena_memalign)(%p, %lu, %lu)\nbad alignment",
a, req_alignB, req_pszB );
VG_(core_panic)("VG_(arena_memalign)");
/*NOTREACHED*/
Modified: trunk/coregrind/m_scheduler/scheduler.c
===================================================================
--- trunk/coregrind/m_scheduler/scheduler.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/coregrind/m_scheduler/scheduler.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -1337,7 +1337,7 @@
case VG_USERREQ__DISCARD_TRANSLATIONS:
if (VG_(clo_verbosity) > 2)
VG_(printf)( "client request: DISCARD_TRANSLATIONS,"
- " addr %p, len %d\n",
+ " addr %p, len %lu\n",
(void*)arg[1], arg[2] );
VG_(discard_translations)(
@@ -1358,7 +1358,7 @@
UWord ret;
if (VG_(clo_verbosity) > 2)
- VG_(printf)("client request: code %x, addr %p, len %d\n",
+ VG_(printf)("client request: code %lx, addr %p, len %lu\n",
arg[0], (void*)arg[1], arg[2] );
if ( VG_TDICT_CALL(tool_handle_client_request, tid, arg, &ret) )
Modified: trunk/coregrind/m_signals.c
===================================================================
--- trunk/coregrind/m_signals.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/coregrind/m_signals.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -2077,7 +2077,7 @@
VG_(max_signal) = i;
if (VG_(clo_trace_signals) && VG_(clo_verbosity) > 2)
- VG_(printf)("snaffling handler 0x%x for signal %d\n",
+ VG_(printf)("snaffling handler 0x%lx for signal %d\n",
(Addr)(sa.ksa_handler), i );
scss.scss_per_sig[i].scss_handler = sa.ksa_handler;
Modified: trunk/coregrind/m_translate.c
===================================================================
--- trunk/coregrind/m_translate.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/coregrind/m_translate.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -590,7 +590,7 @@
/*NOTREACHED*/
dontchase:
- if (0) VG_(printf)("not chasing into 0x%x\n", addr);
+ if (0) VG_(printf)("not chasing into 0x%lx\n", addr);
return False;
}
Modified: trunk/coregrind/m_ume.c
===================================================================
--- trunk/coregrind/m_ume.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/coregrind/m_ume.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -74,7 +74,7 @@
{
if (res.isError) {
VG_(printf)("valgrind: mmap(0x%llx, %lld) failed in UME "
- "with error %d (%s).\n",
+ "with error %lu (%s).\n",
(ULong)base, (Long)len,
res.err, VG_(strerror)(res.err) );
if (res.err == VKI_EINVAL) {
Modified: trunk/helgrind/hg_main.c
===================================================================
--- trunk/helgrind/hg_main.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/helgrind/hg_main.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -553,7 +553,7 @@
sm->swords[(a & 0xFFFC) >> 2] = sword;
if (VGE_IS_DISTINGUISHED_SM(sm)) {
- VG_(printf)("wrote to distinguished 2ndary map! 0x%x\n", a);
+ VG_(printf)("wrote to distinguished 2ndary map! 0x%lx\n", a);
// XXX: may be legit, but I want to know when it happens --njn
VG_(tool_panic)("wrote to distinguished 2ndary map!");
}
@@ -568,7 +568,7 @@
UInt sm_off = (a & 0xFFFC) >> 2;
if (VGE_IS_DISTINGUISHED_SM(sm)) {
- VG_(printf)("accessed distinguished 2ndary map! 0x%x\n", a);
+ VG_(printf)("accessed distinguished 2ndary map! 0x%lx\n", a);
// XXX: may be legit, but I want to know when it happens --njn
//VG_(tool_panic)("accessed distinguished 2ndary map!");
return SEC_MAP_ACCESS;
@@ -3000,7 +3000,7 @@
sword = get_sword_addr(a);
if (sword == SEC_MAP_ACCESS) {
- VG_(printf)("read distinguished 2ndary map! 0x%x\n", a);
+ VG_(printf)("read distinguished 2ndary map! 0x%lx\n", a);
return;
}
@@ -3110,7 +3110,7 @@
sword = get_sword_addr(a);
if (sword == SEC_MAP_ACCESS) {
- VG_(printf)("read distinguished 2ndary map! 0x%x\n", a);
+ VG_(printf)("read distinguished 2ndary map! 0x%lx\n", a);
return;
}
Modified: trunk/lackey/lk_main.c
===================================================================
--- trunk/lackey/lk_main.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/lackey/lk_main.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -444,22 +444,22 @@
static VG_REGPARM(2) void trace_instr(Addr addr, SizeT size)
{
- VG_(printf)("I %08lx,%d\n", addr, size);
+ VG_(printf)("I %08lx,%lu\n", addr, size);
}
static VG_REGPARM(2) void trace_load(Addr addr, SizeT size)
{
- VG_(printf)(" L %08lx,%d\n", addr, size);
+ VG_(printf)(" L %08lx,%lu\n", addr, size);
}
static VG_REGPARM(2) void trace_store(Addr addr, SizeT size)
{
- VG_(printf)(" S %08lx,%d\n", addr, size);
+ VG_(printf)(" S %08lx,%lu\n", addr, size);
}
static VG_REGPARM(2) void trace_modify(Addr addr, SizeT size)
{
- VG_(printf)(" M %08lx,%d\n", addr, size);
+ VG_(printf)(" M %08lx,%lu\n", addr, size);
}
Modified: trunk/massif/ms_main.c
===================================================================
--- trunk/massif/ms_main.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/massif/ms_main.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -1325,7 +1325,7 @@
if ( ! VG_(get_fnname)(xtree_snapshot->xpt->ip, buf2, 16)) {
VG_(sprintf)(buf2, "???");
}
- SPRINTF(buf, "x%x:%s %d\n", xtree_snapshot->xpt->ip,
+ SPRINTF(buf, "x%lx:%s %d\n", xtree_snapshot->xpt->ip,
clean_fnname(buf3, buf2), xtree_snapshot->space);
}
Modified: trunk/memcheck/mc_leakcheck.c
===================================================================
--- trunk/memcheck/mc_leakcheck.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/memcheck/mc_leakcheck.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -273,11 +273,11 @@
if (sh_no != clique) {
if (VG_DEBUG_CLIQUE) {
if (lc_markstack[sh_no].indirect)
- VG_(printf)(" clique %d joining clique %d adding %d+%d bytes\n",
+ VG_(printf)(" clique %d joining clique %d adding %lu+%lu bytes\n",
sh_no, clique,
lc_shadows[sh_no]->szB, lc_markstack[sh_no].indirect);
else
- VG_(printf)(" %d joining %d adding %d\n",
+ VG_(printf)(" %d joining %d adding %lu\n",
sh_no, clique, lc_shadows[sh_no]->szB);
}
Modified: trunk/memcheck/mc_main.c
===================================================================
--- trunk/memcheck/mc_main.c 2007-09-22 07:15:46 UTC (rev 6901)
+++ trunk/memcheck/mc_main.c 2007-09-23 00:51:24 UTC (rev 6902)
@@ -2196,7 +2196,7 @@
{
tl_assert(sizeof(UWord) == sizeof(SizeT));
if (0)
- VG_(printf)("helperc_MAKE_STACK_UNINIT %p %d\n", base, len );
+ VG_(printf)("helperc_MAKE_STACK_UNINIT %p %lu\n", base, len );
# if 0
/* Really slow version */
|
|
From: <js...@ac...> - 2007-09-23 00:17:53
|
Nightly build on g5 ( SuSE 10.1, ppc970 ) started at 2007-09-23 02:00:01 CEST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 228 tests, 6 stderr failures, 2 stdout failures, 0 posttest failures == memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/pointer-trace (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |