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
(20) |
2
(19) |
3
(7) |
|
4
(13) |
5
(24) |
6
(9) |
7
(12) |
8
(8) |
9
(34) |
10
(28) |
|
11
(20) |
12
(23) |
13
(12) |
14
(10) |
15
(15) |
16
(24) |
17
(26) |
|
18
(17) |
19
(14) |
20
(14) |
21
(8) |
22
(12) |
23
(22) |
24
(10) |
|
25
(21) |
26
(21) |
27
(18) |
28
(8) |
29
(13) |
30
(15) |
|
|
From: <sv...@va...> - 2007-11-26 23:32:34
|
Author: njn Date: 2007-11-26 23:32:33 +0000 (Mon, 26 Nov 2007) New Revision: 338 Log: Added Qore, CP2K, Iogrind. Removed "variants" reference to Omega since it will soon be in the distro. Modified: trunk/downloads/variants.html trunk/gallery/users.html Modified: trunk/downloads/variants.html =================================================================== --- trunk/downloads/variants.html 2007-09-18 22:48:11 UTC (rev 337) +++ trunk/downloads/variants.html 2007-11-26 23:32:33 UTC (rev 338) @@ -83,19 +83,19 @@ </dl> -<p><b>Bryan Meredith</b> -<brainmurders@googlemail.com> -has written <a href="http://www.brainmurders.demon.co.uk/omega.html">Omega</a>, -an instant memory leak detector tool designed to give the location that a leak -occurs, as it occurs.</p> - <p><b>Vince Weaver</b> has written <a href="http://www.csl.cornell.edu/~vince/software.html">three tools</a>: a cache tool trace generator, a SimPoint data generator, and a TAXI-compatible stream generator. (TAXI decodes pre-decoded x86 instruction </p> +<p><b>Michael Meeks</b> +has written <a +href="http://live.gnome.org/iogrind">Iogrind</a>, a prototype I/O profiling +tool. +</p> + <?php break; Modified: trunk/gallery/users.html =================================================================== --- trunk/gallery/users.html 2007-09-18 22:48:11 UTC (rev 337) +++ trunk/gallery/users.html 2007-11-26 23:32:33 UTC (rev 338) @@ -18,7 +18,7 @@ <li><a href="#scientific">Scientific</a></li> <li><a href="#graphics">Graphics and Visualization</a></li> <li><a href="#simulate">Simulation</a></li> - <li><a href="#hardcore">Compilers, Interpreters, etc.</a></li> + <li><a href="#hardcore">Programming Language Implementations</a></li> <li><a href="#tools">Development Tools</a></li> <li><a href="#libs">Development Environments and Libraries</a></li> <li><a href="#audvid">Audio/Video</a></li> @@ -261,6 +261,9 @@ tools for crystal structure determination from X-ray powder diffraction data.</li> + <li><a href="http://cp2k.berlios.de/">CP2K:</a> + a molecular simulation package.</li> + </ul> @@ -353,7 +356,7 @@ <a name="hardcore"></a> -<h2 class="bluehd">Compilers, Interpreters, etc.</h2> +<h2 class="bluehd">Programming Language Implementations</h2> <ul> @@ -394,6 +397,11 @@ <li><a href="http://dparser.sourceforge.net/">DParser:</a> a scannerless GLR parser/generator.</li> + <li><a href="http://www.qoretechnologies.com/qore">Qore:</a> + a dynamically-typed object-oriented language designed for interfacing, + embedding logic in applications, and SMP scalability (released under + the LGPL).</li> + </ul> |
|
From: <sv...@va...> - 2007-11-26 23:18:50
|
Author: sewardj
Date: 2007-11-26 23:18:52 +0000 (Mon, 26 Nov 2007)
New Revision: 1802
Log:
Fix stupid bug in x86 isel: when generating code for a 64-bit integer
store, don't generate code to compute the address expression twice.
Spotted by Nick N whilst peering at code generated for new Massif.
Preventative changes in amd64 back end (which doesn't appear to have
the same problem).
Modified:
trunk/priv/host-amd64/isel.c
trunk/priv/host-x86/isel.c
Modified: trunk/priv/host-amd64/isel.c
===================================================================
--- trunk/priv/host-amd64/isel.c 2007-11-25 01:34:03 UTC (rev 1801)
+++ trunk/priv/host-amd64/isel.c 2007-11-26 23:18:52 UTC (rev 1802)
@@ -3537,7 +3537,6 @@
/* --------- STORE --------- */
case Ist_Store: {
- AMD64AMode* am;
IRType tya = typeOfIRExpr(env->type_env, stmt->Ist.Store.addr);
IRType tyd = typeOfIRExpr(env->type_env, stmt->Ist.Store.data);
IREndness end = stmt->Ist.Store.end;
@@ -3545,13 +3544,14 @@
if (tya != Ity_I64 || end != Iend_LE)
goto stmt_fail;
- am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
if (tyd == Ity_I64) {
+ AMD64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
AMD64RI* ri = iselIntExpr_RI(env, stmt->Ist.Store.data);
addInstr(env, AMD64Instr_Alu64M(Aalu_MOV,ri,am));
return;
}
if (tyd == Ity_I8 || tyd == Ity_I16 || tyd == Ity_I32) {
+ AMD64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
HReg r = iselIntExpr_R(env, stmt->Ist.Store.data);
addInstr(env, AMD64Instr_Store(
toUChar(tyd==Ity_I8 ? 1 : (tyd==Ity_I16 ? 2 : 4)),
@@ -3559,26 +3559,19 @@
return;
}
if (tyd == Ity_F64) {
+ AMD64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
HReg r = iselDblExpr(env, stmt->Ist.Store.data);
addInstr(env, AMD64Instr_SseLdSt(False/*store*/, 8, r, am));
return;
}
if (tyd == Ity_F32) {
+ AMD64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
HReg r = iselFltExpr(env, stmt->Ist.Store.data);
addInstr(env, AMD64Instr_SseLdSt(False/*store*/, 4, r, am));
return;
}
-//.. if (tyd == Ity_I64) {
-//.. HReg vHi, vLo, rA;
-//.. iselInt64Expr(&vHi, &vLo, env, stmt->Ist.Store.data);
-//.. rA = iselIntExpr_R(env, stmt->Ist.Store.addr);
-//.. addInstr(env, X86Instr_Alu32M(
-//.. Xalu_MOV, X86RI_Reg(vLo), X86AMode_IR(0, rA)));
-//.. addInstr(env, X86Instr_Alu32M(
-//.. Xalu_MOV, X86RI_Reg(vHi), X86AMode_IR(4, rA)));
-//.. return;
-//.. }
if (tyd == Ity_V128) {
+ AMD64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
HReg r = iselVecExpr(env, stmt->Ist.Store.data);
addInstr(env, AMD64Instr_SseLdSt(False/*store*/, 16, r, am));
return;
Modified: trunk/priv/host-x86/isel.c
===================================================================
--- trunk/priv/host-x86/isel.c 2007-11-25 01:34:03 UTC (rev 1801)
+++ trunk/priv/host-x86/isel.c 2007-11-26 23:18:52 UTC (rev 1802)
@@ -3555,7 +3555,6 @@
/* --------- STORE --------- */
case Ist_Store: {
- X86AMode* am;
IRType tya = typeOfIRExpr(env->type_env, stmt->Ist.Store.addr);
IRType tyd = typeOfIRExpr(env->type_env, stmt->Ist.Store.data);
IREndness end = stmt->Ist.Store.end;
@@ -3563,24 +3562,27 @@
if (tya != Ity_I32 || end != Iend_LE)
goto stmt_fail;
- am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
if (tyd == Ity_I32) {
+ X86AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
X86RI* ri = iselIntExpr_RI(env, stmt->Ist.Store.data);
addInstr(env, X86Instr_Alu32M(Xalu_MOV,ri,am));
return;
}
if (tyd == Ity_I8 || tyd == Ity_I16) {
+ X86AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
HReg r = iselIntExpr_R(env, stmt->Ist.Store.data);
addInstr(env, X86Instr_Store( toUChar(tyd==Ity_I8 ? 1 : 2),
r,am ));
return;
}
if (tyd == Ity_F64) {
+ X86AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
HReg r = iselDblExpr(env, stmt->Ist.Store.data);
addInstr(env, X86Instr_FpLdSt(False/*store*/, 8, r, am));
return;
}
if (tyd == Ity_F32) {
+ X86AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
HReg r = iselFltExpr(env, stmt->Ist.Store.data);
addInstr(env, X86Instr_FpLdSt(False/*store*/, 4, r, am));
return;
@@ -3596,6 +3598,7 @@
return;
}
if (tyd == Ity_V128) {
+ X86AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr);
HReg r = iselVecExpr(env, stmt->Ist.Store.data);
addInstr(env, X86Instr_SseLdSt(False/*store*/, r, am));
return;
|
|
From: Oswald B. <os...@kd...> - 2007-11-26 22:45:36
|
On Mon, Nov 26, 2007 at 09:34:32PM +0000, sv...@va... wrote: > Author: sewardj > Date: 2007-11-26 21:34:30 +0000 (Mon, 26 Nov 2007) > New Revision: 7228 > > Log: > drd: make the build silent regardless of platform, and abort at > startup with a message if a not supported platform, like > Omega. > that's sort of unclean. the build should be disabled in configure and makefile.am via an automake conditional. -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic, and disorder - my work here is done. |
|
From: <sv...@va...> - 2007-11-26 22:43:00
|
Author: sewardj
Date: 2007-11-26 22:43:03 +0000 (Mon, 26 Nov 2007)
New Revision: 7232
Log:
AIX 5.3 build fixes.
Modified:
trunk/coregrind/m_syswrap/syswrap-aix5.c
trunk/coregrind/m_syswrap/syswrap-ppc32-aix5.c
trunk/coregrind/m_syswrap/syswrap-ppc64-aix5.c
trunk/exp-omega/Makefile.am
Modified: trunk/coregrind/m_syswrap/syswrap-aix5.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-aix5.c 2007-11-26 22:27:02 UTC (rev 7231)
+++ trunk/coregrind/m_syswrap/syswrap-aix5.c 2007-11-26 22:43:03 UTC (rev 7232)
@@ -805,6 +805,7 @@
{
Int fd, ret;
SysRes res;
+ Bool setuid_allowed;
// Check it's readable
res = VG_(open)(exe_name, VKI_O_RDONLY, 0);
@@ -814,9 +815,12 @@
fd = res.res;
VG_(close)(fd);
- // Check we have execute permissions
- ret = VG_(check_executable)((HChar*)exe_name);
-
+ // Check we have execute permissions. We allow setuid executables
+ // to be run only in the case when we are not simulating them, that
+ // is, they to be run natively.
+ setuid_allowed = VG_(clo_trace_children) ? False : True;
+ ret = VG_(check_executable)(NULL/*&is_setuid*/,
+ (HChar*)exe_name, setuid_allowed);
if (0 != ret) {
return VG_(mk_SysRes_Error)(ret);
}
Modified: trunk/coregrind/m_syswrap/syswrap-ppc32-aix5.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-ppc32-aix5.c 2007-11-26 22:27:02 UTC (rev 7231)
+++ trunk/coregrind/m_syswrap/syswrap-ppc32-aix5.c 2007-11-26 22:43:03 UTC (rev 7232)
@@ -105,7 +105,7 @@
VG_(printf)("thread tid %d started: stack = %p\n",
tid, &tid);
- VG_TRACK ( post_thread_create, tst->os_state.parent, tid );
+ VG_TRACK( pre_thread_first_insn, tid );
tst->os_state.lwpid = VG_(gettid)();
tst->os_state.threadgroup = VG_(getpid)();
Modified: trunk/coregrind/m_syswrap/syswrap-ppc64-aix5.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-ppc64-aix5.c 2007-11-26 22:27:02 UTC (rev 7231)
+++ trunk/coregrind/m_syswrap/syswrap-ppc64-aix5.c 2007-11-26 22:43:03 UTC (rev 7232)
@@ -105,7 +105,7 @@
VG_(printf)("thread tid %d started: stack = %p\n",
tid, &tid);
- VG_TRACK ( post_thread_create, tst->os_state.parent, tid );
+ VG_TRACK( pre_thread_first_insn, tid );
tst->os_state.lwpid = VG_(gettid)();
tst->os_state.threadgroup = VG_(getpid)();
Modified: trunk/exp-omega/Makefile.am
===================================================================
--- trunk/exp-omega/Makefile.am 2007-11-26 22:27:02 UTC (rev 7231)
+++ trunk/exp-omega/Makefile.am 2007-11-26 22:43:03 UTC (rev 7232)
@@ -14,6 +14,12 @@
if VGP_PPC64_LINUX
noinst_PROGRAMS += exp-omega-ppc64-linux vgpreload_exp-omega-ppc64-linux.so
endif
+if VGP_PPC32_AIX5
+noinst_PROGRAMS += exp-omega-ppc32-aix5 vgpreload_exp-omega-ppc32-aix5.so
+endif
+if VGP_PPC64_AIX5
+noinst_PROGRAMS += exp-omega-ppc64-aix5 vgpreload_exp-omega-ppc64-aix5.so
+endif
VGPRELOAD_OMEGA_SOURCES_COMMON = o_replace_memops.c
@@ -53,6 +59,24 @@
$(PRELOAD_LDFLAGS_PPC64_LINUX) \
$(LIBREPLACEMALLOC_LDFLAGS_PPC64_LINUX)
+vgpreload_exp_omega_ppc32_aix5_so_SOURCES = $(VGPRELOAD_OMEGA_SOURCES_COMMON)
+vgpreload_exp_omega_ppc32_aix5_so_CPPFLAGS = $(AM_CPPFLAGS_PPC32_AIX5)
+vgpreload_exp_omega_ppc32_aix5_so_CFLAGS = $(AM_CFLAGS_PPC32_AIX5) $(AM_CFLAGS_PIC) -O2
+vgpreload_exp_omega_ppc32_aix5_so_CCASFLAGS = $(AM_CCASFLAGS_PPC32_AIX5)
+vgpreload_exp_omega_ppc32_aix5_so_DEPENDENCIES = $(LIBREPLACEMALLOC_PPC32_AIX5)
+vgpreload_exp_omega_ppc32_aix5_so_LDFLAGS = \
+ $(PRELOAD_LDFLAGS_PPC32_AIX5) \
+ $(LIBREPLACEMALLOC_LDFLAGS_PPC32_AIX5)
+
+vgpreload_exp_omega_ppc64_aix5_so_SOURCES = $(VGPRELOAD_OMEGA_SOURCES_COMMON)
+vgpreload_exp_omega_ppc64_aix5_so_CPPFLAGS = $(AM_CPPFLAGS_PPC64_AIX5)
+vgpreload_exp_omega_ppc64_aix5_so_CFLAGS = $(AM_CFLAGS_PPC64_AIX5) $(AM_CFLAGS_PIC) -O2
+vgpreload_exp_omega_ppc64_aix5_so_CCASFLAGS = $(AM_CCASFLAGS_PPC64_AIX5)
+vgpreload_exp_omega_ppc64_aix5_so_DEPENDENCIES = $(LIBREPLACEMALLOC_PPC64_AIX5)
+vgpreload_exp_omega_ppc64_aix5_so_LDFLAGS = \
+ $(PRELOAD_LDFLAGS_PPC64_AIX5) \
+ $(LIBREPLACEMALLOC_LDFLAGS_PPC64_AIX5)
+
OMEGA_SOURCES_COMMON = \
o_main.c
@@ -88,6 +112,22 @@
exp_omega_ppc64_linux_LDADD = $(TOOL_LDADD_PPC64_LINUX)
exp_omega_ppc64_linux_LDFLAGS = $(TOOL_LDFLAGS_PPC64_LINUX)
+exp_omega_ppc32_aix5_SOURCES = $(OMEGA_SOURCES_COMMON)
+exp_omega_ppc32_aix5_CPPFLAGS = $(AM_CPPFLAGS_PPC32_AIX5)
+exp_omega_ppc32_aix5_CFLAGS = $(AM_CFLAGS_PPC32_AIX5) -O2
+exp_omega_ppc32_aix5_CCASFLAGS = $(AM_CCASFLAGS_PPC32_AIX5)
+exp_omega_ppc32_aix5_DEPENDENCIES = $(COREGRIND_LIBS_PPC32_AIX5)
+exp_omega_ppc32_aix5_LDADD = $(TOOL_LDADD_PPC32_AIX5)
+exp_omega_ppc32_aix5_LDFLAGS = $(TOOL_LDFLAGS_PPC32_AIX5)
+
+exp_omega_ppc64_aix5_SOURCES = $(OMEGA_SOURCES_COMMON)
+exp_omega_ppc64_aix5_CPPFLAGS = $(AM_CPPFLAGS_PPC64_AIX5)
+exp_omega_ppc64_aix5_CFLAGS = $(AM_CFLAGS_PPC64_AIX5) -O2
+exp_omega_ppc64_aix5_CCASFLAGS = $(AM_CCASFLAGS_PPC64_AIX5)
+exp_omega_ppc64_aix5_DEPENDENCIES = $(COREGRIND_LIBS_PPC64_AIX5)
+exp_omega_ppc64_aix5_LDADD = $(TOOL_LDADD_PPC64_AIX5)
+exp_omega_ppc64_aix5_LDFLAGS = $(TOOL_LDFLAGS_PPC64_AIX5)
+
oincludedir = $(includedir)/valgrind
oinclude_HEADERS = omega.h
|
|
From: <sv...@va...> - 2007-11-26 22:26:59
|
Author: njn
Date: 2007-11-26 22:27:02 +0000 (Mon, 26 Nov 2007)
New Revision: 7231
Log:
Minor tweak to drawing of peak and detailed snapshot bars on the graph.
Modified:
trunk/massif/docs/ms-manual.xml
trunk/massif/ms_main.c
trunk/massif/ms_print.in
Modified: trunk/massif/docs/ms-manual.xml
===================================================================
--- trunk/massif/docs/ms-manual.xml 2007-11-26 22:17:19 UTC (rev 7230)
+++ trunk/massif/docs/ms-manual.xml 2007-11-26 22:27:02 UTC (rev 7231)
@@ -212,7 +212,7 @@
| : # : : : : : : .
| : : # : : : : : : : .
| : : # : : : : : : : : .
- | : : : # : : : : : : : : : .
+ | : : : # : : : : : : : : : ,
| @ : : : # : : : : : : : : : @
| : @ : : : # : : : : : : : : : @
| : : @ : : : # : : : : : : : : : @
@@ -248,7 +248,7 @@
<para>Some snapshots are <emphasis>detailed</emphasis>. Information about
where allocations happened are recorded for these snapshots, as we will see
shortly. Detailed snapshots are represented in the graph by bars consisting
-of '@' and '.' characters. The text at the bottom show that 3 detailed
+of '@' and ',' characters. The text at the bottom show that 3 detailed
snapshots were taken for this program (snapshots 9, 14 and 24). By default,
every 10th snapshot is detailed, although this can be changed via the
<computeroutput>--detailed-freq</computeroutput>option.</para>
@@ -260,7 +260,7 @@
true peak. See the description of the
<computeroutput>--peak-inaccuracy</computeroutput> option below for more
details.) The peak snapshot is represented in the graph by a bar consisting
-of '#' and '.' characters. The text at the bottom show that snapshot 14 was
+of '#' and ',' characters. The text at the bottom show that snapshot 14 was
the peak. Note that for tiny programs that never deallocate heap memory,
Massif will record a peak snapshot.</para>
@@ -269,24 +269,24 @@
<screen><![CDATA[
MB
3.952^ #.
- | .@#:
- | . .. :@@#:
+ | ,@#:
+ | , .. :@@#:
| @ :: :@@#:.
- | .@ :: :@@#::
- | . .@@@ :: :@@#:.
+ | ,@ :: :@@#::
+ | , .@@@ :: :@@#:.
| .@ :@@@ :: :@@#::
| : :@ :@@@ :: :@@#::
- | .: :@ :@@@ :: :@@#::
- | .:@: :@ :@@@ :: :@@#::.
+ | ,: :@ :@@@ :: :@@#::
+ | ,:@: :@ :@@@ :: :@@#::.
| @@:@: :@ :@@@ :: :@@#:::
- | ..: .:: . . .::@@:@: :@ :@@@ :: :@@#:::
+ | ,,: .:: . , .::@@:@: :@ :@@@ :: :@@#:::
| .:@@: .: ::: ::: @ :::@@:@: :@ :@@@ :: :@@#:::
- | .: ::@@: ::: ::::::: @ :::@@:@: :@ :@@@ :: :@@#:::
+ | ,: ::@@: ::: ::::::: @ :::@@:@: :@ :@@@ :: :@@#:::
| @: ::@@: ::: ::::::: @ :::@@:@: :@ :@@@ :: :@@#::.
| @: ::@@: ::: ::::::: @ :::@@:@: :@ :@@@ :: :@@#:::
- | . @: ::@@:: ::: ::::::: @ :::@@:@: :@ :@@@ :: :@@#:::
+ | , @: ::@@:: ::: ::::::: @ :::@@:@: :@ :@@@ :: :@@#:::
| ::@ @: ::@@:: ::: ::::::: @ :::@@:@: :@ :@@@ :: :@@#:::
- | . :::::@ @: ::@@:: ::: ::::::: @ :::@@:@: :@ :@@@ :: :@@#:::
+ | , :::::@ @: ::@@:: ::: ::::::: @ :::@@:@: :@ :@@@ :: :@@#:::
| ..@ :::::@ @: ::@@:: ::: ::::::: @ :::@@:@: :@ :@@@ :: :@@#:::
0 +----------------------------------------------------------------------->Mi
0 626.4
Modified: trunk/massif/ms_main.c
===================================================================
--- trunk/massif/ms_main.c 2007-11-26 22:17:19 UTC (rev 7230)
+++ trunk/massif/ms_main.c 2007-11-26 22:27:02 UTC (rev 7231)
@@ -34,7 +34,6 @@
// - address/close all the bug reports below (after writing docs)
// - do a graph-drawing test
// - Get Josef to update the Callgrind --callgrind-out-file option.
-// - Use '_' instead of '.' for detailed/peak bars?
//
// Todo -- nice, but less critical:
// - make file format more generic. Obstacles:
Modified: trunk/massif/ms_print.in
===================================================================
--- trunk/massif/ms_print.in 2007-11-26 22:17:19 UTC (rev 7230)
+++ trunk/massif/ms_print.in 2007-11-26 22:27:02 UTC (rev 7231)
@@ -523,7 +523,9 @@
my $peak_full_char = '#';
my $detailed_full_char = '@';
my $normal_full_char = ':';
- my $half_char = '.';
+ my $peak_half_char = ',';
+ my $detailed_half_char = ',';
+ my $normal_half_char = '.';
# Work out how many bytes each row represents. If the peak size was 0,
# make it 1 so that the Y-axis covers a non-zero range of values.
@@ -559,13 +561,16 @@
if ($should_draw_column) {
# If it's detailed, mark the X-axis. Also choose the full-slot
# char.
- my $full_char;
+ my ($full_char, $half_char);
if ($i == $peak_num) {
$full_char = $peak_full_char;
+ $half_char = $peak_half_char;
} elsif ($is_detaileds[$i]) {
$full_char = $detailed_full_char;
+ $half_char = $detailed_half_char;
} else {
$full_char = $normal_full_char;
+ $half_char = $normal_half_char;
}
# Grow this snapshot bar from bottom to top.
for ($y = 1; $y <= $graph_y; $y++) {
|
|
From: <sv...@va...> - 2007-11-26 22:17:18
|
Author: njn
Date: 2007-11-26 22:17:19 +0000 (Mon, 26 Nov 2007)
New Revision: 7230
Log:
Minor tweak to x-axis positioning of bars.
Modified:
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/big-alloc.post.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-C.post.exp
trunk/massif/tests/deep-D.post.exp
trunk/massif/tests/new-cpp.post.exp
trunk/massif/tests/overloaded-new.post.exp
trunk/massif/tests/peak.post.exp
trunk/massif/tests/peak2.post.exp
trunk/massif/tests/realloc.post.exp
trunk/massif/tests/toobig-allocs.vgtest
Modified: trunk/massif/ms_main.c
===================================================================
--- trunk/massif/ms_main.c 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/ms_main.c 2007-11-26 22:17:19 UTC (rev 7230)
@@ -35,7 +35,6 @@
// - do a graph-drawing test
// - Get Josef to update the Callgrind --callgrind-out-file option.
// - Use '_' instead of '.' for detailed/peak bars?
-// - ms_print -- XXX on line 535
//
// Todo -- nice, but less critical:
// - make file format more generic. Obstacles:
Modified: trunk/massif/ms_print.in
===================================================================
--- trunk/massif/ms_print.in 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/ms_print.in 2007-11-26 22:17:19 UTC (rev 7230)
@@ -532,12 +532,6 @@
if (0 == $end_time ) { $end_time = 1; }
my $K = $peak_mem_total_szB / $graph_y;
-# XXX: remove this? see 10 lines down...
- # If we leave end_time as is, the final snapshot will spill over past
- # the last column. So we add a small epsilon to it to prevent this from
- # happening.
- $end_time += 0.001;
-
for (my $i = 0; $i < $n_snapshots; $i++) {
# Work out which column this snapshot belongs to.
Modified: trunk/massif/tests/alloc-fns-A.post.exp
===================================================================
--- trunk/massif/tests/alloc-fns-A.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/alloc-fns-A.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -8,24 +8,24 @@
KB
1.758^ @
| @
- | . @
- | : @
- | . : @
- | : : @
- | : : @
- | : : : @
- | : : : @
- | : : : : @
- | : : : : @
- | . : : : : @
- | : : : : : @
- | . : : : : : @
- | : : : : : : @
- | : : : : : : @
- | : : : : : : : @
- | : : : : : : : @
- | : : : : : : : : @
- | : : : : : : : : @
+ | . @
+ | : @
+ | . : @
+ | : : @
+ | : : @
+ | : : : @
+ | : : : @
+ | : : : : @
+ | : : : : @
+ | . : : : : @
+ | : : : : : @
+ | . : : : : : @
+ | : : : : : : @
+ | : : : : : : @
+ | : : : : : : : @
+ | : : : : : : : @
+ | : : : : : : : : @
+ | : : : : : : : : @
0 +----------------------------------------------------------------------->KB
0 1.758
Modified: trunk/massif/tests/alloc-fns-B.post.exp
===================================================================
--- trunk/massif/tests/alloc-fns-B.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/alloc-fns-B.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -8,24 +8,24 @@
KB
1.758^ @
| @
- | . @
- | : @
- | . : @
- | : : @
- | : : @
- | : : : @
- | : : : @
- | : : : : @
- | : : : : @
- | . : : : : @
- | : : : : : @
- | . : : : : : @
- | : : : : : : @
- | : : : : : : @
- | : : : : : : : @
- | : : : : : : : @
- | : : : : : : : : @
- | : : : : : : : : @
+ | . @
+ | : @
+ | . : @
+ | : : @
+ | : : @
+ | : : : @
+ | : : : @
+ | : : : : @
+ | : : : : @
+ | . : : : : @
+ | : : : : : @
+ | . : : : : : @
+ | : : : : : : @
+ | : : : : : : @
+ | : : : : : : : @
+ | : : : : : : : @
+ | : : : : : : : : @
+ | : : : : : : : : @
0 +----------------------------------------------------------------------->KB
0 1.758
Modified: trunk/massif/tests/big-alloc.post.exp
===================================================================
--- trunk/massif/tests/big-alloc.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/big-alloc.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -16,16 +16,16 @@
| : : @ :
| : : : @ :
| : : : @ :
- | : : : : @ :
- | : : : : @ :
- | : : : : : @ :
- | : : : : : @ :
- | : : : : : : @ :
- | : : : : : : @ :
- | : : : : : : : @ :
- | : : : : : : : @ :
- | : : : : : : : : @ :
- | : : : : : : : : @ :
+ | : : : : @ :
+ | : : : : @ :
+ | : : : : : @ :
+ | : : : : : @ :
+ | : : : : : : @ :
+ | : : : : : : @ :
+ | : : : : : : : @ :
+ | : : : : : : : @ :
+ | : : : : : : : : @ :
+ | : : : : : : : : @ :
0 +----------------------------------------------------------------------->MB
0 100.0
Modified: trunk/massif/tests/custom_alloc.post.exp
===================================================================
--- trunk/massif/tests/custom_alloc.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/custom_alloc.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -6,26 +6,26 @@
B
- 208^ # :
- | # :
- | # :
- | # :
- | # :
- | # :
- | # :
- | # :
- | # :
- | # . :
- | @ # : :
- | @ # : :
- | @ # : :
- | @ # : :
- | @ # : :
- | @ # : :
- | @ # : :
- | @ # : :
- | @ # : :
- | @ # : :
+ 208^ # :
+ | # :
+ | # :
+ | # :
+ | # :
+ | # :
+ | # :
+ | # :
+ | # :
+ | # . :
+ | @ # : :
+ | @ # : :
+ | @ # : :
+ | @ # : :
+ | @ # : :
+ | @ # : :
+ | @ # : :
+ | @ # : :
+ | @ # : :
+ | @ # : :
0 +----------------------------------------------------------------------->KB
0 1.242
Modified: trunk/massif/tests/deep-A.post.exp
===================================================================
--- trunk/massif/tests/deep-A.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/deep-A.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -16,16 +16,16 @@
| : : @ :
| : : : @ :
| : : : @ :
- | : : : : @ :
- | : : : : @ :
- | : : : : : @ :
- | : : : : : @ :
- | : : : : : : @ :
- | : : : : : : @ :
- | : : : : : : : @ :
- | : : : : : : : @ :
- | : : : : : : : : @ :
- | : : : : : : : : @ :
+ | : : : : @ :
+ | : : : : @ :
+ | : : : : : @ :
+ | : : : : : @ :
+ | : : : : : : @ :
+ | : : : : : : @ :
+ | : : : : : : : @ :
+ | : : : : : : : @ :
+ | : : : : : : : : @ :
+ | : : : : : : : : @ :
0 +----------------------------------------------------------------------->KB
0 2.031
Modified: trunk/massif/tests/deep-B.post.exp
===================================================================
--- trunk/massif/tests/deep-B.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/deep-B.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -16,16 +16,16 @@
| : : @ :
| : : : @ :
| : : : @ :
- | : : : : @ :
- | : : : : @ :
- | : : : : : @ :
- | : : : : : @ :
- | : : : : : : @ :
- | : : : : : : @ :
- | : : : : : : : @ :
- | : : : : : : : @ :
- | : : : : : : : : @ :
- | : : : : : : : : @ :
+ | : : : : @ :
+ | : : : : @ :
+ | : : : : : @ :
+ | : : : : : @ :
+ | : : : : : : @ :
+ | : : : : : : @ :
+ | : : : : : : : @ :
+ | : : : : : : : @ :
+ | : : : : : : : : @ :
+ | : : : : : : : : @ :
0 +----------------------------------------------------------------------->KB
0 2.031
Modified: trunk/massif/tests/deep-C.post.exp
===================================================================
--- trunk/massif/tests/deep-C.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/deep-C.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -16,16 +16,16 @@
| : : @ :
| : : : @ :
| : : : @ :
- | : : : : @ :
- | : : : : @ :
- | : : : : : @ :
- | : : : : : @ :
- | : : : : : : @ :
- | : : : : : : @ :
- | : : : : : : : @ :
- | : : : : : : : @ :
- | : : : : : : : : @ :
- | : : : : : : : : @ :
+ | : : : : @ :
+ | : : : : @ :
+ | : : : : : @ :
+ | : : : : : @ :
+ | : : : : : : @ :
+ | : : : : : : @ :
+ | : : : : : : : @ :
+ | : : : : : : : @ :
+ | : : : : : : : : @ :
+ | : : : : : : : : @ :
0 +----------------------------------------------------------------------->KB
0 2.031
Modified: trunk/massif/tests/deep-D.post.exp
===================================================================
--- trunk/massif/tests/deep-D.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/deep-D.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -16,16 +16,16 @@
| : : @ :
| : : : @ :
| : : : @ :
- | : : : : @ :
- | : : : : @ :
- | : : : : : @ :
- | : : : : : @ :
- | : : : : : : @ :
- | : : : : : : @ :
- | : : : : : : : @ :
- | : : : : : : : @ :
- | : : : : : : : : @ :
- | : : : : : : : : @ :
+ | : : : : @ :
+ | : : : : @ :
+ | : : : : : @ :
+ | : : : : : @ :
+ | : : : : : : @ :
+ | : : : : : : @ :
+ | : : : : : : : @ :
+ | : : : : : : : @ :
+ | : : : : : : : : @ :
+ | : : : : : : : : @ :
0 +----------------------------------------------------------------------->KB
0 2.031
Modified: trunk/massif/tests/new-cpp.post.exp
===================================================================
--- trunk/massif/tests/new-cpp.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/new-cpp.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -6,26 +6,26 @@
KB
-11.75^ #
- | #
- | #
- | . #
- | : #
- | : #
- | : #
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | . : : # : .
- | : : : # : :
- | : : : # : :
- | : : : # : :
- | : : : # : : :
- | : : : # : : :
- | : : : # : : :
+11.75^ #
+ | #
+ | #
+ | . #
+ | : #
+ | : #
+ | : #
+ | : : # :
+ | : : # :
+ | : : # :
+ | : : # :
+ | : : # :
+ | : : # :
+ | . : : # : .
+ | : : : # : :
+ | : : : # : :
+ | : : : # : :
+ | : : : # : : :
+ | : : : # : : :
+ | : : : # : : :
0 +----------------------------------------------------------------------->KB
0 23.50
Modified: trunk/massif/tests/overloaded-new.post.exp
===================================================================
--- trunk/massif/tests/overloaded-new.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/overloaded-new.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -6,26 +6,26 @@
KB
-11.75^ #
- | #
- | #
- | . #
- | : #
- | : #
- | : #
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | . : : # : .
- | : : : # : :
- | : : : # : :
- | : : : # : :
- | : : : # : : :
- | : : : # : : :
- | : : : # : : :
+11.75^ #
+ | #
+ | #
+ | . #
+ | : #
+ | : #
+ | : #
+ | : : # :
+ | : : # :
+ | : : # :
+ | : : # :
+ | : : # :
+ | : : # :
+ | . : : # : .
+ | : : : # : :
+ | : : : # : :
+ | : : : # : :
+ | : : : # : : :
+ | : : : # : : :
+ | : : : # : : :
0 +----------------------------------------------------------------------->KB
0 23.50
Modified: trunk/massif/tests/peak.post.exp
===================================================================
--- trunk/massif/tests/peak.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/peak.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -11,21 +11,21 @@
| @ :@ #
| @. @ :@ #
| @ @: @ :@ #
- | @ @ @: @ :@ #
- | .@ @ @ @: @ :@ #
- | @ :@ @ @ @: @ :@ #
- | @. @ :@ @ @ @: @ :@ #
- | @ @: @ :@ @ @ @: @ :@ #
- | @ @ @: @ :@ @ @ @: @ :@ #
- | .@ @ @ @: @ :@ @ @ @: @ :@ #
- | @ :@ @ @ @: @ :@ @ @ @: @ :@ #
- | @. @ :@ @ @ @: @ :@ @ @ @: @ :@ #
- | @ @: @ :@ @ @ @: @ :@ @ @ @: @ :@ #
- | @ @ @: @ :@ @ @ @: @ :@ @ @ @: @ :@ #
- | .@ @ @ @: @ :@ @ @ @: @ :@ @ @ @: @ :@ #
- | @ :@ @ @ @: @ :@ @ @ @: @ :@ @ @ @: @ :@ #
- | @. @ :@ @ @ @: @ :@ @ @ @: @ :@ @ @ @: @ :@ #
- | @ @: @ :@ @ @ @: @ :@ @ @ @: @ :@ @ @ @: @ :@ #
+ | @. @ @: @ :@ #
+ | .@ @: @ @: @ :@ #
+ | @ :@ @: @ @: @ :@ #
+ | @. @ :@ @: @ @: @ :@ #
+ | @ @: @ :@ @: @ @: @ :@ #
+ | @. @ @: @ :@ @: @ @: @ :@ #
+ | .@ @: @ @: @ :@ @: @ @: @ :@ #
+ | @ :@ @: @ @: @ :@ @: @ @: @ :@ #
+ | @. @ :@ @: @ @: @ :@ @: @ @: @ :@ #
+ | @ @: @ :@ @: @ @: @ :@ @: @ @: @ :@ #
+ | @. @ @: @ :@ @: @ @: @ :@ @: @ @: @ :@ #
+ | .@ @: @ @: @ :@ @: @ @: @ :@ @: @ @: @ :@ #
+ | @ :@ @: @ @: @ :@ @: @ @: @ :@ @: @ @: @ :@ #
+ | @. @ :@ @: @ @: @ :@ @: @ @: @ :@ @: @ @: @ :@ #
+ | @ @: @ :@ @: @ @: @ :@ @: @ @: @ :@ @: @ @: @ :@ #
0 +----------------------------------------------------------------------->KB
0 19.69
Modified: trunk/massif/tests/peak2.post.exp
===================================================================
--- trunk/massif/tests/peak2.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/peak2.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -11,21 +11,21 @@
| @ :: #
| :. @ :: #
| @ :: @ :: #
- | . @ :: @ :: #
- | .@ : @ :: @ :: #
- | . :@ : @ :: @ :: #
- | @. : :@ : @ :: @ :: #
- | . @: : :@ : @ :: @ :: #
- | @ : @: : :@ : @ :: @ :: #
- | .@ @ : @: : :@ : @ :: @ :: #
- | @ :@ @ : @: : :@ : @ :: @ :: #
- | @. @ :@ @ : @: : :@ : @ :: @ :: #
- | @ @: @ :@ @ : @: : :@ : @ :: @ :: #
- | @ @ @: @ :@ @ : @: : :@ : @ :: @ :: #
- | .@ @ @ @: @ :@ @ : @: : :@ : @ :: @ :: #
- | @ :@ @ @ @: @ :@ @ : @: : :@ : @ :: @ :: #
- | @. @ :@ @ @ @: @ :@ @ : @: : :@ : @ :: @ :: #
- | @ @: @ :@ @ @ @: @ :@ @ : @: : :@ : @ :: @ :: #
+ | :. @ :: @ :: #
+ | .@ :: @ :: @ :: #
+ | . :@ :: @ :: @ :: #
+ | @. : :@ :: @ :: @ :: #
+ | . @: : :@ :: @ :: @ :: #
+ | @. : @: : :@ :: @ :: @ :: #
+ | .@ @: : @: : :@ :: @ :: @ :: #
+ | @ :@ @: : @: : :@ :: @ :: @ :: #
+ | @. @ :@ @: : @: : :@ :: @ :: @ :: #
+ | @ @: @ :@ @: : @: : :@ :: @ :: @ :: #
+ | @. @ @: @ :@ @: : @: : :@ :: @ :: @ :: #
+ | .@ @: @ @: @ :@ @: : @: : :@ :: @ :: @ :: #
+ | @ :@ @: @ @: @ :@ @: : @: : :@ :: @ :: @ :: #
+ | @. @ :@ @: @ @: @ :@ @: : @: : :@ :: @ :: @ :: #
+ | @ @: @ :@ @: @ @: @ :@ @: : @: : :@ :: @ :: @ :: #
0 +----------------------------------------------------------------------->KB
0 19.69
Modified: trunk/massif/tests/realloc.post.exp
===================================================================
--- trunk/massif/tests/realloc.post.exp 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/realloc.post.exp 2007-11-26 22:17:19 UTC (rev 7230)
@@ -6,26 +6,26 @@
B
- 600^ #
- | #
- | #
- | #
- | #
- | #
- | #
- | @ #
- | @ #
- | @ #
- | @ #
- | @ #
- | @ #
- | @ #
- | @ #
- | @ #
- | @ #
- | @ #
- | @ #
- | @ #
+ 600^ #
+ | #
+ | #
+ | #
+ | #
+ | #
+ | #
+ | @ #
+ | @ #
+ | @ #
+ | @ #
+ | @ #
+ | @ #
+ | @ #
+ | @ #
+ | @ #
+ | @ #
+ | @ #
+ | @ #
+ | @ #
0 +----------------------------------------------------------------------->KB
0 1.172
Modified: trunk/massif/tests/toobig-allocs.vgtest
===================================================================
--- trunk/massif/tests/toobig-allocs.vgtest 2007-11-26 21:59:04 UTC (rev 7229)
+++ trunk/massif/tests/toobig-allocs.vgtest 2007-11-26 22:17:19 UTC (rev 7230)
@@ -1,2 +1,3 @@
prog: ../../tests/toobig-allocs
+vgopts: --massif-out-file=massif.out
cleanup: rm massif.out
|
|
From: <sv...@va...> - 2007-11-26 21:59:02
|
Author: njn Date: 2007-11-26 21:59:04 +0000 (Mon, 26 Nov 2007) New Revision: 7229 Log: - Rewrote documentation. - Added a new time unit, instructions executed, and made it the default -- it's much more reproducible and consistent than milliseconds. Requires IRSB instrumentation and so slows down some programs (malloc-light ones such as bzip2) by about 20%, others by less. - ms_print now doesn't overwrite the x-axis in the graphs. - Added a test for --detailed-freq and --max-snapshots Added: trunk/massif/tests/basic2.post.exp trunk/massif/tests/basic2.stderr.exp trunk/massif/tests/basic2.vgtest Modified: trunk/massif/docs/ms-manual.xml trunk/massif/ms_main.c trunk/massif/ms_print.in trunk/massif/tests/Makefile.am trunk/massif/tests/alloc-fns-A.post.exp trunk/massif/tests/alloc-fns-B.post.exp trunk/massif/tests/basic.post.exp trunk/massif/tests/big-alloc.post.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-C.post.exp trunk/massif/tests/deep-D.post.exp trunk/massif/tests/filter_stderr trunk/massif/tests/ignoring.post.exp trunk/massif/tests/insig.post.exp 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.post.exp trunk/massif/tests/peak2.post.exp trunk/massif/tests/realloc.post.exp 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 ...] |
|
From: <sv...@va...> - 2007-11-26 21:34:27
|
Author: sewardj
Date: 2007-11-26 21:34:30 +0000 (Mon, 26 Nov 2007)
New Revision: 7228
Log:
drd: make the build silent regardless of platform, and abort at
startup with a message if a not supported platform, like
Omega.
omega: make the platform-not-supported-message a bit nicer.
Modified:
trunk/exp-drd/drd_main.c
trunk/exp-drd/pthread_object_size.h
trunk/exp-omega/o_main.c
Modified: trunk/exp-drd/drd_main.c
===================================================================
--- trunk/exp-drd/drd_main.c 2007-11-26 15:15:40 UTC (rev 7227)
+++ trunk/exp-drd/drd_main.c 2007-11-26 21:34:30 UTC (rev 7228)
@@ -553,7 +553,16 @@
static
void drd_post_clo_init(void)
-{ }
+{
+# if defined(VGP_x86_linux) || defined(VGP_amd64_linux)
+ /* fine */
+# else
+ VG_(printf)("\nDRD currently only works on x86-linux and amd64-linux.\n");
+ VG_(printf)("At the very least you need to set PTHREAD_{MUTEX,COND}_SIZE\n");
+ VG_(printf)("in pthread_object_size.h to correct values. Sorry.\n\n");
+ VG_(exit)(0);
+# endif
+}
static
IRSB* drd_instrument(VgCallbackClosure* const closure,
Modified: trunk/exp-drd/pthread_object_size.h
===================================================================
--- trunk/exp-drd/pthread_object_size.h 2007-11-26 15:15:40 UTC (rev 7227)
+++ trunk/exp-drd/pthread_object_size.h 2007-11-26 21:34:30 UTC (rev 7228)
@@ -8,7 +8,7 @@
# define PTHREAD_MUTEX_SIZE 40
# define PTHREAD_COND_SIZE 48
#else
-# warning "Unknown platform for PTHREAD_{MUTEX,COND}_SIZE"
+ /* FIXME: fill these fields in correctly. 32 is arbitrary. */
# define PTHREAD_MUTEX_SIZE 32
# define PTHREAD_COND_SIZE 32
#endif
Modified: trunk/exp-omega/o_main.c
===================================================================
--- trunk/exp-omega/o_main.c 2007-11-26 15:15:40 UTC (rev 7227)
+++ trunk/exp-omega/o_main.c 2007-11-26 21:34:30 UTC (rev 7228)
@@ -196,7 +196,7 @@
return 0;
}
#elif defined(VGA_ppc32) || defined(VGA_ppc64)
- VG_(printf)("\n\nOmega does not currently work on ppc platforms."
+ VG_(printf)("\nOmega does not currently work on PowerPC/POWER platforms."
" Sorry.\n\n");
VG_(exit)(0);
#else
@@ -2820,7 +2820,7 @@
#elif defined(VGA_ppc32) || defined(VGA_ppc64)
default:
- VG_(printf)("\n\nOmega does not currently work on ppc platforms."
+ VG_(printf)("\nOmega does not currently work on PowerPC/POWER platforms."
" Sorry.\n\n");
VG_(exit)(0);
#else
|
|
From: Bart V. A. <bar...@gm...> - 2007-11-26 21:03:59
|
Hello Julian,
Sorry that I did not yet provide a version of pthread_object_size.h
that builds on all supported platforms. As was already discussed
briefly in the past, the #define's in this header are a short-term
solution. The question is now how to properly fix this headerfile. An
easy fix would be to write a C program that generates the file
pthread_object_size.h at configure-time. However, this would break
cross-compilation. Is this acceptable ?
Another solution is to compile a program like the one below into
object form and to analyze the output with nm. This would certainly
work on Linux, but would this solution also work on AIX ?
$ cat pthread-object-size.c
#include <pthread.h>
pthread_mutex_t pthread_mutex_var;
pthread_cond_t pthread_cond_var;
$ gcc -c pthread-object-size.c
$ nm -td pthread-object-size.o
0000000000000048 C pthread_cond_var
0000000000000040 C pthread_mutex_var
Bart.
On Nov 26, 2007 7:03 AM, <sv...@va...> wrote:
> Author: sewardj
> Date: 2007-11-26 06:03:05 +0000 (Mon, 26 Nov 2007)
> New Revision: 7225
>
> Log:
> Don't break the build on unknown (to drd) platforms.
>
> Modified:
> trunk/exp-drd/pthread_object_size.h
>
>
> Modified: trunk/exp-drd/pthread_object_size.h
> ===================================================================
> --- trunk/exp-drd/pthread_object_size.h 2007-11-26 02:55:12 UTC (rev 7224)
> +++ trunk/exp-drd/pthread_object_size.h 2007-11-26 06:03:05 UTC (rev 7225)
> @@ -1,13 +1,15 @@
> // TO DO: replace the constants below by macro's #define'd during the configure
> // phase.
>
> -#if defined(VGA_x86)
> -#define PTHREAD_MUTEX_SIZE 24
> -#define PTHREAD_COND_SIZE 48
> -#elif defined(VGA_amd64)
> -#define PTHREAD_MUTEX_SIZE 40
> -#define PTHREAD_COND_SIZE 48
> +#if defined(VGP_x86_linux)
> +# define PTHREAD_MUTEX_SIZE 24
> +# define PTHREAD_COND_SIZE 48
> +#elif defined(VGP_amd64_linux)
> +# define PTHREAD_MUTEX_SIZE 40
> +# define PTHREAD_COND_SIZE 48
> #else
> -#error Unknown platform
> +# warning "Unknown platform for PTHREAD_{MUTEX,COND}_SIZE"
> +# define PTHREAD_MUTEX_SIZE 32
> +# define PTHREAD_COND_SIZE 32
> #endif
> #define PTHREAD_SPINLOCK_SIZE 4
|
|
From: <sv...@va...> - 2007-11-26 15:15:38
|
Author: dirk
Date: 2007-11-26 15:15:40 +0000 (Mon, 26 Nov 2007)
New Revision: 7227
Log:
backport minimal glibc 2.7 support
Added:
branches/VALGRIND_3_2_BRANCH/glibc-2.7.supp
Modified:
branches/VALGRIND_3_2_BRANCH/Makefile.am
branches/VALGRIND_3_2_BRANCH/configure.in
Modified: branches/VALGRIND_3_2_BRANCH/Makefile.am
===================================================================
--- branches/VALGRIND_3_2_BRANCH/Makefile.am 2007-11-26 14:54:36 UTC (rev 7226)
+++ branches/VALGRIND_3_2_BRANCH/Makefile.am 2007-11-26 15:15:40 UTC (rev 7227)
@@ -18,6 +18,7 @@
SUPP_FILES = \
glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp \
+ glibc-2.6.supp glibc-2.7.supp \
xfree-3.supp xfree-4.supp
dist_val_DATA = $(SUPP_FILES) default.supp
Modified: branches/VALGRIND_3_2_BRANCH/configure.in
===================================================================
--- branches/VALGRIND_3_2_BRANCH/configure.in 2007-11-26 14:54:36 UTC (rev 7226)
+++ branches/VALGRIND_3_2_BRANCH/configure.in 2007-11-26 15:15:40 UTC (rev 7227)
@@ -369,6 +369,16 @@
],
glibc="2.6")
+AC_EGREP_CPP([GLIBC_27], [
+#include <features.h>
+#ifdef __GNU_LIBRARY__
+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 7)
+ GLIBC_27
+ #endif
+#endif
+],
+glibc="2.7")
+
AC_MSG_CHECKING([the glibc version])
case "${glibc}" in
@@ -401,10 +411,15 @@
AC_DEFINE([GLIBC_2_5], 1, [Define to 1 if you're using glibc 2.5.x])
DEFAULT_SUPP="glibc-2.6.supp ${DEFAULT_SUPP}"
;;
-
+ 2.7)
+ AC_MSG_RESULT(2.7 family)
+ AC_DEFINE([GLIBC_2_7], 1, [Define to 1 if you're using glibc 2.7.x])
+ DEFAULT_SUPP="glibc-2.7.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ ;;
*)
AC_MSG_RESULT(unsupported version)
- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.6])
+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.7])
;;
esac
Added: branches/VALGRIND_3_2_BRANCH/glibc-2.7.supp
===================================================================
--- branches/VALGRIND_3_2_BRANCH/glibc-2.7.supp (rev 0)
+++ branches/VALGRIND_3_2_BRANCH/glibc-2.7.supp 2007-11-26 15:15:40 UTC (rev 7227)
@@ -0,0 +1,30 @@
+
+# Errors to suppress by default with glibc 2.7.x
+
+# Format of this file is:
+# {
+# name_of_suppression
+# tool_name:supp_kind
+# (optional extra info for some suppression types)
+# caller0 name, or /name/of/so/file.so
+# caller1 name, or ditto
+# (optionally: caller2 name)
+# (optionally: caller3 name)
+# }
+#
+# For Memcheck, the supp_kinds are:
+#
+# Param Value1 Value2 Value4 Value8 Value16 Jump
+# Free Addr1 Addr2 Addr4 Addr8 Addr16
+# Cond (previously known as Value0)
+#
+# and the optional extra info is:
+# if Param: name of system call param
+
+{
+ dl-hack3-1
+ Memcheck:Cond
+ obj:/lib*/ld-2.7*.so*
+ obj:/lib*/ld-2.7*.so*
+ obj:/lib*/ld-2.7*.so*
+}
|
|
From: <sv...@va...> - 2007-11-26 14:54:34
|
Author: dirk Date: 2007-11-26 14:54:36 +0000 (Mon, 26 Nov 2007) New Revision: 7226 Log: add glibc 2.7 suppression to the distribution list Modified: trunk/Makefile.am Modified: trunk/Makefile.am =================================================================== --- trunk/Makefile.am 2007-11-26 06:03:05 UTC (rev 7225) +++ trunk/Makefile.am 2007-11-26 14:54:36 UTC (rev 7226) @@ -21,7 +21,7 @@ SUPP_FILES = \ glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp \ - glibc-2.6.supp aix5libc.supp xfree-3.supp xfree-4.supp \ + glibc-2.6.supp glibc-2.7.supp aix5libc.supp xfree-3.supp xfree-4.supp \ glibc-2.34567-NPTL-helgrind.supp \ glibc-2.2-LinuxThreads-helgrind.supp \ glibc-2.X-drd.supp |
|
From: <sv...@va...> - 2007-11-26 06:03:06
|
Author: sewardj
Date: 2007-11-26 06:03:05 +0000 (Mon, 26 Nov 2007)
New Revision: 7225
Log:
Don't break the build on unknown (to drd) platforms.
Modified:
trunk/exp-drd/pthread_object_size.h
Modified: trunk/exp-drd/pthread_object_size.h
===================================================================
--- trunk/exp-drd/pthread_object_size.h 2007-11-26 02:55:12 UTC (rev 7224)
+++ trunk/exp-drd/pthread_object_size.h 2007-11-26 06:03:05 UTC (rev 7225)
@@ -1,13 +1,15 @@
// TO DO: replace the constants below by macro's #define'd during the configure
// phase.
-#if defined(VGA_x86)
-#define PTHREAD_MUTEX_SIZE 24
-#define PTHREAD_COND_SIZE 48
-#elif defined(VGA_amd64)
-#define PTHREAD_MUTEX_SIZE 40
-#define PTHREAD_COND_SIZE 48
+#if defined(VGP_x86_linux)
+# define PTHREAD_MUTEX_SIZE 24
+# define PTHREAD_COND_SIZE 48
+#elif defined(VGP_amd64_linux)
+# define PTHREAD_MUTEX_SIZE 40
+# define PTHREAD_COND_SIZE 48
#else
-#error Unknown platform
+# warning "Unknown platform for PTHREAD_{MUTEX,COND}_SIZE"
+# define PTHREAD_MUTEX_SIZE 32
+# define PTHREAD_COND_SIZE 32
#endif
#define PTHREAD_SPINLOCK_SIZE 4
|
|
From: Tom H. <th...@cy...> - 2007-11-26 03:55:42
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2007-11-26 03:15:03 GMT 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 == 318 tests, 60 stderr failures, 1 stdout failure, 27 post 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/noisy_child (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/bug152022 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/xor-undef-x86 (stderr) memcheck/tests/xml1 (stderr) massif/tests/alloc-fns-A (post) massif/tests/alloc-fns-B (post) massif/tests/basic (post) massif/tests/big-alloc (post) massif/tests/culling1 (stderr) massif/tests/culling2 (stderr) massif/tests/custom_alloc (post) massif/tests/deep-A (post) massif/tests/deep-B (stderr) massif/tests/deep-B (post) massif/tests/deep-C (stderr) massif/tests/deep-C (post) massif/tests/deep-D (post) massif/tests/ignoring (post) massif/tests/insig (post) massif/tests/long-time (post) massif/tests/new-cpp (post) massif/tests/null (post) massif/tests/one (post) massif/tests/overloaded-new (post) massif/tests/peak (post) massif/tests/peak2 (stderr) massif/tests/peak2 (post) massif/tests/realloc (stderr) massif/tests/realloc (post) massif/tests/thresholds_0_0 (post) massif/tests/thresholds_0_10 (post) massif/tests/thresholds_10_0 (post) massif/tests/thresholds_10_10 (post) massif/tests/thresholds_5_0 (post) massif/tests/thresholds_5_10 (post) massif/tests/zero1 (post) massif/tests/zero2 (post) none/tests/mremap (stderr) none/tests/mremap2 (stdout) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/hg06_readshared (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc02_simple_tls (stderr) helgrind/tests/tc03_re_excl (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc07_hbl1 (stderr) helgrind/tests/tc08_hbl2 (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc11_XCHG (stderr) helgrind/tests/tc12_rwl_trivial (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) |
|
From: Tom H. <th...@cy...> - 2007-11-26 03:31:12
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2007-11-26 03:05:03 GMT 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 == 352 tests, 6 stderr failures, 2 stdout failures, 0 post 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) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2007-11-26 03:26:20
|
Nightly build on dellow ( x86_64, Fedora 8 ) started at 2007-11-26 03:10:03 GMT 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 == 352 tests, 9 stderr failures, 4 stdout failures, 0 post 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) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) ================================================= == 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 == 352 tests, 9 stderr failures, 3 stdout failures, 0 post 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_detached (stdout) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Nov 26 03:18:16 2007 --- new.short Mon Nov 26 03:26:21 2007 *************** *** 8,10 **** ! == 352 tests, 9 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) --- 8,10 ---- ! == 352 tests, 9 stderr failures, 4 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) *************** *** 15,16 **** --- 15,17 ---- none/tests/mremap2 (stdout) + none/tests/pth_cvsimple (stdout) none/tests/pth_detached (stdout) |
|
From: Tom H. <th...@cy...> - 2007-11-26 03:13:29
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2007-11-26 03:00:01 GMT 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 == 354 tests, 24 stderr failures, 1 stdout failure, 0 post 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) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) |
|
From: <sv...@va...> - 2007-11-26 02:55:10
|
Author: njn
Date: 2007-11-26 02:55:12 +0000 (Mon, 26 Nov 2007)
New Revision: 7224
Log:
Back out r7221, which was incorrect.
Modified:
trunk/include/pub_tool_options.h
Modified: trunk/include/pub_tool_options.h
===================================================================
--- trunk/include/pub_tool_options.h 2007-11-26 00:41:54 UTC (rev 7223)
+++ trunk/include/pub_tool_options.h 2007-11-26 02:55:12 UTC (rev 7224)
@@ -56,7 +56,7 @@
Long n = VG_(strtoll10)( &qq_arg[ VG_(strlen)(qq_option)+1 ], &s );\
(qq_var) = n; \
/* Check for non-numeralness, or overflow */ \
- if ('\0' == s[0] || (qq_var) != n) VG_(err_bad_option)(qq_arg); \
+ if ('\0' != s[0] || (qq_var) != n) VG_(err_bad_option)(qq_arg); \
}
/* Same as VG_NUM_CLO but does not coerce the result value to 32 bits
@@ -67,7 +67,7 @@
Long n = VG_(strtoll10)( &qq_arg[ VG_(strlen)(qq_option)+1 ], &s );\
(qq_var) = n; \
/* Check for non-numeralness */ \
- if ('\0' == s[0]) VG_(err_bad_option)(qq_arg); \
+ if ('\0' != s[0]) VG_(err_bad_option)(qq_arg); \
}
/* Bounded integer arg */
@@ -77,7 +77,7 @@
Long n = VG_(strtoll10)( &qq_arg[ VG_(strlen)(qq_option)+1 ], &s );\
(qq_var) = n; \
/* Check for non-numeralness, or overflow */ \
- if ('\0' == s[0] || (qq_var) != n) VG_(err_bad_option)(qq_arg); \
+ if ('\0' != s[0] || (qq_var) != n) VG_(err_bad_option)(qq_arg); \
if ((qq_var) < (qq_lo)) (qq_var) = (qq_lo); \
if ((qq_var) > (qq_hi)) (qq_var) = (qq_hi); \
}
@@ -89,7 +89,7 @@
double n = VG_(strtod)( &qq_arg[ VG_(strlen)(qq_option)+1 ], &s );\
(qq_var) = n; \
/* Check for non-numeralness */ \
- if ('\0' == s[0]) VG_(err_bad_option)(qq_arg); \
+ if ('\0' != s[0]) VG_(err_bad_option)(qq_arg); \
}
/* Bool arg whose value is denoted by the exact presence of the given string. */
|
|
From: <js...@ac...> - 2007-11-26 01:16:25
|
Nightly build on g5 ( SuSE 10.1, ppc970 ) started at 2007-11-26 02:00:01 CET
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... failed
Last 20 lines of verbose log follow echo
make[2]: Entering directory `/home/sewardj/Nightly/valgrind/exp-drd'
Making all in .
make[3]: Entering directory `/home/sewardj/Nightly/valgrind/exp-drd'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../VEX/pub -DVGA_ppc32=1 -DVGO_linux=1 -DVGP_ppc32_linux=1 -m32 -O2 -g -Wmissing-prototypes -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -fno-strict-aliasing -I../coregrind -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector -MT exp_drd_ppc32_linux-drd_bitmap.o -MD -MP -MF ".deps/exp_drd_ppc32_linux-drd_bitmap.Tpo" -c -o exp_drd_ppc32_linux-drd_bitmap.o `test -f 'drd_bitmap.c' || echo './'`drd_bitmap.c; \
then mv -f ".deps/exp_drd_ppc32_linux-drd_bitmap.Tpo" ".deps/exp_drd_ppc32_linux-drd_bitmap.Po"; else rm -f ".deps/exp_drd_ppc32_linux-drd_bitmap.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../VEX/pub -DVGA_ppc32=1 -DVGO_linux=1 -DVGP_ppc32_linux=1 -m32 -O2 -g -Wmissing-prototypes -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -fno-strict-aliasing -I../coregrind -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector -MT exp_drd_ppc32_linux-drd_clientreq.o -MD -MP -MF ".deps/exp_drd_ppc32_linux-drd_clientreq.Tpo" -c -o exp_drd_ppc32_linux-drd_clientreq.o `test -f 'drd_clientreq.c' || echo './'`drd_clientreq.c; \
then mv -f ".deps/exp_drd_ppc32_linux-drd_clientreq.Tpo" ".deps/exp_drd_ppc32_linux-drd_clientreq.Po"; else rm -f ".deps/exp_drd_ppc32_linux-drd_clientreq.Tpo"; exit 1; fi
In file included from drd_clientreq.c:7:
pthread_object_size.h:11:2: error: #error Unknown platform
drd_clientreq.c: In function 'drd_post_cond_wait':
drd_clientreq.c:40: error: 'PTHREAD_MUTEX_SIZE' undeclared (first use in this function)
drd_clientreq.c:40: error: (Each undeclared identifier is reported only once
drd_clientreq.c:40: error: for each function it appears in.)
make[3]: *** [exp_drd_ppc32_linux-drd_clientreq.o] Error 1
make[3]: Leaving directory `/home/sewardj/Nightly/valgrind/exp-drd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sewardj/Nightly/valgrind/exp-drd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sewardj/Nightly/valgrind'
make: *** [all] Error 2
=================================================
== 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
== 285 tests, 25 stderr failures, 3 stdout failures, 0 post 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)
none/tests/res_search (stdout)
helgrind/tests/hg02_deadlock (stderr)
helgrind/tests/hg03_inherit (stderr)
helgrind/tests/hg04_race (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc01_simple_race (stderr)
helgrind/tests/tc05_simple_race (stderr)
helgrind/tests/tc06_two_races (stderr)
helgrind/tests/tc07_hbl1 (stderr)
helgrind/tests/tc08_hbl2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc11_XCHG (stderr)
helgrind/tests/tc14_laog_dinphils (stderr)
helgrind/tests/tc16_byterace (stderr)
helgrind/tests/tc17_sembar (stderr)
helgrind/tests/tc19_shadowmem (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Mon Nov 26 02:11:23 2007
--- new.short Mon Nov 26 02:16:22 2007
***************
*** 3,38 ****
Configuring valgrind ... done
! Building valgrind ... done
! Running regression tests ... failed
!
! Regression test results follow
!
! == 285 tests, 25 stderr failures, 3 stdout failures, 0 post 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)
! none/tests/res_search (stdout)
! helgrind/tests/hg02_deadlock (stderr)
! helgrind/tests/hg03_inherit (stderr)
! helgrind/tests/hg04_race (stderr)
! helgrind/tests/hg05_race2 (stderr)
! helgrind/tests/tc01_simple_race (stderr)
! helgrind/tests/tc05_simple_race (stderr)
! helgrind/tests/tc06_two_races (stderr)
! helgrind/tests/tc07_hbl1 (stderr)
! helgrind/tests/tc08_hbl2 (stderr)
! helgrind/tests/tc09_bad_unlock (stderr)
! helgrind/tests/tc11_XCHG (stderr)
! helgrind/tests/tc14_laog_dinphils (stderr)
! helgrind/tests/tc16_byterace (stderr)
! helgrind/tests/tc17_sembar (stderr)
! helgrind/tests/tc19_shadowmem (stderr)
! helgrind/tests/tc20_verifywrap (stderr)
! helgrind/tests/tc21_pthonce (stderr)
! helgrind/tests/tc22_exit_w_lock (stderr)
! helgrind/tests/tc23_bogus_condwait (stderr)
--- 3,26 ----
Configuring valgrind ... done
! Building valgrind ... failed
+ Last 20 lines of verbose log follow echo
+ make[2]: Entering directory `/home/sewardj/Nightly/valgrind/exp-drd'
+ Making all in .
+ make[3]: Entering directory `/home/sewardj/Nightly/valgrind/exp-drd'
+ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../VEX/pub -DVGA_ppc32=1 -DVGO_linux=1 -DVGP_ppc32_linux=1 -m32 -O2 -g -Wmissing-prototypes -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -fno-strict-aliasing -I../coregrind -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector -MT exp_drd_ppc32_linux-drd_bitmap.o -MD -MP -MF ".deps/exp_drd_ppc32_linux-drd_bitmap.Tpo" -c -o exp_drd_ppc32_linux-drd_bitmap.o `test -f 'drd_bitmap.c' || echo './'`drd_bitmap.c; \
+ then mv -f ".deps/exp_drd_ppc32_linux-drd_bitmap.Tpo" ".deps/exp_drd_ppc32_linux-drd_bitmap.Po"; else rm -f ".deps/exp_drd_ppc32_linux-drd_bitmap.Tpo"; exit 1; fi
+ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../VEX/pub -DVGA_ppc32=1 -DVGO_linux=1 -DVGP_ppc32_linux=1 -m32 -O2 -g -Wmissing-prototypes -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -fno-strict-aliasing -I../coregrind -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector -MT exp_drd_ppc32_linux-drd_clientreq.o -MD -MP -MF ".deps/exp_drd_ppc32_linux-drd_clientreq.Tpo" -c -o exp_drd_ppc32_linux-drd_clientreq.o `test -f 'drd_clientreq.c' || echo './'`drd_clientreq.c; \
+ then mv -f ".deps/exp_drd_ppc32_linux-drd_clientreq.Tpo" ".deps/exp_drd_ppc32_linux-drd_clientreq.Po"; else rm -f ".deps/exp_drd_ppc32_linux-drd_clientreq.Tpo"; exit 1; fi
+ In file included from drd_clientreq.c:7:
+ pthread_object_size.h:11:2: error: #error Unknown platform
+ drd_clientreq.c: In function 'drd_post_cond_wait':
+ drd_clientreq.c:40: error: 'PTHREAD_MUTEX_SIZE' undeclared (first use in this function)
+ drd_clientreq.c:40: error: (Each undeclared identifier is reported only once
+ drd_clientreq.c:40: error: for each function it appears in.)
+ make[3]: *** [exp_drd_ppc32_linux-drd_clientreq.o] Error 1
+ make[3]: Leaving directory `/home/sewardj/Nightly/valgrind/exp-drd'
+ make[2]: *** [all-recursive] Error 1
+ make[2]: Leaving directory `/home/sewardj/Nightly/valgrind/exp-drd'
+ make[1]: *** [all-recursive] Error 1
+ make[1]: Leaving directory `/home/sewardj/Nightly/valgrind'
+ make: *** [all] Error 2
|
|
From: <sv...@va...> - 2007-11-26 00:41:54
|
Author: sewardj
Date: 2007-11-26 00:41:54 +0000 (Mon, 26 Nov 2007)
New Revision: 7223
Log:
Program uses too many new-ish constructions to be compilable on glibc 2.2
(Red Hat 7.3). Do nothing on very old platforms.
Modified:
trunk/exp-drd/tests/sigalrm.cpp
Modified: trunk/exp-drd/tests/sigalrm.cpp
===================================================================
--- trunk/exp-drd/tests/sigalrm.cpp 2007-11-26 00:11:04 UTC (rev 7222)
+++ trunk/exp-drd/tests/sigalrm.cpp 2007-11-26 00:41:54 UTC (rev 7223)
@@ -4,13 +4,20 @@
#include <cstdlib>
#include <ctime>
#include <iostream>
+#include <features.h>
#include <pthread.h>
#include <signal.h>
#include <unistd.h>
+#include <string.h>
#include "../drd_clientreq.h"
#include <asm/unistd.h>
+#if !defined(__GLIBC_PREREQ)
+# error "This program requires __GLIBC_PREREQ (in /usr/include/features.h)"
+#endif
+#if __GLIBC_PREREQ(2,3)
+
#define VALGRIND_START_NEW_SEGMENT \
{ \
int res; \
@@ -18,7 +25,6 @@
pthread_self(), 0, 0,0,0); \
}
-
static bool s_debug = false;
@@ -95,3 +101,13 @@
return 0;
}
+
+#else /* !__GLIBC_PREREQ(2,3) */
+
+int main(int argc, char** )
+{
+ std::cout << "program does not work on glibc < 2.3" << std::endl;
+ return 0;
+}
+
+#endif /* __GLIBC_PREREQ(2,3) */
|
|
From: <sv...@va...> - 2007-11-26 00:11:02
|
Author: sewardj
Date: 2007-11-26 00:11:04 +0000 (Mon, 26 Nov 2007)
New Revision: 7222
Log:
Make drd regtests work again following core changes. (Bart Van Assche)
Modified:
trunk/exp-drd/tests/abort.cpp
trunk/exp-drd/tests/filter_stderr
trunk/glibc-2.X-drd.supp
Modified: trunk/exp-drd/tests/abort.cpp
===================================================================
--- trunk/exp-drd/tests/abort.cpp 2007-11-26 00:00:32 UTC (rev 7221)
+++ trunk/exp-drd/tests/abort.cpp 2007-11-26 00:11:04 UTC (rev 7222)
@@ -8,7 +8,7 @@
#include <fstream>
#include <cassert>
#include <pthread.h>
-#include <stdio.h>.
+#include <stdio.h>
static pthread_mutex_t s_mutex;
void* thread_func(void*)
Modified: trunk/exp-drd/tests/filter_stderr
===================================================================
--- trunk/exp-drd/tests/filter_stderr 2007-11-26 00:00:32 UTC (rev 7221)
+++ trunk/exp-drd/tests/filter_stderr 2007-11-26 00:11:04 UTC (rev 7222)
@@ -9,7 +9,7 @@
# Remove libpthread's version number.
# Remove line numbers from stack traces.
sed \
--e "/^drd, a data race detector\.$/d" \
+-e "/^exp-drd, a data race detector\.$/d" \
-e "/^NOTE: This is an Experimental-Class Valgrind Tool.$/d" \
-e "/^Copyright (C) 2006-200., and GNU GPL'd, by Bart Van Assche.$/d" \
-e "s/in [^ ]*libpthread-[0-9]*\.[0-9]*\.so/in libpthread-?.?.so/" \
Modified: trunk/glibc-2.X-drd.supp
===================================================================
--- trunk/glibc-2.X-drd.supp 2007-11-26 00:00:32 UTC (rev 7221)
+++ trunk/glibc-2.X-drd.supp 2007-11-26 00:11:04 UTC (rev 7222)
@@ -78,6 +78,30 @@
{
pthread
exp-drd:ConflictingAccess
+ obj:/lib64/libpthread-2.6.1.so
+ fun:start_thread
+ fun:clone
+}
+{
+ pthread
+ exp-drd:ConflictingAccess
+ obj:/lib64/libc-2.6.1.so
+ fun:__libc_thread_freeres
+ fun:start_thread
+ fun:clone
+}
+{
+ pthread
+ exp-drd:ConflictingAccess
+ obj:/lib64/libc-2.6.1.so
+ obj:/lib64/libc-2.6.1.so
+ fun:__libc_thread_freeres
+ fun:start_thread
+ fun:clone
+}
+{
+ pthread
+ exp-drd:ConflictingAccess
fun:__nptl_deallocate_tsd
fun:start_thread
fun:clone
|
|
From: <sv...@va...> - 2007-11-26 00:00:31
|
Author: njn
Date: 2007-11-26 00:00:32 +0000 (Mon, 26 Nov 2007)
New Revision: 7221
Log:
Fix NUM_CLO checking.
Modified:
trunk/include/pub_tool_options.h
Modified: trunk/include/pub_tool_options.h
===================================================================
--- trunk/include/pub_tool_options.h 2007-11-25 23:56:12 UTC (rev 7220)
+++ trunk/include/pub_tool_options.h 2007-11-26 00:00:32 UTC (rev 7221)
@@ -56,7 +56,7 @@
Long n = VG_(strtoll10)( &qq_arg[ VG_(strlen)(qq_option)+1 ], &s );\
(qq_var) = n; \
/* Check for non-numeralness, or overflow */ \
- if ('\0' != s[0] || (qq_var) != n) VG_(err_bad_option)(qq_arg); \
+ if ('\0' == s[0] || (qq_var) != n) VG_(err_bad_option)(qq_arg); \
}
/* Same as VG_NUM_CLO but does not coerce the result value to 32 bits
@@ -67,7 +67,7 @@
Long n = VG_(strtoll10)( &qq_arg[ VG_(strlen)(qq_option)+1 ], &s );\
(qq_var) = n; \
/* Check for non-numeralness */ \
- if ('\0' != s[0]) VG_(err_bad_option)(qq_arg); \
+ if ('\0' == s[0]) VG_(err_bad_option)(qq_arg); \
}
/* Bounded integer arg */
@@ -77,7 +77,7 @@
Long n = VG_(strtoll10)( &qq_arg[ VG_(strlen)(qq_option)+1 ], &s );\
(qq_var) = n; \
/* Check for non-numeralness, or overflow */ \
- if ('\0' != s[0] || (qq_var) != n) VG_(err_bad_option)(qq_arg); \
+ if ('\0' == s[0] || (qq_var) != n) VG_(err_bad_option)(qq_arg); \
if ((qq_var) < (qq_lo)) (qq_var) = (qq_lo); \
if ((qq_var) > (qq_hi)) (qq_var) = (qq_hi); \
}
@@ -89,7 +89,7 @@
double n = VG_(strtod)( &qq_arg[ VG_(strlen)(qq_option)+1 ], &s );\
(qq_var) = n; \
/* Check for non-numeralness */ \
- if ('\0' != s[0]) VG_(err_bad_option)(qq_arg); \
+ if ('\0' == s[0]) VG_(err_bad_option)(qq_arg); \
}
/* Bool arg whose value is denoted by the exact presence of the given string. */
|