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
(10) |
2
(1) |
|
3
(13) |
4
(13) |
5
(15) |
6
(12) |
7
(16) |
8
(18) |
9
(19) |
|
10
(13) |
11
(19) |
12
(11) |
13
(20) |
14
(20) |
15
(26) |
16
(12) |
|
17
(16) |
18
(19) |
19
(13) |
20
(24) |
21
(18) |
22
(23) |
23
(17) |
|
24
(19) |
25
(13) |
26
(22) |
27
(13) |
28
(17) |
29
(24) |
30
(14) |
|
31
(10) |
|
|
|
|
|
|
|
From: Ivo R. <iv...@iv...> - 2014-08-22 22:04:27
|
Note that this also kind-of fixes *Bug 335353* <https://bugs.kde.org/show_bug.cgi?id=335353> - expected output of exp-sgcheck/tests/hackedbz2 mismatch with gcc 4.8.1 https://bugs.kde.org/show_bug.cgi?id=335353 I. ---------- Forwarded message ---------- From: <sv...@va...> Date: 2014-08-21 5:33 GMT-07:00 Subject: [Valgrind-developers] Valgrind: r14326 - /trunk/exp-sgcheck/tests/hackedbz2.c To: val...@li... Author: mjw Date: Thu Aug 21 12:33:31 2014 New Revision: 14326 Log: exp-sgcheck/tests/hackedbz2.c mark vex_strlen as noinline Explicitly set noinline so the test can check it is in the backtrace. Newer gcc versions happily optimize it away otherwise. Modified: trunk/exp-sgcheck/tests/hackedbz2.c |
|
From: <sv...@va...> - 2014-08-22 21:34:46
|
Author: florian
Date: Fri Aug 22 21:34:39 2014
New Revision: 14340
Log:
I'm attempting to convert dump.c to use VG_(fdprintf). That won't
happen in one large patch but in several smaller ones that can be
proofread. To keep things functional, make my_fwrite unbuffered
(as VG_(fdprintf) is unbuffered). Add a big FIXME so this won't
be forgotten.
Modified:
branches/BUF_REMOVAL/callgrind/dump.c
Modified: branches/BUF_REMOVAL/callgrind/dump.c
==============================================================================
--- branches/BUF_REMOVAL/callgrind/dump.c (original)
+++ branches/BUF_REMOVAL/callgrind/dump.c Fri Aug 22 21:34:39 2014
@@ -130,44 +130,17 @@
}
-#if 0
-static __inline__
-static void my_fwrite(Int fd, const HChar* buf, Int len)
-{
- VG_(write)(fd, buf, len);
-}
-#else
-
-#define FWRITE_BUFSIZE 32000
-#define FWRITE_THROUGH 10000
-static HChar fwrite_buf[FWRITE_BUFSIZE];
-static Int fwrite_pos;
-static Int fwrite_fd = -1;
-
+/* POZOR! VORSICHT! XIAO XIN! KIKEN! OBS!
+ FIXME: my_fwrite used to employ a 32k buffer under the covers which are
+ now gone. If the files are large enough this could cause a
+ performance degradation. Needs to be looked at before the branch
+ is merged to trunk. May have to add VG_(fopen) etc if needed.
+*/
static __inline__
-void fwrite_flush(void)
-{
- if ((fwrite_fd>=0) && (fwrite_pos>0))
- VG_(write)(fwrite_fd, fwrite_buf, fwrite_pos);
- fwrite_pos = 0;
-}
-
-static void my_fwrite(Int fd, const HChar* buf, Int len)
+void my_fwrite(Int fd, const HChar* buf, Int len)
{
- if (fwrite_fd != fd) {
- fwrite_flush();
- fwrite_fd = fd;
- }
- if (len > FWRITE_THROUGH) {
- fwrite_flush();
VG_(write)(fd, buf, len);
- return;
- }
- if (FWRITE_BUFSIZE - fwrite_pos <= len) fwrite_flush();
- VG_(strncpy)(fwrite_buf + fwrite_pos, buf, len);
- fwrite_pos += len;
}
-#endif
static void print_obj(HChar* buf, obj_node* obj)
@@ -1457,7 +1430,6 @@
CLG_(add_cost_lz)(CLG_(sets).full,
&CLG_(total_cost), dump_total_cost);
- fwrite_flush();
VG_(close)(fd);
if (filename[0] == '.') {
|
|
From: <sv...@va...> - 2014-08-22 21:16:11
|
Author: florian
Date: Fri Aug 22 21:16:03 2014
New Revision: 14339
Log:
Change print_file to take a prefix and a file descriptor and remove the
buffer argument. Instead allocate a large enough buffer on the stack.
Also, as print_file was immediately followed by a my_fwrite, move the
my_fwrite call into print_file.
This a sort of a prepatch because we want to use VG_(fdprintf) here
and for that we need to get rid of buffer arithmetic as in
VG_(sprintf)(outbuf + 4, .....)
Modified:
branches/BUF_REMOVAL/callgrind/dump.c
Modified: branches/BUF_REMOVAL/callgrind/dump.c
==============================================================================
--- branches/BUF_REMOVAL/callgrind/dump.c (original)
+++ branches/BUF_REMOVAL/callgrind/dump.c Fri Aug 22 21:16:03 2014
@@ -199,20 +199,25 @@
#endif
}
-static void print_file(HChar* buf, file_node* file)
+static void print_file(Int fd, const char *prefix, file_node* file)
{
+ // 32 for file->number + peripheral characters
+ HChar buf[VG_(strlen)(prefix) + VG_(strlen)(file->name) + 32];
+
if (CLG_(clo).compress_strings) {
CLG_ASSERT(file_dumped != 0);
if (file_dumped[file->number])
- VG_(sprintf)(buf, "(%d)\n", file->number);
+ VG_(sprintf)(buf, "%s(%d)\n", prefix, file->number);
else {
- VG_(sprintf)(buf, "(%d) %s\n",
+ VG_(sprintf)(buf, "%s(%d) %s\n", prefix,
file->number, file->name);
file_dumped[file->number] = True;
}
}
else
- VG_(sprintf)(buf, "%s\n", file->name);
+ VG_(sprintf)(buf, "%s%s\n", prefix, file->name);
+
+ my_fwrite(fd, buf, VG_(strlen)(buf));
}
/*
@@ -369,9 +374,7 @@
}
if (last->file != bbcc->cxt->fn[0]->file) {
- VG_(sprintf)(outbuf, "fl=");
- print_file(outbuf+3, bbcc->cxt->fn[0]->file);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ print_file(fd, "fl=", bbcc->cxt->fn[0]->file);
last->file = bbcc->cxt->fn[0]->file;
res = True;
}
@@ -513,11 +516,9 @@
/* if we switch back to orig file, use fe=... */
if (curr->file == func_file)
- VG_(sprintf)(outbuf, "fe=");
+ print_file(fd, "fe=", curr->file);
else
- VG_(sprintf)(outbuf, "fi=");
- print_file(outbuf+3, curr->file);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ print_file(fd, "fi=", curr->file);
}
if (CLG_(clo).dump_bbs) {
@@ -673,9 +674,7 @@
* which change the stack, and thus context
*/
if (last->file != target.file) {
- VG_(sprintf)(outbuf, "jfi=");
- print_file(outbuf+4, target.file);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ print_file(fd, "jfi=", target.file);
}
if (jcc->from->cxt != jcc->to->cxt) {
@@ -719,9 +718,7 @@
/* file of called position different to current file? */
if (last->file != file) {
- VG_(sprintf)(outbuf, "cfi=");
- print_file(outbuf+4, file);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ print_file(fd, "cfi=", file);
}
if (CLG_(clo).mangle_names)
@@ -1511,9 +1508,7 @@
if (ccSum[currSum].p.file != lastFnPos.cxt->fn[0]->file) {
/* switch back to file of function */
- VG_(sprintf)(print_buf, "fe=");
- print_file(print_buf+3, lastFnPos.cxt->fn[0]->file);
- my_fwrite(print_fd, print_buf, VG_(strlen)(print_buf));
+ print_file(print_fd, "fe=", lastFnPos.cxt->fn[0]->file);
}
my_fwrite(print_fd, "\n", 1);
}
|
|
From: <sv...@va...> - 2014-08-22 20:34:13
|
Author: florian
Date: Fri Aug 22 20:34:03 2014
New Revision: 14338
Log:
Make print_fd a local variable. The assignment in print_bbcs was a
dead assignment because the variable is being unconditionally assigned
in print_bbccs_of_thread which is the only other function to use that
variable.
Modified:
branches/BUF_REMOVAL/callgrind/dump.c
Modified: branches/BUF_REMOVAL/callgrind/dump.c
==============================================================================
--- branches/BUF_REMOVAL/callgrind/dump.c (original)
+++ branches/BUF_REMOVAL/callgrind/dump.c Fri Aug 22 20:34:03 2014
@@ -1475,7 +1475,6 @@
/* Helper for print_bbccs */
-static Int print_fd;
static const HChar* print_trigger;
static HChar print_buf[BUF_LEN];
@@ -1487,7 +1486,7 @@
CLG_DEBUG(1, "+ print_bbccs(tid %d)\n", CLG_(current_tid));
- print_fd = new_dumpfile(print_buf, CLG_(current_tid), print_trigger);
+ Int print_fd = new_dumpfile(print_buf, CLG_(current_tid), print_trigger);
if (print_fd <0) {
CLG_DEBUG(1, "- print_bbccs(tid %d): No output...\n", CLG_(current_tid));
return;
@@ -1568,7 +1567,6 @@
init_dump_array();
init_debug_cache();
- print_fd = -1;
print_trigger = trigger;
if (!CLG_(clo).separate_threads) {
|
|
From: <sv...@va...> - 2014-08-22 20:18:12
|
Author: florian
Date: Fri Aug 22 20:18:04 2014
New Revision: 14337
Log:
Rewrite init_cmdbuf to dynamically allocate a large enough buffer
to hold the client's commandline.
Also eliminate the check that a client arg could be NULL. This cannot
be (see VG_(split_up_argv) ).
Modified:
branches/BUF_REMOVAL/callgrind/dump.c
Modified: branches/BUF_REMOVAL/callgrind/dump.c
==============================================================================
--- branches/BUF_REMOVAL/callgrind/dump.c (original)
+++ branches/BUF_REMOVAL/callgrind/dump.c Fri Aug 22 20:18:04 2014
@@ -40,7 +40,7 @@
static Bool dumps_initialized = False;
/* Command */
-static HChar cmdbuf[BUF_LEN];
+static HChar *cmdbuf;
/* Total reads/writes/misses sum over all dumps and threads.
* Updated during CC traversal at dump time.
@@ -1616,22 +1616,31 @@
static
void init_cmdbuf(void)
{
- Int i,j,size = 0;
- HChar* argv;
+ SizeT size;
+ Int i,j;
- CLG_ASSERT( VG_(strlen)( VG_(args_the_exename) ) < BUF_LEN-1);
+ /* Pass #1: How many bytes do we need? */
+ size = 1; // leading ' '
+ size += VG_(strlen)( VG_(args_the_exename) );
+ for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
+ const HChar *arg = *(HChar**)VG_(indexXA)( VG_(args_for_client), i );
+ size += 1; // separator ' '
+ size += VG_(strlen)(arg);
+ }
+ size += 1; // '\0'
+
+ cmdbuf = CLG_MALLOC("cl.dump.ic.1", size);
+
+ /* Pass #2: Build up the string */
size = VG_(sprintf)(cmdbuf, " %s", VG_(args_the_exename));
for(i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
- argv = * (HChar**) VG_(indexXA)( VG_(args_for_client), i );
- if (!argv) continue;
- if ((size>0) && (size < BUF_LEN)) cmdbuf[size++] = ' ';
- for(j=0;argv[j]!=0;j++)
- if (size < BUF_LEN) cmdbuf[size++] = argv[j];
+ const HChar *arg = * (HChar**) VG_(indexXA)( VG_(args_for_client), i );
+ cmdbuf[size++] = ' ';
+ for(j=0; arg[j]; j++)
+ cmdbuf[size++] = arg[j];
}
-
- if (size >= BUF_LEN) size = BUF_LEN-1;
- cmdbuf[size] = 0;
+ cmdbuf[size] = '\0';
}
/*
|
|
From: <sv...@va...> - 2014-08-22 19:26:31
|
Author: sewardj
Date: Fri Aug 22 19:26:23 2014
New Revision: 14336
Log:
Memcheck: add a new flag, --show-mismatched-frees=no|yes [yes], to
optionally disable allocator/deallocator mismatch checking.
Modified:
trunk/NEWS
trunk/memcheck/docs/mc-manual.xml
trunk/memcheck/mc_include.h
trunk/memcheck/mc_main.c
trunk/memcheck/mc_malloc_wrappers.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Fri Aug 22 19:26:23 2014
@@ -20,6 +20,8 @@
...) has several fields not initialised, an error is now reported for
each field. Previously, an error was reported only for the first wrong
field.
+ - new flag --show-mismatched-frees=no|yes [yes], to optionally disable
+ allocator/deallocator mismatch checking.
* Helgrind:
- Race condition error message with allocated blocks also show
Modified: trunk/memcheck/docs/mc-manual.xml
==============================================================================
--- trunk/memcheck/docs/mc-manual.xml (original)
+++ trunk/memcheck/docs/mc-manual.xml Fri Aug 22 19:26:23 2014
@@ -1090,6 +1090,44 @@
</listitem>
</varlistentry>
+ <varlistentry id="opt.show-mismatched-frees"
+ xreflabel="--show-mismatched-frees">
+ <term>
+ <option><![CDATA[--show-mismatched-frees=<yes|no> [default: yes] ]]></option>
+ </term>
+ <listitem>
+ <para>When enabled, Memcheck checks that heap blocks are
+ deallocated using a function that matches the allocating
+ function. That is, it expects <varname>free</varname> to be
+ used to deallocate blocks allocated
+ by <varname>malloc</varname>, <varname>delete</varname> for
+ blocks allocated by <varname>new</varname>,
+ and <varname>delete[]</varname> for blocks allocated
+ by <varname>new[]</varname>. If a mismatch is detected, an
+ error is reported. This is in general important because in some
+ environments, freeing with a non-matching function can cause
+ crashes.</para>
+
+ <para>There is however a scenario where such mismatches cannot
+ be avoided. That is when the user provides implementations of
+ <varname>new</varname>/<varname>new[]</varname> that
+ call <varname>malloc</varname> and
+ of <varname>delete</varname>/<varname>delete[]</varname> that
+ call <varname>free</varname>, and these functions are
+ asymmetrically inlined. For example, imagine
+ that <varname>delete[]</varname> is inlined
+ but <varname>new[]</varname> is not. The result is that
+ Memcheck "sees" all <varname>delete[]</varname> calls as direct
+ calls to <varname>free</varname>, even when the program source
+ contains no mismatched calls.</para>
+
+ <para>This causes a lot of confusing and irrelevant error
+ reports. <varname>--show-mismatched-frees=no</varname> disables
+ these checks. It is not generally advisable to disable them,
+ though, because you may miss real errors as a result.</para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="opt.ignore-ranges" xreflabel="--ignore-ranges">
<term>
<option><![CDATA[--ignore-ranges=0xPP-0xQQ[,0xRR-0xSS] ]]></option>
Modified: trunk/memcheck/mc_include.h
==============================================================================
--- trunk/memcheck/mc_include.h (original)
+++ trunk/memcheck/mc_include.h Fri Aug 22 19:26:23 2014
@@ -588,6 +588,9 @@
*/
extern Int MC_(clo_mc_level);
+/* Should we show mismatched frees? Default: YES */
+extern Bool MC_(clo_show_mismatched_frees);
+
/*------------------------------------------------------------*/
/*--- Instrumentation ---*/
Modified: trunk/memcheck/mc_main.c
==============================================================================
--- trunk/memcheck/mc_main.c (original)
+++ trunk/memcheck/mc_main.c Fri Aug 22 19:26:23 2014
@@ -5194,6 +5194,7 @@
Int MC_(clo_free_fill) = -1;
KeepStacktraces MC_(clo_keep_stacktraces) = KS_alloc_then_free;
Int MC_(clo_mc_level) = 2;
+Bool MC_(clo_show_mismatched_frees) = True;
static const HChar * MC_(parse_leak_heuristics_tokens) =
"-,stdstring,length64,newarray,multipleinheritance";
@@ -5338,6 +5339,9 @@
else if VG_XACT_CLO(arg, "--keep-stacktraces=none",
MC_(clo_keep_stacktraces), KS_none) {}
+ else if VG_BOOL_CLO(arg, "--show-mismatched-frees",
+ MC_(clo_show_mismatched_frees)) {}
+
else
return VG_(replacement_malloc_process_cmd_line_option)(arg);
@@ -5384,6 +5388,7 @@
" --free-fill=<hexnumber> fill free'd areas with given value\n"
" --keep-stacktraces=alloc|free|alloc-and-free|alloc-then-free|none\n"
" stack trace(s) to keep for malloc'd/free'd areas [alloc-then-free]\n"
+" --show-mismatched-frees=no|yes show frees that don't match the allocator? [yes]\n"
, plo_default
);
}
Modified: trunk/memcheck/mc_malloc_wrappers.c
==============================================================================
--- trunk/memcheck/mc_malloc_wrappers.c (original)
+++ trunk/memcheck/mc_malloc_wrappers.c Fri Aug 22 19:26:23 2014
@@ -456,6 +456,10 @@
static
void record_freemismatch_error (ThreadId tid, MC_Chunk* mc)
{
+ /* Only show such an error if the user hasn't disabled doing so. */
+ if (!MC_(clo_show_mismatched_frees))
+ return;
+
/* MC_(record_freemismatch_error) reports errors for still
allocated blocks but we are in the middle of freeing it. To
report the error correctly, we re-insert the chunk (making it
|
|
From: <sv...@va...> - 2014-08-22 19:07:32
|
Author: sewardj
Date: Fri Aug 22 19:07:12 2014
New Revision: 14335
Log:
mc_LOADV_128_or_256_slow: change a constant from V_BITS8_DEFINED
to V_BITS64_DEFINED so as to be consistent with the rest of the
types in this function. Since both values are zero it gives no
functional change.
Modified:
trunk/memcheck/mc_main.c
Modified: trunk/memcheck/mc_main.c
==============================================================================
--- trunk/memcheck/mc_main.c (original)
+++ trunk/memcheck/mc_main.c Fri Aug 22 19:07:12 2014
@@ -1286,7 +1286,7 @@
/* "at least one of the addresses is invalid" */
ok = False;
for (j = 0; j < szL; j++)
- ok |= pessim[j] != V_BITS8_DEFINED;
+ ok |= pessim[j] != V_BITS64_DEFINED;
tl_assert(ok);
if (0 == (a & (szB - 1)) && n_addrs_bad < szB) {
|
|
From: <sv...@va...> - 2014-08-22 17:36:12
|
Author: weidendo
Date: Fri Aug 22 17:36:05 2014
New Revision: 14334
Log:
Cleanup. Cost array was never called anyway.
Modified:
trunk/callgrind/costs.c
trunk/callgrind/costs.h
Modified: trunk/callgrind/costs.c
==============================================================================
--- trunk/callgrind/costs.c (original)
+++ trunk/callgrind/costs.c Fri Aug 22 17:36:05 2014
@@ -46,6 +46,8 @@
CostChunk* cc = (CostChunk*) CLG_MALLOC("cl.costs.gc.1",
sizeof(CostChunk) +
COSTCHUNK_SIZE * sizeof(ULong));
+ CLG_ASSERT(size < COSTCHUNK_SIZE);
+
cc->size = COSTCHUNK_SIZE;
cc->used = 0;
cc->next = 0;
@@ -66,15 +68,3 @@
return ptr;
}
-
-void CLG_(free_costarrays)()
-{
- CostChunk* cc = cost_chunk_base, *cc_next;
- while(cc) {
- cc_next = cc->next;
- VG_(free)(cc);
- cc = cc_next;
- }
- cost_chunk_base = 0;
- cost_chunk_current = 0;
-}
Modified: trunk/callgrind/costs.h
==============================================================================
--- trunk/callgrind/costs.h (original)
+++ trunk/callgrind/costs.h Fri Aug 22 17:36:05 2014
@@ -40,7 +40,7 @@
/* Array of 64bit costs. This is separated from other structs
* to support a dynamic number of costs for a cost item.
- * Chunks are allocated on demand, and deallocated at program termination.
+ * Chunks are allocated on demand.
*/
typedef struct _CostChunk CostChunk;
struct _CostChunk {
@@ -53,7 +53,5 @@
/* Allocate a number of 64bit cost values.
* Typically used from ct_events.c */
ULong* CLG_(get_costarray)(Int size);
-void CLG_(free_costarrays)(void);
-
#endif /* CLG_COSTS */
|
|
From: <sv...@va...> - 2014-08-22 17:14:35
|
Author: florian
Date: Fri Aug 22 17:14:22 2014
New Revision: 14333
Log:
Merge from trunk.
Added:
branches/BUF_REMOVAL/drd/tests/tls_threads.stderr.exp
- copied unchanged from r14332, trunk/drd/tests/tls_threads.stderr.exp
branches/BUF_REMOVAL/drd/tests/tls_threads.vgtest
- copied unchanged from r14332, trunk/drd/tests/tls_threads.vgtest
branches/BUF_REMOVAL/helgrind/tests/tls_threads.c
- copied unchanged from r14332, trunk/helgrind/tests/tls_threads.c
branches/BUF_REMOVAL/helgrind/tests/tls_threads.stderr.exp
- copied unchanged from r14332, trunk/helgrind/tests/tls_threads.stderr.exp
branches/BUF_REMOVAL/helgrind/tests/tls_threads.stdout.exp
- copied unchanged from r14332, trunk/helgrind/tests/tls_threads.stdout.exp
branches/BUF_REMOVAL/helgrind/tests/tls_threads.vgtest
- copied unchanged from r14332, trunk/helgrind/tests/tls_threads.vgtest
Modified:
branches/BUF_REMOVAL/ (props changed)
branches/BUF_REMOVAL/NEWS
branches/BUF_REMOVAL/auxprogs/ (props changed)
branches/BUF_REMOVAL/auxprogs/Makefile.am
branches/BUF_REMOVAL/auxprogs/getoff.c
branches/BUF_REMOVAL/cachegrind/cg_main.c
branches/BUF_REMOVAL/callgrind/costs.h
branches/BUF_REMOVAL/callgrind/dump.c
branches/BUF_REMOVAL/callgrind/global.h
branches/BUF_REMOVAL/callgrind/jumps.c
branches/BUF_REMOVAL/configure.ac
branches/BUF_REMOVAL/coregrind/m_clientstate.c
branches/BUF_REMOVAL/coregrind/m_initimg/initimg-darwin.c
branches/BUF_REMOVAL/coregrind/m_initimg/initimg-linux.c
branches/BUF_REMOVAL/coregrind/m_libcbase.c
branches/BUF_REMOVAL/coregrind/m_libcprint.c
branches/BUF_REMOVAL/coregrind/m_main.c
branches/BUF_REMOVAL/coregrind/m_options.c
branches/BUF_REMOVAL/coregrind/m_redir.c
branches/BUF_REMOVAL/coregrind/m_scheduler/scheduler.c
branches/BUF_REMOVAL/coregrind/m_syswrap/priv_types_n_macros.h
branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-amd64-linux.c
branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-generic.c
branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-x86-linux.c
branches/BUF_REMOVAL/coregrind/pub_core_clientstate.h
branches/BUF_REMOVAL/coregrind/pub_core_options.h
branches/BUF_REMOVAL/docs/xml/FAQ.xml
branches/BUF_REMOVAL/docs/xml/manual-core.xml
branches/BUF_REMOVAL/drd/tests/Makefile.am
branches/BUF_REMOVAL/exp-sgcheck/tests/hackedbz2.c
branches/BUF_REMOVAL/gdbserver_tests/filter_gdb
branches/BUF_REMOVAL/gdbserver_tests/hgtls.stdoutB.exp
branches/BUF_REMOVAL/gdbserver_tests/hgtls.vgtest
branches/BUF_REMOVAL/helgrind/docs/hg-manual.xml
branches/BUF_REMOVAL/helgrind/tests/ (props changed)
branches/BUF_REMOVAL/helgrind/tests/Makefile.am
branches/BUF_REMOVAL/include/pub_tool_libcbase.h
branches/BUF_REMOVAL/include/pub_tool_options.h
branches/BUF_REMOVAL/massif/ms_main.c
branches/BUF_REMOVAL/memcheck/mc_errors.c
branches/BUF_REMOVAL/memcheck/mc_include.h
branches/BUF_REMOVAL/memcheck/mc_main.c
branches/BUF_REMOVAL/memcheck/tests/vbit-test/irops.c
branches/BUF_REMOVAL/none/tests/arm64/fp_and_simd.c
branches/BUF_REMOVAL/none/tests/cmdline1.stdout.exp
branches/BUF_REMOVAL/none/tests/cmdline2.stdout.exp
Modified: branches/BUF_REMOVAL/NEWS
==============================================================================
--- branches/BUF_REMOVAL/NEWS (original)
+++ branches/BUF_REMOVAL/NEWS Fri Aug 22 17:14:22 2014
@@ -32,8 +32,8 @@
and creates a 'H-B relationship' between a terminated task and
its master. This avoids some false positive and avoids big
memory usage when a lot of Ada tasks are created and terminated.
- The interceptions are only activated with gnatpro >= 7.3.0w-20140611
- or gcc >= ????? (TBD: check when changes pushed to FSF gcc).
+ The interceptions are only activated with forthcoming releasses of
+ gnatpro >= 7.3.0w-20140611 and gcc >= 5.0.
- Helgrind GDB server monitor command 'info locks' giving
the list of locks, their location, and their status.
@@ -96,6 +96,9 @@
If an object contains both CFI and EXIDX unwind information, Valgrind
will prefer the CFI over the EXIDX.
+* Typos or unknown values in --sim-hints and --kernel-variant command
+ line options are now detected and reported to the user as a usage error.
+
* ==================== FIXED BUGS ====================
The following bugs have been fixed or resolved. Note that "n-i-bz"
@@ -149,6 +152,7 @@
329956 valgrind crashes when lmw/stmw instructions are used on ppc64
330228 mmap must align to VKI_SHMLBA on mips32
330257 LLVM does not support `-mno-dynamic-no-pic` option
+330319 amd64->IR: unhandled instruction bytes: 0xF 0x1 0xD5 (xend)
330459 --track-fds=yes doesn't track eventfds
330469 Add clock_adjtime syscall support
330622 Add test to regression suite for POWER instruction: dcbzl
@@ -207,6 +211,8 @@
338024 inlined functions are not shown if DW_AT_ranges is used
338115 DRD: computed conflict set differs from actual after fork
338160 implement display of thread local storage in gdbsrv
+338205 configure.ac and check for -Wno-tautological-compare
+338445 amd64 vbit-test fails with unknown opcodes used by arm64 VEX
n-i-bz Fix KVM_CREATE_IRQCHIP ioctl handling
n-i-bz s390x: Fix memory corruption for multithreaded applications
n-i-bz vex arm->IR: allow PC as basereg in some LDRD cases
Modified: branches/BUF_REMOVAL/auxprogs/Makefile.am
==============================================================================
--- branches/BUF_REMOVAL/auxprogs/Makefile.am (original)
+++ branches/BUF_REMOVAL/auxprogs/Makefile.am Fri Aug 22 17:14:22 2014
@@ -56,11 +56,18 @@
# getoff-<platform>
# Used to retrieve user space various offsets, using user space libraries.
#----------------------------------------------------------------------------
+
noinst_PROGRAMS = getoff-@VGCONF_ARCH_PRI@-@VGCONF_OS@
if VGCONF_HAVE_PLATFORM_SEC
noinst_PROGRAMS += getoff-@VGCONF_ARCH_SEC@-@VGCONF_OS@
endif
+# The link flags for this are tricky, because we want to build it for
+# both the primary and secondary platforms, and add
+# "-Wl,-read_only_relocs -Wl,suppress" to whichever of those is x86-darwin,
+# if any. Hence there's a double-nested conditional that adds to the
+# LDFLAGS in both cases.
+
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = getoff.c
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
@@ -69,6 +76,13 @@
if HAVE_DLINFO_RTLD_DI_TLS_MODID
getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = $(LDADD) -ldl
endif
+# If there is no secondary platform, and the platforms include x86-darwin,
+# then the primary platform must be x86-darwin. Hence:
+if ! VGCONF_HAVE_PLATFORM_SEC
+if VGCONF_PLATFORMS_INCLUDE_X86_DARWIN
+getoff_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS += -Wl,-read_only_relocs -Wl,suppress
+endif
+endif
if VGCONF_HAVE_PLATFORM_SEC
getoff_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = getoff.c
@@ -80,6 +94,14 @@
getoff_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = $(LDADD) -ldl
endif
endif
+# If there is a secondary platform, and the platforms include x86-darwin,
+# then the primary platform must be amd64-darwin and the secondary platform
+# must be x86-darwin. Hence:
+if VGCONF_HAVE_PLATFORM_SEC
+if VGCONF_PLATFORMS_INCLUDE_X86_DARWIN
+getoff_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS += -Wl,-read_only_relocs -Wl,suppress
+endif
+endif
#----------------------------------------------------------------------------
# General stuff
Modified: branches/BUF_REMOVAL/auxprogs/getoff.c
==============================================================================
--- branches/BUF_REMOVAL/auxprogs/getoff.c (original)
+++ branches/BUF_REMOVAL/auxprogs/getoff.c Fri Aug 22 17:14:22 2014
@@ -1,3 +1,49 @@
+/*
+ This file is part of Valgrind, a dynamic binary instrumentation
+ framework.
+
+ Copyright (C) 2014-2014 Philippe Waroquiers
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307, USA.
+
+ The GNU General Public License is contained in the file COPYING.
+*/
+
+/* This file is used to generate target executable(s) getoff-<platform>
+ In a bi-arch setup, this is used to build 2 executables
+ (for the primary and secondary platforms).
+
+ This program uses user space libraries to retrieve some platform
+ dependent offsets needed for Valgrind core, but that cannot (easily)
+ be retrieved by Valgrind core.
+
+ This is currently used only for handling the gdbsrv QGetTlsAddr query :
+ it only computes and outputs lm_modid_offset in struct link_map
+ of the dynamic linker. In theory, we should also compute the offset needed
+ to get the dtv from the thread register/pointer/...
+ Currently, the various valgrind-low-xxxxxx.c files are hardcoding this
+ offset as it is deemed (?) stable, and there is no clear way how to
+ compute this dtv offset.
+
+ The getoff-<platform> executable will be launched automatically by
+ Valgrind gdbserver when the first QGetTlsAddr query is retrieved.
+
+ On plaforms that do not support __thread and/or that do not provide
+ dlinfo RTLD_DI_TLS_MODID, this executable produces no output. */
+
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
@@ -9,8 +55,10 @@
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_DLINFO_RTLD_DI_TLS_MODID
#include <link.h>
#include <dlfcn.h>
+#endif
/* true if arg matches the provided option */
static
@@ -37,13 +85,7 @@
progname);
}
-/* Currently, only computes and output lm_modid_offset in struct link_map
- of the dynamic linker. In theory, we should also compute the offset needed
- to get the dtv from the thread register/pointer/...
- Currently, the various valgrind-low-xxxxxx.c files are hardcoding this
- offset as it is deemed (?) stable, and there is no clear way how to
- compute this dtv offset.
-*/
+
int main (int argc, char** argv)
{
int i;
Modified: branches/BUF_REMOVAL/cachegrind/cg_main.c
==============================================================================
--- branches/BUF_REMOVAL/cachegrind/cg_main.c (original)
+++ branches/BUF_REMOVAL/cachegrind/cg_main.c Fri Aug 22 17:14:22 2014
@@ -1416,10 +1416,7 @@
I1.desc_line, D1.desc_line, LL.desc_line);
// "cmd:" line
- VG_(fdprintf)(fd, "cmd:");
- if (VG_(args_the_exename)) {
- VG_(fdprintf)(fd, " %s", VG_(args_the_exename));
- }
+ VG_(fdprintf)(fd, "cmd: %s", VG_(args_the_exename));
for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
HChar* arg = * (HChar**) VG_(indexXA)( VG_(args_for_client), i );
if (arg) {
Modified: branches/BUF_REMOVAL/callgrind/costs.h
==============================================================================
--- branches/BUF_REMOVAL/callgrind/costs.h (original)
+++ branches/BUF_REMOVAL/callgrind/costs.h Fri Aug 22 17:14:22 2014
@@ -1,11 +1,35 @@
/*--------------------------------------------------------------------*/
-/*--- Callgrind ---*/
-/*--- ct_costs.h ---*/
-/*--- (C) 2004, Josef Weidendorfer ---*/
+/*--- Callgrind cost array interface. costs.h ---*/
/*--------------------------------------------------------------------*/
-#ifndef CT_COSTS
-#define CT_COSTS
+/*
+ This file is part of Valgrind, a dynamic binary instrumentation
+ framework.
+
+ Copyright (C) 2004-2014 Josef Weidendorfer
+ jos...@gm...
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307, USA.
+
+ The GNU General Public License is contained in the file COPYING.
+*/
+
+
+#ifndef CLG_COSTS
+#define CLG_COSTS
#include "pub_tool_basics.h"
@@ -32,4 +56,4 @@
void CLG_(free_costarrays)(void);
-#endif /* CT_COSTS */
+#endif /* CLG_COSTS */
Modified: branches/BUF_REMOVAL/callgrind/dump.c
==============================================================================
--- branches/BUF_REMOVAL/callgrind/dump.c (original)
+++ branches/BUF_REMOVAL/callgrind/dump.c Fri Aug 22 17:14:22 2014
@@ -37,7 +37,6 @@
static Int out_counter = 0;
static HChar* out_file = 0;
-static HChar* out_directory = 0;
static Bool dumps_initialized = False;
/* Command */
@@ -62,18 +61,6 @@
return out_counter;
}
-HChar* CLG_(get_out_file)()
-{
- CLG_(init_dumps)();
- return out_file;
-}
-
-HChar* CLG_(get_out_directory)()
-{
- CLG_(init_dumps)();
- return out_directory;
-}
-
/*------------------------------------------------------------*/
/*--- Output file related stuff ---*/
/*------------------------------------------------------------*/
@@ -1632,10 +1619,8 @@
Int i,j,size = 0;
HChar* argv;
- if (VG_(args_the_exename)) {
- CLG_ASSERT( VG_(strlen)( VG_(args_the_exename) ) < BUF_LEN-1);
- size = VG_(sprintf)(cmdbuf, " %s", VG_(args_the_exename));
- }
+ CLG_ASSERT( VG_(strlen)( VG_(args_the_exename) ) < BUF_LEN-1);
+ size = VG_(sprintf)(cmdbuf, " %s", VG_(args_the_exename));
for(i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
argv = * (HChar**) VG_(indexXA)( VG_(args_for_client), i );
@@ -1650,7 +1635,7 @@
}
/*
- * Set up file names for dump output: <out_directory>, <out_file>.
+ * Set up file names for dump output: <out_file>.
* <out_file> is derived from the output format string, which defaults
* to "callgrind.out.%p", where %p is replaced with the PID.
* For the final file name, on intermediate dumps a counter is appended,
@@ -1665,7 +1650,6 @@
*/
void CLG_(init_dumps)()
{
- Int lastSlash, i;
SysRes res;
static int thisPID = 0;
@@ -1683,7 +1667,6 @@
/* If a file name was already set, clean up before */
if (out_file) {
VG_(free)(out_file);
- VG_(free)(out_directory);
VG_(free)(filename);
out_counter = 0;
}
@@ -1692,19 +1675,6 @@
out_file =
VG_(expand_file_name)("--callgrind-out-file", CLG_(clo).out_format);
- /* get base directory for dump/command/result files */
- CLG_ASSERT(out_file[0] == '/');
- lastSlash = 0;
- i = 1;
- while(out_file[i]) {
- if (out_file[i] == '/') lastSlash = i;
- i++;
- }
- i = lastSlash;
- out_directory = (HChar*) CLG_MALLOC("cl.dump.init_dumps.1", i+1);
- VG_(strncpy)(out_directory, out_file, i);
- out_directory[i] = 0;
-
/* allocate space big enough for final filenames */
filename = (HChar*) CLG_MALLOC("cl.dump.init_dumps.2",
VG_(strlen)(out_file)+32);
Modified: branches/BUF_REMOVAL/callgrind/global.h
==============================================================================
--- branches/BUF_REMOVAL/callgrind/global.h (original)
+++ branches/BUF_REMOVAL/callgrind/global.h Fri Aug 22 17:14:22 2014
@@ -1,9 +1,32 @@
/*--------------------------------------------------------------------*/
-/*--- Callgrind ---*/
-/*--- global.h ---*/
-/*--- (C) 2004, 2005 Josef Weidendorfer ---*/
+/*--- Callgrind data structures, functions. global.h ---*/
/*--------------------------------------------------------------------*/
+/*
+ This file is part of Valgrind, a dynamic binary instrumentation
+ framework.
+
+ Copyright (C) 2004-2014 Josef Weidendorfer
+ jos...@gm...
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307, USA.
+
+ The GNU General Public License is contained in the file COPYING.
+*/
+
#ifndef CLG_GLOBAL
#define CLG_GLOBAL
@@ -28,7 +51,7 @@
/*------------------------------------------------------------*/
-/*--- Calltree compile options --- */
+/*--- Callgrind compile options --- */
/*------------------------------------------------------------*/
/* Enable debug output */
@@ -41,9 +64,6 @@
* (define to 0 if you get compile errors) */
#define CLG_MICROSYSTIME 0
-/* Set to 1 if you want full sanity checks for JCC */
-#define JCC_CHECK 0
-
/*------------------------------------------------------------*/
@@ -104,10 +124,6 @@
/*--- Constants ---*/
/*------------------------------------------------------------*/
-
-/* According to IA-32 Intel Architecture Software Developer's Manual: Vol 2 */
-#define MAX_x86_INSTR_SIZE 16
-
/* Minimum cache line size allowed */
#define MIN_LINE_SIZE 16
@@ -117,9 +133,7 @@
#define OBJ_NAME_LEN 256
#define COSTS_LEN 512 /* at least 17x 64bit values */
#define BUF_LEN 512
-#define COMMIFY_BUF_LEN 128
#define RESULTS_BUF_LEN 256
-#define LINE_BUF_LEN 64
/* Convenience macros */
@@ -452,7 +466,6 @@
#define N_OBJ_ENTRIES 47
#define N_FILE_ENTRIES 53
#define N_FN_ENTRIES 87
-#define N_BBCC2_ENTRIES 37
struct _file_node {
HChar* name;
@@ -681,10 +694,6 @@
const HChar *log_0I1Dr_name, *log_0I1Dw_name;
};
-// set by setup_bbcc at start of every BB, and needed by log_* helpers
-extern Addr CLG_(bb_base);
-extern ULong* CLG_(cost_base);
-
// Event groups
#define EG_USE 0
#define EG_IR 1
@@ -699,7 +708,6 @@
struct event_sets {
EventSet *base, *full;
};
-extern struct event_sets CLG_(sets);
#define fullOffset(group) (CLG_(sets).full->offset[group])
@@ -717,7 +725,6 @@
void CLG_(print_debug_usage)(void);
/* from sim.c */
-extern struct cachesim_if CLG_(cachesim);
void CLG_(init_eventsets)(void);
/* from main.c */
@@ -813,10 +820,7 @@
void CLG_(run_post_signal_on_call_stack_bottom)(void);
/* from dump.c */
-extern FullCost CLG_(total_cost);
void CLG_(init_dumps)(void);
-HChar* CLG_(get_out_file)(void);
-HChar* CLG_(get_out_directory)(void);
/*------------------------------------------------------------*/
/*--- Exported global variables ---*/
@@ -831,11 +835,17 @@
extern Bool CLG_(instrument_state);
/* min of L1 and LL cache line sizes */
extern Int CLG_(min_line_size);
-
extern call_stack CLG_(current_call_stack);
extern fn_stack CLG_(current_fn_stack);
extern exec_state CLG_(current_state);
extern ThreadId CLG_(current_tid);
+extern FullCost CLG_(total_cost);
+extern struct cachesim_if CLG_(cachesim);
+extern struct event_sets CLG_(sets);
+
+// set by setup_bbcc at start of every BB, and needed by log_* helpers
+extern Addr CLG_(bb_base);
+extern ULong* CLG_(cost_base);
/*------------------------------------------------------------*/
Modified: branches/BUF_REMOVAL/callgrind/jumps.c
==============================================================================
--- branches/BUF_REMOVAL/callgrind/jumps.c (original)
+++ branches/BUF_REMOVAL/callgrind/jumps.c Fri Aug 22 17:14:22 2014
@@ -28,15 +28,13 @@
#include "global.h"
-#define N_JCC_INITIAL_ENTRIES 4437
-
/*------------------------------------------------------------*/
/*--- Jump Cost Center (JCC) operations, including Calls ---*/
/*------------------------------------------------------------*/
#define N_JCC_INITIAL_ENTRIES 4437
-jcc_hash current_jccs;
+static jcc_hash current_jccs;
void CLG_(init_jcc_hash)(jcc_hash* jccs)
{
Modified: branches/BUF_REMOVAL/configure.ac
==============================================================================
--- branches/BUF_REMOVAL/configure.ac (original)
+++ branches/BUF_REMOVAL/configure.ac Fri Aug 22 17:14:22 2014
@@ -1708,7 +1708,7 @@
# does this compiler support -mpreferred-stack-boundary=2 ?
-AC_MSG_CHECKING([if gcc accepts -mpreferred-stack-boundary])
+AC_MSG_CHECKING([if gcc accepts -mpreferred-stack-boundary=2])
safe_CFLAGS=$CFLAGS
CFLAGS="-mpreferred-stack-boundary=2"
@@ -1727,163 +1727,52 @@
AC_SUBST(PREFERRED_STACK_BOUNDARY)
-# does this compiler support -Wno-pointer-sign ?
-AC_MSG_CHECKING([if gcc accepts -Wno-pointer-sign])
-
-safe_CFLAGS=$CFLAGS
-CFLAGS="-Wno-pointer-sign"
-
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
- return 0;
-]])], [
-no_pointer_sign=yes
-AC_MSG_RESULT([yes])
-], [
-no_pointer_sign=no
-AC_MSG_RESULT([no])
-])
-CFLAGS=$safe_CFLAGS
-
-AM_CONDITIONAL(HAS_POINTER_SIGN_WARNING, test x$no_pointer_sign = xyes)
-
-
-# does this compiler support -Wno-write-strings ?
-AC_MSG_CHECKING([if gcc accepts -Wwrite-strings])
-
-safe_CFLAGS=$CFLAGS
-CFLAGS="-Wwrite-strings"
-
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
- return 0;
-]])], [
-no_write_strings=yes
-AC_MSG_RESULT([yes])
-], [
-no_write_strings=no
-AC_MSG_RESULT([no])
-])
-CFLAGS=$safe_CFLAGS
-
-if test x$no_write_strings = xyes; then
- CFLAGS="$CFLAGS -Wwrite-strings"
- CXXFLAGS="$CXXFLAGS -Wwrite-strings"
-fi
-
-AM_CONDITIONAL(HAS_WRITE_STRINGS_WARNING, test x$no_write_strings = xyes)
-
-# does this compiler support -Wno-empty-body ?
-
-AC_MSG_CHECKING([if gcc accepts -Wno-empty-body])
-
-safe_CFLAGS=$CFLAGS
-CFLAGS="-Wno-empty-body"
-
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[
- return 0;
-]])], [
-AC_SUBST([FLAG_W_NO_EMPTY_BODY], [-Wno-empty-body])
-AC_MSG_RESULT([yes])
-], [
-AC_SUBST([FLAG_W_NO_EMPTY_BODY], [])
-AC_MSG_RESULT([no])
-])
-CFLAGS=$safe_CFLAGS
-
-
-# does this compiler support -Wno-format-zero-length ?
-
-AC_MSG_CHECKING([if gcc accepts -Wno-format-zero-length])
-
-safe_CFLAGS=$CFLAGS
-CFLAGS="-Wno-format-zero-length"
-
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[
- return 0;
-]])], [
-AC_SUBST([FLAG_W_NO_FORMAT_ZERO_LENGTH], [-Wno-format-zero-length])
-AC_MSG_RESULT([yes])
-], [
-AC_SUBST([FLAG_W_NO_FORMAT_ZERO_LENGTH], [])
-AC_MSG_RESULT([no])
-])
+# Convenience function to check whether GCC supports a particular
+# warning option. Takes two arguments, first the warning flag name
+# to check (without -W), then the conditional name to set if that
+# warning flag is supported.
+AC_DEFUN([AC_GCC_WARNING_COND],[
+AC_MSG_CHECKING([if gcc accepts -W$1])
+safe_CFLAGS=$CLFLAGS
+CFLAGS="-W$1"
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[;]])], [
+has_warning_flag=yes
+AC_MSG_RESULT([yes])], [
+has_warning_flag=no
+AC_MSG_RESULT([no])])
CFLAGS=$safe_CFLAGS
+AM_CONDITIONAL([$2], test x$has_warning_flag = xyes)]
+)
+AC_GCC_WARNING_COND([pointer-sign], [HAS_POINTER_SIGN_WARNING])
+AC_GCC_WARNING_COND([write-strings], [HAS_WRITE_STRINGS_WARNING])
-# does this compiler support -Wno-tautological-compare ?
-
-AC_MSG_CHECKING([if gcc accepts -Wno-tautological-compare])
-
-safe_CFLAGS=$CFLAGS
-CFLAGS="-Wno-tautological-compare"
-
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[
- return 0;
-]])], [
-AC_SUBST([FLAG_W_NO_TAUTOLOGICAL_COMPARE], [-Wno-tautological-compare])
-AC_MSG_RESULT([yes])
-], [
-AC_SUBST([FLAG_W_NO_TAUTOLOGICAL_COMPARE], [])
-AC_MSG_RESULT([no])
-])
-CFLAGS=$safe_CFLAGS
-
-
-# does this compiler support -Wno-nonnull ?
-
-AC_MSG_CHECKING([if gcc accepts -Wno-nonnull])
-
-safe_CFLAGS=$CFLAGS
-CFLAGS="-Wno-nonnull"
-
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[
- return 0;
-]])], [
-AC_SUBST([FLAG_W_NO_NONNULL], [-Wno-nonnull])
-AC_MSG_RESULT([yes])
-], [
-AC_SUBST([FLAG_W_NO_NONNULL], [])
-AC_MSG_RESULT([no])
-])
-CFLAGS=$safe_CFLAGS
-
-
-# does this compiler support -Wno-overflow ?
-
-AC_MSG_CHECKING([if gcc accepts -Wno-overflow])
-
-safe_CFLAGS=$CFLAGS
-CFLAGS="-Wno-overflow"
-
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[
- return 0;
-]])], [
-AC_SUBST([FLAG_W_NO_OVERFLOW], [-Wno-overflow])
-AC_MSG_RESULT([yes])
-], [
-AC_SUBST([FLAG_W_NO_OVERFLOW], [])
-AC_MSG_RESULT([no])
-])
+# Convenience function to check whether GCC supports a particular
+# warning option. Similar to AC_GCC_WARNING_COND, but does a
+# substitution instead of setting an conditional. Takes two arguments,
+# first the warning flag name to check (without -W), then the
+# substitution name to set with -Wno-warning-flag if the flag exists,
+# or the empty string if the compiler doesn't accept the flag. Note
+# that checking is done against the warning flag itself, but the
+# substitution is then done to cancel the warning flag.
+AC_DEFUN([AC_GCC_WARNING_SUBST_NO],[
+AC_MSG_CHECKING([if gcc accepts -W$1])
+safe_CFLAGS=$CLFLAGS
+CFLAGS="-W$1"
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[;]])], [
+AC_SUBST([$2], [-Wno-$1])
+AC_MSG_RESULT([yes])], [
+AC_SUBST([$2], [])
+AC_MSG_RESULT([no])])
CFLAGS=$safe_CFLAGS
-
-
-# does this compiler support -Wno-uninitialized ?
-
-AC_MSG_CHECKING([if gcc accepts -Wno-uninitialized])
-
-safe_CFLAGS=$CFLAGS
-CFLAGS="-Wno-uninitialized"
-
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[
- return 0;
-]])], [
-AC_SUBST([FLAG_W_NO_UNINITIALIZED], [-Wno-uninitialized])
-AC_MSG_RESULT([yes])
-], [
-AC_SUBST([FLAG_W_NO_UNINITIALIZED], [])
-AC_MSG_RESULT([no])
])
-CFLAGS=$safe_CFLAGS
+AC_GCC_WARNING_SUBST_NO([empty-body], [FLAG_W_NO_EMPTY_BODY])
+AC_GCC_WARNING_SUBST_NO([format-zero-length], [FLAG_W_NO_FORMAT_ZERO_LENGTH])
+AC_GCC_WARNING_SUBST_NO([tautological-compare], [FLAG_W_NO_TAUTOLOGICAL_COMPARE])
+AC_GCC_WARNING_SUBST_NO([nonnull], [FLAG_W_NO_NONNULL])
+AC_GCC_WARNING_SUBST_NO([overflow], [FLAG_W_NO_OVERFLOW])
+AC_GCC_WARNING_SUBST_NO([uninitialized], [FLAG_W_NO_UNINITIALIZED])
# does this compiler support -Wextra or the older -W ?
@@ -2652,7 +2541,8 @@
# Note: this is a kludge in that it assumes the specified mpicc
# understands -m32/-m64 regardless of what is specified using
# --with-mpicc=.
-MPI_CC="mpicc"
+AC_PATH_PROG([MPI_CC], [mpicc], [mpicc],
+ [$PATH:/usr/lib/openmpi/bin:/usr/lib64/openmpi/bin])
mflag_primary=
if test x$VGCONF_PLATFORM_PRI_CAPS = xX86_LINUX \
Modified: branches/BUF_REMOVAL/coregrind/m_clientstate.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_clientstate.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_clientstate.c Fri Aug 22 17:14:22 2014
@@ -107,6 +107,11 @@
VG_(get_StackTrace) in m_stacktrace.c for further info. */
Addr VG_(client__dl_sysinfo_int80) = 0;
+/* Address of the (internal) glibc nptl pthread stack cache size,
+ declared as:
+ static size_t stack_cache_actsize;
+ in nptl/allocatestack.c */
+SizeT* VG_(client__stack_cache_actsize__addr) = 0;
/*--------------------------------------------------------------------*/
/*--- end ---*/
Modified: branches/BUF_REMOVAL/coregrind/m_initimg/initimg-darwin.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_initimg/initimg-darwin.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_initimg/initimg-darwin.c Fri Aug 22 17:14:22 2014
@@ -333,7 +333,6 @@
Addr client_SP; /* client stack base (initial SP) */
Addr clstack_start;
Int i;
- Bool have_exename;
vg_assert(VG_IS_PAGE_ALIGNED(clstack_end+1));
vg_assert( VG_(args_for_client) );
@@ -343,7 +342,6 @@
/* first of all, work out how big the client stack will be */
stringsize = 0;
auxsize = 0;
- have_exename = VG_(args_the_exename) != NULL;
/* paste on the extra args if the loader needs them (ie, the #!
interpreter and its argument) */
@@ -358,8 +356,7 @@
}
/* now scan the args we're given... */
- if (have_exename)
- stringsize += VG_(strlen)( VG_(args_the_exename) ) + 1;
+ stringsize += VG_(strlen)( VG_(args_the_exename) ) + 1;
for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
argc++;
@@ -387,7 +384,7 @@
/* OK, now we know how big the client stack is */
stacksize =
sizeof(Word) + /* argc */
- (have_exename ? sizeof(HChar **) : 0) + /* argc[0] == exename */
+ sizeof(HChar **) + /* argc[0] == exename */
sizeof(HChar **)*argc + /* argv */
sizeof(HChar **) + /* terminal NULL */
sizeof(HChar **)*envc + /* envp */
@@ -435,7 +432,7 @@
if (info->dynamic) *ptr++ = info->text;
/* --- client argc --- */
- *ptr++ = (Addr)(argc + (have_exename ? 1 : 0));
+ *ptr++ = (Addr)(argc + 1);
/* --- client argv --- */
if (info->interp_name) {
@@ -447,8 +444,7 @@
VG_(free)(info->interp_args);
}
- if (have_exename)
- *ptr++ = (Addr)copy_str(&strtab, VG_(args_the_exename));
+ *ptr++ = (Addr)copy_str(&strtab, VG_(args_the_exename));
for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
*ptr++ = (Addr)copy_str(
Modified: branches/BUF_REMOVAL/coregrind/m_initimg/initimg-linux.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_initimg/initimg-linux.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_initimg/initimg-linux.c Fri Aug 22 17:14:22 2014
@@ -400,7 +400,6 @@
Addr client_SP; /* client stack base (initial SP) */
Addr clstack_start;
Int i;
- Bool have_exename;
vg_assert(VG_IS_PAGE_ALIGNED(clstack_end+1));
vg_assert( VG_(args_for_client) );
@@ -412,7 +411,6 @@
/* first of all, work out how big the client stack will be */
stringsize = 0;
- have_exename = VG_(args_the_exename) != NULL;
/* paste on the extra args if the loader needs them (ie, the #!
interpreter and its argument) */
@@ -427,8 +425,7 @@
}
/* now scan the args we're given... */
- if (have_exename)
- stringsize += VG_(strlen)( VG_(args_the_exename) ) + 1;
+ stringsize += VG_(strlen)( VG_(args_the_exename) ) + 1;
for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
argc++;
@@ -452,7 +449,7 @@
stringsize += VG_(strlen)(cauxv->u.a_ptr) + 1;
else if (cauxv->a_type == AT_RANDOM)
stringsize += 16;
- else if (cauxv->a_type == AT_EXECFN && have_exename)
+ else if (cauxv->a_type == AT_EXECFN)
stringsize += VG_(strlen)(VG_(args_the_exename)) + 1;
auxsize += sizeof(*cauxv);
}
@@ -465,7 +462,7 @@
/* OK, now we know how big the client stack is */
stacksize =
sizeof(Word) + /* argc */
- (have_exename ? sizeof(HChar **) : 0) + /* argc[0] == exename */
+ sizeof(HChar **) + /* argc[0] == exename */
sizeof(HChar **)*argc + /* argv */
sizeof(HChar **) + /* terminal NULL */
sizeof(HChar **)*envc + /* envp */
@@ -577,7 +574,7 @@
ptr = (Addr*)client_SP;
/* --- client argc --- */
- *ptr++ = argc + (have_exename ? 1 : 0);
+ *ptr++ = argc + 1;
/* --- client argv --- */
if (info->interp_name) {
@@ -589,8 +586,7 @@
VG_(free)(info->interp_args);
}
- if (have_exename)
- *ptr++ = (Addr)copy_str(&strtab, VG_(args_the_exename));
+ *ptr++ = (Addr)copy_str(&strtab, VG_(args_the_exename));
for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
*ptr++ = (Addr)copy_str(
Modified: branches/BUF_REMOVAL/coregrind/m_libcbase.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_libcbase.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_libcbase.c Fri Aug 22 17:14:22 2014
@@ -509,6 +509,7 @@
}
Bool VG_(parse_enum_set) ( const HChar *tokens,
+ Bool allow_all,
const HChar *input,
UInt *enum_set)
{
@@ -537,7 +538,7 @@
input_word;
input_word = VG_(strtok_r)(NULL, ",", &input_saveptr)) {
word_nr++;
- if (0 == VG_(strcmp)(input_word, "all")) {
+ if (allow_all && 0 == VG_(strcmp)(input_word, "all")) {
seen_all_kw = True;
known_words++;
} else if (0 == VG_(strcmp)(input_word, "none")) {
Modified: branches/BUF_REMOVAL/coregrind/m_libcprint.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_libcprint.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_libcprint.c Fri Aug 22 17:14:22 2014
@@ -488,7 +488,8 @@
// (useful to run regression tests in an outer/inner setup
// and avoid the diff failing due to these unexpected '>').
depth = RUNNING_ON_VALGRIND;
- if (depth > 0 && !VG_(strstr)(VG_(clo_sim_hints), "no-inner-prefix")) {
+ if (depth > 0
+ && !SimHintiS(SimHint_no_inner_prefix, VG_(clo_sim_hints))) {
if (depth > 10)
depth = 10; // ?!?!
for (i = 0; i < depth; i++) {
Modified: branches/BUF_REMOVAL/coregrind/m_main.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_main.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_main.c Fri Aug 22 17:14:22 2014
@@ -174,11 +174,13 @@
" --vgdb-shadow-registers=no|yes let gdb see the shadow registers [no]\n"
" --vgdb-prefix=<prefix> prefix for vgdb FIFOs [%s]\n"
" --run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes]\n"
-" --sim-hints=hint1,hint2,... known hints:\n"
-" lax-ioctls, enable-outer, fuse-compatible [none]\n"
+" --sim-hints=hint1,hint2,... activate unusual sim behaviours [none] \n"
+" where hint is one of lax-ioctls fuse-compatible enable-outer\n"
+" no-inner-prefix no-nptl-pthread-stackcache none\n"
" --fair-sched=no|yes|try schedule threads fairly on multicore systems [no]\n"
-" --kernel-variant=variant1,variant2,... known variants: bproc [none]\n"
-" handle non-standard kernel variants\n"
+" --kernel-variant=variant1,variant2,... handle non-standard kernel"
+ " variants [none]\n"
+" where variant is one of bproc none\n"
" --merge-recursive-frames=<number> merge frames between identical\n"
" program counters in max <number> frames) [0]\n"
" --num-transtab-sectors=<number> size of translated code cache [%d]\n"
@@ -376,7 +378,11 @@
// Set up VG_(clo_sim_hints). This is needed a.o. for an inner
// running in an outer, to have "no-inner-prefix" enabled
// as early as possible.
- else if VG_STR_CLO (str, "--sim-hints", VG_(clo_sim_hints)) {}
+ else if VG_USETX_CLO (str, "--sim-hints",
+ "no-inner-prefix,fuse-compatible,"
+ "lax-ioctls,enable-outer,"
+ "no-nptl-pthread-stackcache",
+ VG_(clo_sim_hints)) {}
}
}
@@ -545,11 +551,9 @@
}
else if VG_INT_CLO (arg, "--vgdb-poll", VG_(clo_vgdb_poll)) {}
else if VG_INT_CLO (arg, "--vgdb-error", VG_(clo_vgdb_error)) {}
- else if VG_STR_CLO (arg, "--vgdb-stop-at", tmp_str) {
- if (!VG_(parse_enum_set)("startup,exit,valgrindabexit", tmp_str,
- &VG_(clo_vgdb_stop_at)))
- VG_(fmsg_bad_option)(arg, "");
- }
+ else if VG_USET_CLO (arg, "--vgdb-stop-at",
+ "startup,exit,valgrindabexit",
+ VG_(clo_vgdb_stop_at)) {}
else if VG_STR_CLO (arg, "--vgdb-prefix", VG_(clo_vgdb_prefix)) {
VG_(arg_vgdb_prefix) = arg;
}
@@ -622,7 +626,8 @@
VG_(clo_smc_check),
Vg_SmcAllNonFile);
- else if VG_STR_CLO (arg, "--kernel-variant", VG_(clo_kernel_variant)) {}
+ else if VG_USETX_CLO (arg, "--kernel-variant", "bproc",
+ VG_(clo_kernel_variant)) {}
else if VG_BOOL_CLO(arg, "--dsymutil", VG_(clo_dsymutil)) {}
@@ -1270,8 +1275,7 @@
// paste the command line (because of the "==pid==" prefixes), so we now
// favour utility and simplicity over aesthetics.
umsg_or_xml("%sCommand: ", xpre);
- if (VG_(args_the_exename))
- umsg_or_xml_arg(VG_(args_the_exename));
+ umsg_or_xml_arg(VG_(args_the_exename));
for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
HChar* s = *(HChar**)VG_(indexXA)( VG_(args_for_client), i );
@@ -1322,8 +1326,7 @@
VG_(printf_xml)(" </vargv>\n");
VG_(printf_xml)(" <argv>\n");
- if (VG_(args_the_exename))
- VG_(printf_xml)(" <exe>%pS</exe>\n",
+ VG_(printf_xml)(" <exe>%pS</exe>\n",
VG_(args_the_exename));
for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) {
VG_(printf_xml)(
@@ -1869,8 +1872,7 @@
VG_(err_config_error)("Can't create client cmdline file in %s\n", buf2);
nul[0] = 0;
- exename = VG_(args_the_exename) ? VG_(args_the_exename)
- : "unknown_exename";
+ exename = VG_(args_the_exename);
VG_(write)(fd, exename, VG_(strlen)( exename ));
VG_(write)(fd, nul, 1);
Modified: branches/BUF_REMOVAL/coregrind/m_options.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_options.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_options.c Fri Aug 22 17:14:22 2014
@@ -112,7 +112,7 @@
Int VG_(clo_dump_error) = 0;
Int VG_(clo_backtrace_size) = 12;
Int VG_(clo_merge_recursive_frames) = 0; // default value: no merge
-const HChar* VG_(clo_sim_hints) = NULL;
+UInt VG_(clo_sim_hints) = 0;
Bool VG_(clo_sym_offsets) = False;
Bool VG_(clo_read_inline_info) = False; // Or should be put it to True by default ???
Bool VG_(clo_read_var_info) = False;
@@ -127,7 +127,7 @@
Word VG_(clo_main_stacksize) = 0; /* use client's rlimit.stack */
Bool VG_(clo_wait_for_gdb) = False;
VgSmc VG_(clo_smc_check) = Vg_SmcStack;
-const HChar* VG_(clo_kernel_variant) = NULL;
+UInt VG_(clo_kernel_variant) = 0;
Bool VG_(clo_dsymutil) = False;
Bool VG_(clo_sigill_diag) = True;
UInt VG_(clo_unw_stack_scan_thresh) = 0; /* disabled by default */
Modified: branches/BUF_REMOVAL/coregrind/m_redir.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_redir.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_redir.c Fri Aug 22 17:14:22 2014
@@ -401,6 +401,10 @@
Bool check_ppcTOCs = False;
Bool isText;
const HChar* newdi_soname;
+ Bool dehacktivate_pthread_stack_cache_var_search = False;
+ const HChar* const pthread_soname = "libpthread.so.0";
+ const HChar* const pthread_stack_cache_actsize_varname
+ = "stack_cache_actsize";
# if defined(VG_PLAT_USES_PPCTOC)
check_ppcTOCs = True;
@@ -495,6 +499,10 @@
specList = NULL; /* the spec list we're building up */
+ dehacktivate_pthread_stack_cache_var_search =
+ SimHintiS(SimHint_no_nptl_pthread_stackcache, VG_(clo_sim_hints))
+ && 0 == VG_(strcmp)(newdi_soname, pthread_soname);
+
nsyms = VG_(DebugInfo_syms_howmany)( newdi );
for (i = 0; i < nsyms; i++) {
VG_(DebugInfo_syms_getidx)( newdi, i, &sym_avmas,
@@ -511,8 +519,22 @@
&demangled_fnpatt,
&isWrap, &becTag, &becPrio );
/* ignore data symbols */
- if (!isText)
+ if (!isText) {
+ /* But search for dehacktivate stack cache var if needed. */
+ if (dehacktivate_pthread_stack_cache_var_search
+ && 0 == VG_(strcmp)(*names,
+ pthread_stack_cache_actsize_varname)) {
+ if ( VG_(clo_verbosity) > 1 ) {
+ VG_(message)( Vg_DebugMsg,
+ "deactivate nptl pthread stackcache via kludge:"
+ " found symbol %s at addr %p\n",
+ *names, (void*) sym_avmas.main);
+ }
+ VG_(client__stack_cache_actsize__addr) = (SizeT*) sym_avmas.main;
+ dehacktivate_pthread_stack_cache_var_search = False;
+ }
continue;
+ }
if (!ok) {
/* It's not a full-scale redirect, but perhaps it is a load-notify
fn? Let the load-notify department see it. */
@@ -587,6 +609,13 @@
}
free_symname_array(names_init, &twoslots[0]);
}
+ if (dehacktivate_pthread_stack_cache_var_search) {
+ VG_(message)(Vg_DebugMsg,
+ "WARNING: could not find symbol for var %s in %s\n",
+ pthread_stack_cache_actsize_varname, pthread_soname);
+ VG_(message)(Vg_DebugMsg,
+ "=> pthread stack cache cannot be disabled!\n");
+ }
if (check_ppcTOCs) {
for (i = 0; i < nsyms; i++) {
Modified: branches/BUF_REMOVAL/coregrind/m_scheduler/scheduler.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_scheduler/scheduler.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_scheduler/scheduler.c Fri Aug 22 17:14:22 2014
@@ -61,14 +61,15 @@
#include "pub_core_basics.h"
#include "pub_core_debuglog.h"
#include "pub_core_vki.h"
-#include "pub_core_vkiscnums.h" // __NR_sched_yield
-#include "pub_core_libcsetjmp.h" // to keep _threadstate.h happy
+#include "pub_core_vkiscnums.h" // __NR_sched_yield
+#include "pub_core_libcsetjmp.h" // to keep _threadstate.h happy
#include "pub_core_threadstate.h"
+#include "pub_core_clientstate.h"
#include "pub_core_aspacemgr.h"
-#include "pub_core_clreq.h" // for VG_USERREQ__*
+#include "pub_core_clreq.h" // for VG_USERREQ__*
#include "pub_core_dispatch.h"
-#include "pub_core_errormgr.h" // For VG_(get_n_errs_found)()
-#include "pub_core_gdbserver.h" // for VG_(gdbserver) and VG_(gdbserver_activity)
+#include "pub_core_errormgr.h" // For VG_(get_n_errs_found)()
+#include "pub_core_gdbserver.h" // for VG_(gdbserver)/VG_(gdbserver_activity)
#include "pub_core_libcbase.h"
#include "pub_core_libcassert.h"
#include "pub_core_libcprint.h"
@@ -1210,6 +1211,30 @@
}
}
+ if (SimHintiS(SimHint_no_nptl_pthread_stackcache, VG_(clo_sim_hints))
+ && tid != 1) {
+ /* We disable the stack cache the first time we see a thread other
+ than the main thread appearing. At this moment, we are sure the pthread
+ lib loading is done/variable was initialised by pthread lib/... */
+ if (VG_(client__stack_cache_actsize__addr)) {
+ if (*VG_(client__stack_cache_actsize__addr) == 0) {
+ VG_(debugLog)(1,"sched",
+ "pthread stack cache size disable done"
+ " via kludge\n");
+ *VG_(client__stack_cache_actsize__addr) = 1000 * 1000 * 1000;
+ /* Set a value big enough to be above the hardcoded maximum stack
+ cache size in glibc, small enough to allow a pthread stack size
+ to be added without risk of overflow. */
+ }
+ } else {
+ VG_(debugLog)(0,"sched",
+ "WARNING: pthread stack cache cannot be disabled!\n");
+ VG_(clo_sim_hints) &= !SimHint2S(SimHint_no_nptl_pthread_stackcache);
+ /* Remove SimHint_no_nptl_pthread_stackcache from VG_(clo_sim_hints)
+ to avoid having a msg for all following threads. */
+ }
+ }
+
/* set the proper running signal mask */
block_signals();
Modified: branches/BUF_REMOVAL/coregrind/m_syswrap/priv_types_n_macros.h
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_syswrap/priv_types_n_macros.h (original)
+++ branches/BUF_REMOVAL/coregrind/m_syswrap/priv_types_n_macros.h Fri Aug 22 17:14:22 2014
@@ -368,8 +368,8 @@
if (VG_(clo_trace_syscalls)) \
VG_(printf)(format, ## args)
-#define FUSE_COMPATIBLE_MAY_BLOCK() \
- if (VG_(strstr)(VG_(clo_sim_hints),"fuse-compatible")) \
+#define FUSE_COMPATIBLE_MAY_BLOCK() \
+ if (SimHintiS(SimHint_fuse_compatible, VG_(clo_sim_hints))) \
*flags |= SfMayBlock
Modified: branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-amd64-linux.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-amd64-linux.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-amd64-linux.c Fri Aug 22 17:14:22 2014
@@ -664,7 +664,7 @@
/* 184 is used by sys_bproc. If we're not on a declared bproc
variant, fail in the usual way, since it is otherwise unused. */
- if (!VG_(strstr)(VG_(clo_kernel_variant), "bproc")) {
+ if (!KernelVariantiS(KernelVariant_bproc, VG_(clo_kernel_variant))) {
PRINT("non-existent syscall! (syscall 184)");
PRE_REG_READ0(long, "ni_syscall(184)");
SET_STATUS_Failure( VKI_ENOSYS );
Modified: branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-generic.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-generic.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-generic.c Fri Aug 22 17:14:22 2014
@@ -1085,6 +1085,11 @@
break;
# endif
+# ifdef VKI_AF_UNSPEC
+ case VKI_AF_UNSPEC:
+ break;
+# endif
+
default:
/* No specific information about this address family.
Let's just check the full data following the family.
@@ -3434,7 +3439,7 @@
UInt dir = _VKI_IOC_DIR(request);
UInt size = _VKI_IOC_SIZE(request);
- if (VG_(strstr)(VG_(clo_sim_hints), "lax-ioctls") != NULL) {
+ if (SimHintiS(SimHint_lax_ioctls, VG_(clo_sim_hints))) {
/*
* Be very lax about ioctl handling; the only
* assumption is that the size is correct. Doesn't
@@ -3844,7 +3849,7 @@
--sim-hints=enable-outer (used for self hosting). */
ok = ML_(fd_allowed)(ARG1, "write", tid, False);
if (!ok && ARG1 == 2/*stderr*/
- && VG_(strstr)(VG_(clo_sim_hints),"enable-outer"))
+ && SimHintiS(SimHint_enable_outer, VG_(clo_sim_hints)))
ok = True;
if (!ok)
SET_STATUS_Failure( VKI_EBADF );
Modified: branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-x86-linux.c
==============================================================================
--- branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-x86-linux.c (original)
+++ branches/BUF_REMOVAL/coregrind/m_syswrap/syswrap-x86-linux.c Fri Aug 22 17:14:22 2014
@@ -1368,7 +1368,7 @@
/* 223 is used by sys_bproc. If we're not on a declared bproc
variant, fail in the usual way. */
- if (!VG_(strstr)(VG_(clo_kernel_variant), "bproc")) {
+ if (!KernelVariantiS(KernelVariant_bproc, VG_(clo_kernel_variant))) {
PRINT("non-existent syscall! (syscall 223)");
PRE_REG_READ0(long, "ni_syscall(223)");
SET_STATUS_Failure( VKI_ENOSYS );
Modified: branches/BUF_REMOVAL/coregrind/pub_core_clientstate.h
==============================================================================
--- branches/BUF_REMOVAL/coregrind/pub_core_clientstate.h (original)
+++ branches/BUF_REMOVAL/coregrind/pub_core_clientstate.h Fri Aug 22 17:14:22 2014
@@ -93,6 +93,24 @@
extern Addr VG_(client__dl_sysinfo_int80);
+/* glibc nptl pthread systems only, when no-nptl-pthread-stackcache
+ was given in --sim-hints.
+ Used for a (kludgy) way to disable the cache of stacks as implemented in
+ nptl glibc.
+ Based on internal knowledge of the pthread glibc nptl/allocatestack.c code:
+ a huge value in stack_cache_actsize (bigger than the constant
+ stack_cache_maxsize) makes glibc believes the cache is full
+ and so stacks are always released when a pthread terminates.
+ Several ugliness in this kludge:
+ * hardcodes private glibc var name "stack_cache_maxsize"
+ * based on knowledge of the code of the functions
+ queue_stack and __free_stacks
+ * static symbol for "stack_cache_maxsize" must be in
+ the debug info.
+ It would be much cleaner to have a documented and supported
+ way to disable the pthread stack cache. */
+extern SizeT* VG_(client__stack_cache_actsize__addr);
+
#endif // __PUB_CORE_CLIENTSTATE_H
/*--------------------------------------------------------------------*/
Modified: branches/BUF_REMOVAL/coregrind/pub_core_options.h
==============================================================================
--- branches/BUF_REMOVAL/coregrind/pub_core_options.h (original)
+++ branches/BUF_REMOVAL/coregrind/pub_core_options.h Fri Aug 22 17:14:22 2014
@@ -36,7 +36,6 @@
// plus some functions and macros for manipulating them. Almost every
// other module imports this one, if only for VG_(clo_verbosity).
//--------------------------------------------------------------------
-
#include "pub_tool_options.h"
/* The max number of suppression files. */
@@ -82,11 +81,6 @@
#define VgdbStopAt2S(a) (1 << (a))
// VgdbStopAt a is member of the Set s ?
#define VgdbStopAtiS(a,s) ((s) & VgdbStopAt2S(a))
-// A set with all VgdbStopAt:
-#define VgdbStopAtallS \
- (VgdbStopAt2S(VgdbStopAt_Startup) \
- | VgdbStopAt2S(VgdbStopAt_Exit) \
- | VgdbStopAt2S(VgdbStopAt_ValgrindAbExit)
extern UInt VG_(clo_vgdb_stop_at); // A set of VgdbStopAt reasons.
/* prefix for the named pipes (FIFOs) used by vgdb/gdb to communicate with valgrind */
@@ -225,8 +219,24 @@
/* DEBUG: display gory details for the k'th most popular error.
default: Infinity. */
extern Int VG_(clo_dump_error);
+
/* Engage miscellaneous weird hacks needed for some progs. */
-extern const HChar* VG_(clo_sim_hints);
+typedef
+ enum {
+ SimHint_lax_ioctls,
+ SimHint_fuse_compatible,
+ SimHint_enable_outer,
+ SimHint_no_inner_prefix,
+ SimHint_no_nptl_pthread_stackcache
+ }
+ SimHint;
+
+// Build mask to check or set SimHint a membership
+#define SimHint2S(a) (1 << (a))
+// SimHint h is member of the Set s ?
+#define SimHintiS(h,s) ((s) & SimHint2S(h))
+extern UInt VG_(clo_sim_hints);
+
/* Show symbols in the form 'name+offset' ? Default: NO */
extern Bool VG_(clo_sym_offsets);
/* Read DWARF3 inline info ? */
@@ -326,9 +336,17 @@
auto-detected. */
extern VgSmc VG_(clo_smc_check);
-/* String containing comma-separated names of minor kernel variants,
+/* A set of minor kernel variants,
so they can be properly handled by m_syswrap. */
-extern const HChar* VG_(clo_kernel_variant);
+typedef enum {
+ KernelVariant_bproc
+ }
+ KernelVariant;
+// Build mask to check or set KernelVariant a membership
+#define KernelVariant2S(v) (1 << (v))
+// KernelVariant v is member of the Set s ?
+#define KernelVariantiS(v,s) ((s) & KernelVariant2S(v))
+extern UInt VG_(clo_kernel_variant);
/* Darwin-specific: automatically run /usr/bin/dsymutil to update
.dSYM directories as necessary? */
Modified: branches/BUF_REMOVAL/docs/xml/FAQ.xml
==============================================================================
--- branches/BUF_REMOVAL/docs/xml/FAQ.xml (original)
+++ branches/BUF_REMOVAL/docs/xml/FAQ.xml Fri Aug 22 17:14:22 2014
@@ -36,7 +36,7 @@
<para>How do you pronounce "Valgrind"?</para>
</question>
<answer id="a-pronounce">
- <para>The "Val" as in the world "value". The "grind" is pronounced
+ <para>The "Val" as in the word "value". The "grind" is pronounced
with a short 'i' -- ie. "grinned" (rhymes with "tinned") rather than
"grined" (rhymes with "find").</para> <para>Don't feel bad: almost
everyone gets it wrong at first.</para>
Modified: branches/BUF_REMOVAL/docs/xml/manual-core.xml
==============================================================================
--- branches/BUF_REMOVAL/docs/xml/manual-core.xml (original)
+++ branches/BUF_REMOVAL/docs/xml/manual-core.xml Fri Aug 22 17:14:22 2014
@@ -1956,6 +1956,7 @@
the simulated behaviour in nonstandard or dangerous ways, possibly
to help the simulation of strange features. By default no hints
are enabled. Use with caution! Currently known hints are:</para>
+
<itemizedlist>
<listitem>
<para><option>lax-ioctls: </option> Be very lax about ioctl
@@ -1965,11 +1966,23 @@
large number of strange ioctl commands becomes very
tiresome.</para>
</listitem>
+
+ <listitem>
+ <para><option>fuse-compatible: </option> Enable special
+ handling for certain system calls that may block in a FUSE
+ file-system. This may be necessary when running Valgrind
+ on a multi-threaded program that uses one thread to manage
+ a FUSE file-system and another thread to access that
+ file-system.
+ </para>
+ </listitem>
+
<listitem>
<para><option>enable-outer: </option> Enable some special
magic needed when the program being run is itself
Valgrind.</para>
</listitem>
+
<listitem>
<para><option>no-inner-prefix: </option> Disable printing
a prefix <option>></option> in front of each stdout or
@@ -1980,13 +1993,39 @@
front of the inner debug logging lines.</para>
</listitem>
<listitem>
- <para><option>fuse-compatible: </option> Enable special
- handling for certain system calls that may block in a FUSE
- file-system. This may be necessary when running Valgrind
- on a multi-threaded program that uses one thread to manage
- a FUSE file-system and another thread to access that
- file-system.
- </para>
+ <para><option>no-nptl-pthread-stackcache: </option>
+ This hint is only relevant when running Valgrind on Linux.</para>
+
+ <para>The GNU glibc pthread library
+ (<function>libpthread.so</function>), which is used by
+ pthread programs, maintains a cache of pthread stacks.
+ When a pthread terminates, the memory used for the pthread
+ stack and some thread local storage related data structure
+ are not always directly released. This memory is kept in
+ a cache (up to a certain size), and is re-used if a new
+ thread is started.</para>
+
+ <para>This cache causes the helgrind tool to report some
+ false positive race condition errors on this cached
+ memory, as helgrind does not understand the internal glibc
+ cache synchronisation primitives. So, when using helgrind,
+ disabling the cache helps to avoid false positive race
+ conditions, in particular when using thread local storage
+ variables (e.g. variables using the
+ <function>__thread</function> qualifier).</para>
+
+ <para>When using the memcheck tool, disabling the cache
+ ensures the memory used by glibc to handle __thread
+ variables is directly released when a thread
+ terminates.</para>
+
+ <para>Note: Valgrind disables the cache using some internal
+ knowledge of the glibc stack cache implementation and by
+ examining the debug information of the pthread
+ library. This technique is thus somewhat fragile and might
+ not work for all glibc versions. This has been succesfully
+ tested with various glibc versions (e.g. 2.11, 2.16, 2.18)
+ on various platforms.</para>
</listitem>
</itemizedlist>
</listitem>
Modified: branches/BUF_REMOVAL/drd/tests/Makefile.am
==============================================================================
--- branches/BUF_REMOVAL/drd/tests/Makefile.am (original)
+++ branches/BUF_REMOVAL/drd/tests/Makefile.am Fri Aug 22 17:14:22 2014
@@ -323,6 +323,8 @@
threaded-fork.vgtest \
threaded-fork-vcs.stderr.exp \
threaded-fork-vcs.vgtest \
+ tls_threads.stderr.exp \
+ tls_threads.vgtest \
trylock.stderr.exp \
trylock.vgtest \
unit_bitmap.stderr.exp \
Modified: branches/BUF_REMOVAL/exp-sgcheck/tests/hackedbz2.c
==============================================================================
--- branches/BUF_REMOVAL/exp-sgcheck/tests/hackedbz2.c (original)
+++ branches/BUF_REMOVAL/exp-sgcheck/tests/hackedbz2.c Fri Aug 22 17:14:22 2014
@@ -999,8 +999,8 @@
else
return c;
}
-
-static Int vex_strlen ( const HChar* str )
+/* Explicitly set noinline so the test can check it is in the backtrace. */
+static __attribute__(( noinline)) Int vex_strlen ( const HChar* str )
{
Int i = 0;
while (str[i] != 0) i++;
Modified: branches/BUF_REMOVAL/gdbserver_tests/filter_gdb
==============================================================================
--- branches/BUF_REMOVAL/gdbserver_tests/filter_gdb (original)
+++ branches/BUF_REMOVAL/gdbserver_tests/filter_gdb Fri Aug 22 17:14:22 2014
@@ -56,6 +56,7 @@
# finishes with a new line, sometimes not ???).
# 'exited with code' and 'exited normally' are printed slightly
# differently between gdb versions, normalize to "Program exited...".
+# for hgtls the breakpoint p=... address might show var location.
sed -e '/Remote debugging using/,/vgdb launched process attached/d' \
-e '/filter_gdb BEGIN drop/,/filter_gdb END drop/d' \
-e 's/^\[?1034hReading symbols/Reading symbols/' \
@@ -102,6 +103,7 @@
-e 's/0x........ in \(main (argc=1, argv=0x........) at watchpoints.c:[24][3689]\)/\1/' \
-e 's/0x........ in \(main () at clean_after_fork.c:34\)/\1/' \
-e 's/\(^.*signal SIGFPE.*$\)/\1\nafter trap SIGFPE/' \
+ -e 's/\(^Breakpoint 1, tls_ptr (p=0x........\) <tests[0-9+]*>\() at tls.c:55\)/\1\2/' \
-e '/Id Target Id Frame/d' \
-e 's/^\([ \*] [1234] \) *Thread /\1Thread /' \
-e 's/VgTs_WaitSys) 0x/VgTs_WaitSys) 0x/' \
Modified: branches/BUF_REMOVAL/gdbserver_tests/hgtls.stdoutB.exp
======================...
[truncated message content] |
|
From: <sv...@va...> - 2014-08-22 16:55:17
|
Author: florian
Date: Fri Aug 22 16:55:07 2014
New Revision: 14332
Log:
Remove benign macro redefinition.
Give current_jccs internal linkage.
Modified:
trunk/callgrind/jumps.c
Modified: trunk/callgrind/jumps.c
==============================================================================
--- trunk/callgrind/jumps.c (original)
+++ trunk/callgrind/jumps.c Fri Aug 22 16:55:07 2014
@@ -28,15 +28,13 @@
#include "global.h"
-#define N_JCC_INITIAL_ENTRIES 4437
-
/*------------------------------------------------------------*/
/*--- Jump Cost Center (JCC) operations, including Calls ---*/
/*------------------------------------------------------------*/
#define N_JCC_INITIAL_ENTRIES 4437
-jcc_hash current_jccs;
+static jcc_hash current_jccs;
void CLG_(init_jcc_hash)(jcc_hash* jccs)
{
|
|
From: Florian K. <fl...@ei...> - 2014-08-22 14:35:09
|
On 22.08.2014 10:56, Josef Weidendorfer wrote:
>> Log:
>> Remove unused functions CLG_(get_out_file) and CLG_(get_out_directory).
>> Looks like these were leftovers from early days -- perhaps r7235.
>
> Actually from r12268, when the mechanism for interactive control of
> Callgrind runs
> changed from using a command file to vgdb.
>
> Thanks! How did you find out these left-overs?
>
It was a by-product of my quest hunting down fixed size buffers. When I
ran across those prototypes I wondered how you would piece together the
full path name and whether you would use a fixed size buffer when doing
so. That got me searching.
Florian
|
|
From: <sv...@va...> - 2014-08-22 10:14:46
|
Author: mjw
Date: Fri Aug 22 10:14:28 2014
New Revision: 14331
Log:
Tweak gdbserver_tests/hgtls.stdoutB.exp filter_gdb a little for older GDB.
Older GDB (7.2 on i386) don't print out which variable+offset an argument
pointer in a breakpoint function points to. The hgtls test already tests
whether the p pointer/test points to the expected tests array element.
So don't expect gdb to print it also and filter it out with filter_gdb.
Modified:
trunk/gdbserver_tests/filter_gdb
trunk/gdbserver_tests/hgtls.stdoutB.exp
Modified: trunk/gdbserver_tests/filter_gdb
==============================================================================
--- trunk/gdbserver_tests/filter_gdb (original)
+++ trunk/gdbserver_tests/filter_gdb Fri Aug 22 10:14:28 2014
@@ -56,6 +56,7 @@
# finishes with a new line, sometimes not ???).
# 'exited with code' and 'exited normally' are printed slightly
# differently between gdb versions, normalize to "Program exited...".
+# for hgtls the breakpoint p=... address might show var location.
sed -e '/Remote debugging using/,/vgdb launched process attached/d' \
-e '/filter_gdb BEGIN drop/,/filter_gdb END drop/d' \
-e 's/^\[?1034hReading symbols/Reading symbols/' \
@@ -102,6 +103,7 @@
-e 's/0x........ in \(main (argc=1, argv=0x........) at watchpoints.c:[24][3689]\)/\1/' \
-e 's/0x........ in \(main () at clean_after_fork.c:34\)/\1/' \
-e 's/\(^.*signal SIGFPE.*$\)/\1\nafter trap SIGFPE/' \
+ -e 's/\(^Breakpoint 1, tls_ptr (p=0x........\) <tests[0-9+]*>\() at tls.c:55\)/\1\2/' \
-e '/Id Target Id Frame/d' \
-e 's/^\([ \*] [1234] \) *Thread /\1Thread /' \
-e 's/VgTs_WaitSys) 0x/VgTs_WaitSys) 0x/' \
Modified: trunk/gdbserver_tests/hgtls.stdoutB.exp
==============================================================================
--- trunk/gdbserver_tests/hgtls.stdoutB.exp (original)
+++ trunk/gdbserver_tests/hgtls.stdoutB.exp Fri Aug 22 10:14:28 2014
@@ -1,59 +1,59 @@
Breakpoint 1 at 0x........: file tls.c, line 55.
Continuing.
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test race tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test race tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+16>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test local tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+16>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test local tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+32>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test global tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+32>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test global tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+48>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test static_extern tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+48>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test static_extern tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+64>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_extern tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+64>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_extern tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+80>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+80>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+96>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_global tls_ip 0x........ ip 0x........ equal 1
[New Thread ....]
-Breakpoint 1, tls_ptr (p=0x........ <tests+96>) at tls.c:55
+Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_global tls_ip 0x........ ip 0x........ equal 1
Program exited normally.
|
|
From: Josef W. <Jos...@gm...> - 2014-08-22 08:56:14
|
Am 20.08.2014 um 22:37 schrieb sv...@va...: > Author: florian > Date: Wed Aug 20 20:37:33 2014 > New Revision: 14321 > > Log: > Remove unused functions CLG_(get_out_file) and CLG_(get_out_directory). > Looks like these were leftovers from early days -- perhaps r7235. Actually from r12268, when the mechanism for interactive control of Callgrind runs changed from using a command file to vgdb. Thanks! How did you find out these left-overs? Josef |
|
From: <sv...@va...> - 2014-08-22 08:38:49
|
Author: weidendo
Date: Fri Aug 22 08:38:40 2014
New Revision: 14330
Log:
Align header comment with other files
Modified:
trunk/callgrind/costs.h
trunk/callgrind/global.h
Modified: trunk/callgrind/costs.h
==============================================================================
--- trunk/callgrind/costs.h (original)
+++ trunk/callgrind/costs.h Fri Aug 22 08:38:40 2014
@@ -1,11 +1,35 @@
/*--------------------------------------------------------------------*/
-/*--- Callgrind ---*/
-/*--- ct_costs.h ---*/
-/*--- (C) 2004, Josef Weidendorfer ---*/
+/*--- Callgrind cost array interface. costs.h ---*/
/*--------------------------------------------------------------------*/
-#ifndef CT_COSTS
-#define CT_COSTS
+/*
+ This file is part of Valgrind, a dynamic binary instrumentation
+ framework.
+
+ Copyright (C) 2004-2014 Josef Weidendorfer
+ jos...@gm...
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307, USA.
+
+ The GNU General Public License is contained in the file COPYING.
+*/
+
+
+#ifndef CLG_COSTS
+#define CLG_COSTS
#include "pub_tool_basics.h"
@@ -32,4 +56,4 @@
void CLG_(free_costarrays)(void);
-#endif /* CT_COSTS */
+#endif /* CLG_COSTS */
Modified: trunk/callgrind/global.h
==============================================================================
--- trunk/callgrind/global.h (original)
+++ trunk/callgrind/global.h Fri Aug 22 08:38:40 2014
@@ -1,9 +1,32 @@
/*--------------------------------------------------------------------*/
-/*--- Callgrind ---*/
-/*--- global.h ---*/
-/*--- (C) 2004, 2005 Josef Weidendorfer ---*/
+/*--- Callgrind data structures, functions. global.h ---*/
/*--------------------------------------------------------------------*/
+/*
+ This file is part of Valgrind, a dynamic binary instrumentation
+ framework.
+
+ Copyright (C) 2004-2014 Josef Weidendorfer
+ jos...@gm...
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307, USA.
+
+ The GNU General Public License is contained in the file COPYING.
+*/
+
#ifndef CLG_GLOBAL
#define CLG_GLOBAL
@@ -28,7 +51,7 @@
/*------------------------------------------------------------*/
-/*--- Calltree compile options --- */
+/*--- Callgrind compile options --- */
/*------------------------------------------------------------*/
/* Enable debug output */
|
|
From: Rich C. <rc...@wi...> - 2014-08-22 05:07:09
|
valgrind revision: 14329
VEX revision: 2931
C compiler: gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]
GDB: GNU gdb (GDB; openSUSE Factory) 7.6.50.20130731-cvs
Assembler: GNU assembler (GNU Binutils; openSUSE Factory) 2.23.2
C library: GNU C Library (GNU libc) stable release version 2.18 (git )
uname -mrs: Linux 3.11.4-3-desktop x86_64
Vendor version: Welcome to openSUSE 13.1 "Bottle" Beta 1 - Kernel %r (%t).
Nightly build on rodan ( Linux 3.11.4-3-desktop x86_64 )
Started at 2014-08-21 19:22:01 CDT
Ended at 2014-08-22 00:06:58 CDT
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
== 611 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (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
== 611 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
memcheck/tests/vbit-test/vbit-test (stderr)
exp-sgcheck/tests/hackedbz2 (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Thu Aug 21 20:22:33 2014
--- new.short Thu Aug 21 21:24:23 2014
***************
*** 8,10 ****
! == 611 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/err_disable3 (stderr)
--- 8,10 ----
! == 611 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/err_disable3 (stderr)
***************
*** 13,16 ****
memcheck/tests/threadname_xml (stderr)
- memcheck/tests/vbit-test/vbit-test (stderr)
- exp-sgcheck/tests/hackedbz2 (stderr)
--- 13,14 ----
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
+ perl perf/vg_perf --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old perf
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.48s no: 7.9s (16.4x, -----) me:15.1s (31.4x, -----) ca:61.6s (128.3x, -----) he: 9.0s (18.7x, -----) ca:25.5s (53.2x, -----) dr: 8.8s (18.2x, -----) ma: 9.1s (18.9x, -----)
bigcode1 valgrind-old:0.48s no: 7.9s (16.4x, 0.0%) me:15.0s (31.2x, 0.4%) ca:61.4s (127.9x, 0.3%) he: 8.9s (18.6x, 0.6%) ca:25.5s (53.1x, 0.2%) dr: 8.7s (18.2x, 0.2%) ma: 9.1s (19.0x, -0.4%)
-- bigcode2 --
bigcode2 valgrind-new:0.49s no:18.9s (38.6x, -----) me:38.5s (78.6x, -----) ca:105.5s (215.2x, -----) he:22.5s (45.9x, -----) ca:40.8s (83.2x, -----) dr:21.3s (43.4x, -----) ma:21.4s (43.7x, -----)
bigcode2 valgrind-old:0.49s no:18.9s (38.6x, 0.0%) me:38.3s (78.2x, 0.5%) ca:105.4s (215.1x, 0.0%) he:22.4s (45.8x, 0.3%) ca:40.7s (83.0x, 0.2%) dr:21.2s (43.3x, 0.1%) ma:21.5s (44.0x, -0.6%)
-- bz2 --
bz2 valgrind-new:2.32s no:10.3s ( 4.5x, -----) me:27.3s (11.8x, -----) ca:60.6s (26.1x, -----) he:40.7s (17.6x, -----) ca:77.7s (33.5x, -----) dr:56.4s (24.3x, -----) ma: 9.7s ( 4.2x, -----)
bz2 valgrind-old:2.32s no:10.3s ( 4.5x, -0.1%) me:27.3s (11.8x, 0.0%) ca:60.6s (26.1x, -0.0%) he:40.6s (17.5x, 0.3%) ca:77.5s (33.4x, 0.2%) dr:56.3s (24.3x, 0.1%) ma: 9.7s ( 4.2x, -0.2%)
-- fbench --
fbench valgrind-new:1.44s no: 5.4s ( 3.8x, -----) me:17.3s (12.0x, -----) ca:26.9s (18.7x, -----) he:12.9s ( 8.9x, -----) ca:21.6s (15.0x, -----) dr:13.0s ( 9.0x, -----) ma: 5.6s ( 3.9x, -----)
fbench valgrind-old:1.44s no: 5.5s ( 3.9x, -2.2%) me:17.3s (12.0x, -0.3%) ca:27.0s (18.7x, -0.2%) he:12.8s ( 8.9x, 0.5%) ca:21.6s (15.0x, -0.1%) dr:13.0s ( 9.0x, -0.1%) ma: 5.6s ( 3.9x, -0.4%)
-- ffbench --
ffbench valgrind-new:1.00s no: 3.7s ( 3.7x, -----) me:12.1s (12.1x, -----) ca: 8.2s ( 8.2x, -----) he:21.4s (21.4x, -----) ca:27.6s (27.6x, -----) dr:17.1s (17.1x, -----) ma: 3.7s ( 3.7x, -----)
ffbench valgrind-old:1.00s no: 3.7s ( 3.7x, -0.3%) me:12.1s (12.1x, 0.1%) ca: 8.2s ( 8.2x, 0.1%) he:21.4s (21.4x, -0.1%) ca:27.6s (27.6x, -0.1%) dr:17.1s (17.1x, -0.1%) ma: 3.7s ( 3.7x, -0.3%)
-- heap --
heap valgrind-new:0.40s no: 3.3s ( 8.3x, -----) me:22.1s (55.2x, -----) ca:31.2s (78.1x, -----) he:30.9s (77.3x, -----) ca:22.9s (57.1x, -----) dr:19.9s (49.7x, -----) ma:21.8s (54.5x, -----)
heap valgrind-old:0.40s no: 3.3s ( 8.3x, 0.0%) me:22.2s (55.5x, -0.5%) ca:31.4s (78.4x, -0.4%) he:31.1s (77.7x, -0.5%) ca:22.8s (57.0x, 0.3%) dr:19.9s (49.7x, 0.0%) ma:22.0s (54.9x, -0.8%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.56s no: 3.6s ( 6.5x, -----) me:41.6s (74.3x, -----) ca:34.1s (60.9x, -----) he:35.9s (64.0x, -----) ca:24.7s (44.1x, -----) dr:22.6s (40.3x, -----) ma:23.1s (41.3x, -----)
heap_pdb4 valgrind-old:0.56s no: 3.6s ( 6.5x, 0.3%) me:41.9s (74.7x, -0.6%) ca:34.1s (61.0x, -0.2%) he:35.9s (64.2x, -0.2%) ca:24.8s (44.2x, -0.2%) dr:22.5s (40.2x, 0.2%) ma:23.3s (41.6x, -0.6%)
-- many-loss-records --
many-loss-records valgrind-new:0.05s no: 1.3s (25.2x, -----) me: 5.8s (116.8x, -----) ca: 5.1s (102.2x, -----) he: 5.2s (104.8x, -----) ca: 4.1s (81.8x, -----) dr: 4.7s (93.0x, -----) ma: 4.6s (92.2x, -----)
many-loss-records valgrind-old:0.05s no: 1.2s (25.0x, 0.8%) me: 5.8s (116.6x, 0.2%) ca: 5.1s (102.4x, -0.2%) he: 5.3s (105.2x, -0.4%) ca: 4.1s (81.8x, 0.0%) dr: 4.6s (92.8x, 0.2%) ma: 4.6s (92.6x, -0.4%)
-- many-xpts --
many-xpts valgrind-new:0.14s no: 1.5s (11.0x, -----) me: 6.9s (49.4x, -----) ca:13.1s (93.7x, -----) he: 9.7s (69.6x, -----) ca: 5.8s (41.6x, -----) dr: 6.2s (44.1x, -----) ma: 7.3s (52.3x, -----)
many-xpts valgrind-old:0.14s no: 1.5s (10.9x, 0.6%) me: 6.9s (49.4x, -0.1%) ca:13.1s (93.7x, 0.0%) he: 9.8s (69.7x, -0.2%) ca: 5.8s (41.6x, 0.2%) dr: 6.2s (44.0x, 0.3%) ma: 7.4s (52.6x, -0.7%)
-- sarp --
sarp valgrind-new:0.10s no: 1.5s (14.8x, -----) me: 9.4s (94.0x, -----) ca: 8.1s (81.4x, -----) he:31.0s (309.8x, -----) ca: 5.6s (56.0x, -----) dr: 4.1s (41.2x, -----) ma: 1.5s (15.2x, -----)
sarp valgrind-old:0.10s no: 1.5s (14.7x, 0.7%) me: 9.4s (93.9x, 0.1%) ca: 8.2s (81.5x, -0.1%) he:30.9s (309.1x, 0.2%) ca: 5.6s (56.0x, 0.0%) dr: 4.1s (41.2x, 0.0%) ma: 1.5s (15.2x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.76s no: 7.6s (10.0x, -----) me:37.9s (49.9x, -----) ca:47.8s (62.9x, -----) he:46.0s (60.5x, -----) ca:45.0s (59.3x, -----) dr:38.1s (50.2x, -----) ma:12.0s (15.8x, -----)
tinycc valgrind-old:0.76s no: 7.6s (10.0x, -0.3%) me:37.9s (49.9x, -0.1%) ca:47.8s (62.9x, 0.0%) he:46.0s (60.6x, -0.1%) ca:45.1s (59.3x, -0.0%) dr:38.1s (50.1x, 0.1%) ma:12.0s (15.8x, 0.1%)
-- Finished tests in perf ----------------------------------------------
== 11 programs, 154 timings =================
real 162m34.598s
user 160m33.035s
sys 1m49.444s
=================================================
./valgrind-new/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2014-08-21 20:24:58.332572289 -0500
+++ err_disable3.stderr.out 2014-08-21 20:43:43.910743562 -0500
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-new/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2014-08-21 20:25:05.187646888 -0500
+++ err_disable4.stderr.out 2014-08-21 20:43:47.965787326 -0500
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:68)
=================================================
./valgrind-new/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2014-08-21 20:25:02.955622599 -0500
+++ threadname.stderr.out 2014-08-21 20:50:03.647822268 -0500
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:53)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:53)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:38)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:38)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:26)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:26)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-new/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2014-08-21 20:25:05.197646997 -0500
+++ threadname_xml.stderr.out 2014-08-21 20:50:05.744844774 -0500
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
=================================================
./valgrind-old/exp-sgcheck/tests/hackedbz2.stderr.diff-glibc28-amd64
=================================================
--- hackedbz2.stderr.exp-glibc28-amd64 2014-08-21 19:22:33.392621666 -0500
+++ hackedbz2.stderr.out 2014-08-21 20:21:22.827226890 -0500
@@ -1,7 +1,6 @@
Invalid read of size 1
- at 0x........: vex_strlen (hackedbz2.c:1006)
- by 0x........: add_to_myprintf_buf (hackedbz2.c:1284)
+ at 0x........: add_to_myprintf_buf (hackedbz2.c:1006)
by 0x........: vex_printf (hackedbz2.c:1155)
by 0x........: BZ2_compressBlock (hackedbz2.c:4039)
by 0x........: handle_compress (hackedbz2.c:4761)
=================================================
./valgrind-old/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2014-08-21 19:22:22.949507763 -0500
+++ err_disable3.stderr.out 2014-08-21 19:41:57.118326274 -0500
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-old/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2014-08-21 19:22:23.535514155 -0500
+++ err_disable4.stderr.out 2014-08-21 19:42:02.027379950 -0500
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:68)
=================================================
./valgrind-old/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2014-08-21 19:22:21.222488926 -0500
+++ threadname.stderr.out 2014-08-21 19:48:18.026489829 -0500
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:53)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:53)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:38)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:38)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:26)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:26)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-old/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2014-08-21 19:22:24.504524724 -0500
+++ threadname_xml.stderr.out 2014-08-21 19:48:20.107512568 -0500
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/vbit-test/vbit-test.stderr.diff
=================================================
--- vbit-test.stderr.exp 2014-08-21 19:22:18.900463600 -0500
+++ vbit-test.stderr.out 2014-08-21 19:50:28.901919759 -0500
@@ -0,0 +1 @@
+unknown opcode 5767
|
|
From: Christian B. <bor...@de...> - 2014-08-22 04:10:47
|
valgrind revision: 14329 VEX revision: 2931 C compiler: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] GDB: GNU gdb (GDB) SUSE (7.5.1-0.7.29) Assembler: GNU assembler (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 C library: GNU C Library stable release version 2.11.3 (20110527) uname -mrs: Linux 3.0.101-0.31-default s390x Vendor version: Welcome to SUSE Linux Enterprise Server 11 SP3 (s390x) - Kernel %r (%t). Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP3 gcc 4.3.4 on z196 (s390x) ) Started at 2014-08-22 03:45:01 CEST Ended at 2014-08-22 06:10:33 CEST 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 == 661 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) helgrind/tests/pth_cond_destroy_busy (stderr) helgrind/tests/tc20_verifywrap (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 == 661 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) memcheck/tests/vbit-test/vbit-test (stderr) helgrind/tests/pth_cond_destroy_busy (stderr) helgrind/tests/tc20_verifywrap (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Fri Aug 22 04:02:26 2014 --- new.short Fri Aug 22 04:19:59 2014 *************** *** 8,12 **** ! == 661 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) - memcheck/tests/vbit-test/vbit-test (stderr) helgrind/tests/pth_cond_destroy_busy (stderr) --- 8,11 ---- ! == 661 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) helgrind/tests/pth_cond_destroy_busy (stderr) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.23s no: 4.8s (20.7x, -----) me: 6.7s (29.1x, -----) ca:26.5s (115.1x, -----) he: 5.6s (24.2x, -----) ca: 9.1s (39.6x, -----) dr: 4.8s (20.9x, -----) ma: 4.8s (20.7x, -----) bigcode1 valgrind-old:0.23s no: 4.7s (20.5x, 0.8%) me: 6.7s (28.9x, 0.6%) ca:26.4s (114.9x, 0.2%) he: 5.6s (24.5x, -1.1%) ca: 9.1s (39.6x, 0.1%) dr: 4.8s (20.7x, 0.6%) ma: 4.7s (20.4x, 1.3%) -- bigcode2 -- bigcode2 valgrind-new:0.24s no: 7.8s (32.6x, -----) me:13.5s (56.3x, -----) ca:39.2s (163.5x, -----) he:10.6s (44.0x, -----) ca:14.2s (59.0x, -----) dr: 8.9s (37.2x, -----) ma: 8.2s (34.0x, -----) bigcode2 valgrind-old:0.24s no: 7.8s (32.3x, 0.8%) me:13.5s (56.4x, -0.1%) ca:39.2s (163.5x, -0.0%) he:10.7s (44.5x, -1.2%) ca:14.2s (59.0x, -0.1%) dr: 8.9s (37.3x, -0.3%) ma: 8.2s (34.0x, 0.1%) -- bz2 -- bz2 valgrind-new:0.70s no: 6.5s ( 9.3x, -----) me:12.5s (17.8x, -----) ca:30.6s (43.8x, -----) he:19.6s (28.0x, -----) ca:34.0s (48.6x, -----) dr:29.8s (42.6x, -----) ma: 3.8s ( 5.4x, -----) bz2 valgrind-old:0.70s no: 6.5s ( 9.2x, 0.9%) me:12.4s (17.8x, 0.5%) ca:30.7s (43.8x, -0.0%) he:19.6s (28.0x, 0.1%) ca:34.0s (48.6x, -0.0%) dr:29.8s (42.6x, -0.0%) ma: 3.8s ( 5.4x, 0.0%) -- fbench -- fbench valgrind-new:0.41s no: 1.6s ( 3.9x, -----) me: 4.3s (10.4x, -----) ca: 9.3s (22.8x, -----) he: 6.2s (15.1x, -----) ca: 7.2s (17.7x, -----) dr: 5.5s (13.5x, -----) ma: 1.7s ( 4.0x, -----) fbench valgrind-old:0.41s no: 1.6s ( 3.9x, 0.6%) me: 4.3s (10.4x, 0.0%) ca: 9.3s (22.7x, 0.5%) he: 6.2s (15.1x, 0.2%) ca: 7.2s (17.6x, 0.6%) dr: 5.5s (13.5x, 0.2%) ma: 1.6s ( 4.0x, 0.6%) -- ffbench -- ffbench valgrind-new:0.21s no: 1.2s ( 5.7x, -----) me: 3.0s (14.1x, -----) ca: 3.0s (14.4x, -----) he:44.1s (210.0x, -----) ca: 9.5s (45.1x, -----) dr: 7.1s (33.6x, -----) ma: 1.0s ( 4.6x, -----) ffbench valgrind-old:0.21s no: 1.2s ( 5.7x, -0.8%) me: 3.0s (14.2x, -0.3%) ca: 3.0s (14.4x, -0.3%) he:44.1s (210.0x, 0.0%) ca: 9.5s (45.1x, -0.1%) dr: 7.0s (33.6x, 0.1%) ma: 1.0s ( 4.6x, -1.0%) -- heap -- heap valgrind-new:0.23s no: 2.3s ( 9.8x, -----) me: 8.7s (38.0x, -----) ca:13.2s (57.3x, -----) he:12.7s (55.3x, -----) ca:11.2s (48.9x, -----) dr: 7.6s (33.1x, -----) ma: 8.0s (34.6x, -----) heap valgrind-old:0.23s no: 2.2s ( 9.7x, 0.9%) me: 8.7s (37.7x, 0.8%) ca:13.2s (57.5x, -0.3%) he:12.8s (55.7x, -0.6%) ca:11.2s (48.9x, 0.0%) dr: 7.5s (32.7x, 1.2%) ma: 8.0s (34.8x, -0.8%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.22s no: 2.5s (11.3x, -----) me:12.8s (58.2x, -----) ca:14.2s (64.7x, -----) he:14.0s (63.5x, -----) ca:12.3s (56.0x, -----) dr: 8.6s (39.0x, -----) ma: 8.2s (37.0x, -----) heap_pdb4 valgrind-old:0.22s no: 2.5s (11.3x, 0.4%) me:12.8s (58.3x, -0.2%) ca:14.2s (64.7x, 0.0%) he:14.1s (64.0x, -0.8%) ca:12.3s (56.0x, 0.1%) dr: 8.5s (38.8x, 0.5%) ma: 8.2s (37.1x, -0.1%) -- many-loss-records -- many-loss-records valgrind-new:0.02s no: 0.5s (26.0x, -----) me: 2.1s (104.0x, -----) ca: 1.9s (97.0x, -----) he: 2.1s (106.5x, -----) ca: 1.9s (95.0x, -----) dr: 1.7s (85.5x, -----) ma: 1.7s (83.5x, -----) many-loss-records valgrind-old:0.02s no: 0.5s (26.0x, 0.0%) me: 2.1s (104.0x, 0.0%) ca: 1.9s (97.0x, 0.0%) he: 2.1s (106.5x, 0.0%) ca: 1.9s (95.0x, 0.0%) dr: 1.7s (85.5x, 0.0%) ma: 1.7s (84.0x, -0.6%) -- many-xpts -- many-xpts valgrind-new:0.07s no: 0.7s ( 9.4x, -----) me: 3.1s (45.0x, -----) ca:366.9s (5241.9x, -----) he: 6.4s (92.0x, -----) ca: 2.8s (39.4x, -----) dr: 2.5s (35.0x, -----) ma: 2.6s (37.6x, -----) many-xpts valgrind-old:0.07s no: 0.7s ( 9.6x, -1.5%) me: 3.1s (45.0x, 0.0%) ca:369.3s (5276.3x, -0.7%) he: 6.4s (92.0x, 0.0%) ca: 2.8s (39.4x, -0.0%) dr: 2.5s (35.0x, 0.0%) ma: 2.6s (37.9x, -0.8%) -- sarp -- sarp valgrind-new:0.03s no: 0.6s (19.7x, -----) me: 3.5s (115.0x, -----) ca: 3.2s (107.3x, -----) he:16.5s (551.0x, -----) ca: 2.0s (67.7x, -----) dr: 1.3s (44.7x, -----) ma: 0.5s (16.0x, -----) sarp valgrind-old:0.03s no: 0.6s (19.7x, 0.0%) me: 3.5s (115.3x, -0.3%) ca: 3.2s (107.0x, 0.3%) he:16.9s (565.0x, -2.5%) ca: 2.0s (67.7x, 0.0%) dr: 1.3s (44.7x, 0.0%) ma: 0.5s (16.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.22s no: 3.0s (13.7x, -----) me:14.4s (65.7x, -----) ca:30.1s (136.6x, -----) he:27.4s (124.5x, -----) ca:21.0s (95.5x, -----) dr:20.7s (94.0x, -----) ma: 3.9s (17.6x, -----) tinycc valgrind-old:0.22s no: 3.0s (13.7x, -0.3%) me:14.5s (65.9x, -0.3%) ca:30.1s (136.7x, -0.1%) he:27.4s (124.8x, -0.2%) ca:21.0s (95.5x, 0.0%) dr:20.7s (93.9x, 0.1%) ma: 3.9s (17.8x, -0.8%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 110m33.647s user 109m55.826s sys 0m30.502s |
|
From: Tom H. <to...@co...> - 2014-08-22 03:22:48
|
valgrind revision: 14329 VEX revision: 2931 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.1-48.fc15) Assembler: GNU assembler version 2.21.51.0.6-6.fc15 20110118 C library: GNU C Library stable release version 2.14.1 uname -mrs: Linux 3.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora release 15 (Lovelock) Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2014-08-22 03:12:36 BST Ended at 2014-08-22 04:22:30 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 == 696 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) memcheck/tests/err_disable4 (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 == 696 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) memcheck/tests/err_disable4 (stderr) memcheck/tests/vbit-test/vbit-test (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2014-08-22 03:30:51.050368994 +0100 --- new.short 2014-08-22 03:48:05.581565452 +0100 *************** *** 8,13 **** ! == 696 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) memcheck/tests/err_disable4 (stderr) - memcheck/tests/vbit-test/vbit-test (stderr) --- 8,12 ---- ! == 696 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) memcheck/tests/err_disable4 (stderr) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.6s (14.8x, -----) me: 3.2s (29.4x, -----) ca:14.5s (131.5x, -----) he: 1.9s (17.4x, -----) ca: 3.8s (34.5x, -----) dr: 1.9s (16.8x, -----) ma: 1.9s (17.5x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (15.0x, -1.2%) me: 3.2s (29.3x, 0.3%) ca:14.4s (130.5x, 0.8%) he: 1.9s (17.3x, 0.5%) ca: 3.8s (34.5x, 0.0%) dr: 1.9s (16.8x, 0.0%) ma: 1.9s (17.5x, -0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.0x, -----) me: 8.2s (74.7x, -----) ca:25.7s (233.5x, -----) he: 4.8s (43.5x, -----) ca: 7.2s (65.0x, -----) dr: 4.5s (40.7x, -----) ma: 4.5s (41.0x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.0x, -2.9%) me: 8.2s (74.8x, -0.1%) ca:25.5s (231.8x, 0.7%) he: 4.8s (43.5x, -0.2%) ca: 7.2s (65.4x, -0.6%) dr: 4.5s (40.7x, 0.0%) ma: 4.6s (41.5x, -1.3%) -- bz2 -- bz2 valgrind-new:0.52s no: 2.1s ( 4.0x, -----) me: 6.1s (11.8x, -----) ca:13.9s (26.7x, -----) he: 8.9s (17.1x, -----) ca:11.8s (22.6x, -----) dr:11.1s (21.4x, -----) ma: 2.1s ( 4.0x, -----) bz2 valgrind-old:0.52s no: 2.1s ( 4.0x, 0.0%) me: 6.1s (11.7x, 0.3%) ca:13.9s (26.8x, -0.2%) he: 8.9s (17.1x, -0.2%) ca:11.8s (22.7x, -0.2%) dr:11.1s (21.4x, 0.0%) ma: 2.1s ( 4.0x, 0.5%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.6s (16.5x, -----) ca: 5.5s (25.1x, -----) he: 2.6s (11.7x, -----) ca: 3.2s (14.5x, -----) dr: 2.5s (11.2x, -----) ma: 1.0s ( 4.6x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.5x, 3.9%) me: 3.5s (15.9x, 3.3%) ca: 5.4s (24.7x, 1.6%) he: 2.6s (11.7x, 0.0%) ca: 3.2s (14.5x, -0.6%) dr: 2.5s (11.4x, -2.0%) ma: 1.0s ( 4.6x, 0.0%) -- ffbench -- ffbench valgrind-new:0.20s no: 0.9s ( 4.5x, -----) me: 2.7s (13.3x, -----) ca: 1.8s ( 9.2x, -----) he: 5.6s (28.1x, -----) ca: 4.2s (20.9x, -----) dr: 3.2s (16.0x, -----) ma: 0.9s ( 4.3x, -----) ffbench valgrind-old:0.20s no: 0.9s ( 4.7x, -3.3%) me: 2.7s (13.4x, -0.4%) ca: 1.8s ( 9.0x, 1.6%) he: 5.4s (27.1x, 3.6%) ca: 4.1s (20.4x, 2.4%) dr: 3.1s (15.7x, 1.9%) ma: 0.9s ( 4.3x, 0.0%) -- heap -- heap valgrind-new:0.07s no: 0.6s ( 8.4x, -----) me: 5.1s (72.3x, -----) ca: 6.2s (88.0x, -----) he: 6.5s (92.9x, -----) ca: 3.2s (45.7x, -----) dr: 4.2s (60.4x, -----) ma: 4.5s (64.4x, -----) heap valgrind-old:0.07s no: 0.6s ( 8.4x, 0.0%) me: 5.1s (73.1x, -1.2%) ca: 6.1s (87.4x, 0.6%) he: 6.5s (93.1x, -0.3%) ca: 3.2s (45.6x, 0.3%) dr: 4.2s (60.4x, 0.0%) ma: 4.5s (64.4x, 0.0%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.1x, -----) me: 8.4s (76.8x, -----) ca: 6.8s (61.8x, -----) he: 7.7s (70.0x, -----) ca: 3.5s (31.5x, -----) dr: 4.7s (43.0x, -----) ma: 4.8s (43.9x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.3x, -3.0%) me: 8.3s (75.8x, 1.3%) ca: 6.8s (61.6x, 0.3%) he: 7.7s (70.3x, -0.4%) ca: 3.5s (31.6x, -0.3%) dr: 4.8s (43.6x, -1.5%) ma: 4.8s (43.3x, 1.4%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.2s (23.0x, -----) me: 1.2s (121.0x, -----) ca: 1.0s (98.0x, -----) he: 1.0s (100.0x, -----) ca: 0.7s (66.0x, -----) dr: 0.9s (92.0x, -----) ma: 0.9s (93.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (24.0x, -4.3%) me: 1.2s (123.0x, -1.7%) ca: 1.1s (105.0x, -7.1%) he: 1.1s (107.0x, -7.0%) ca: 0.7s (66.0x, 0.0%) dr: 0.9s (95.0x, -3.3%) ma: 0.9s (94.0x, -1.1%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s ( 9.7x, -----) me: 1.7s (58.0x, -----) ca: 2.6s (87.7x, -----) he: 2.0s (66.3x, -----) ca: 0.9s (30.3x, -----) dr: 1.4s (45.7x, -----) ma: 1.4s (47.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s ( 9.7x, 0.0%) me: 1.7s (58.0x, 0.0%) ca: 2.6s (88.0x, -0.4%) he: 2.1s (70.0x, -5.5%) ca: 1.0s (32.7x, -7.7%) dr: 1.4s (47.0x, -2.9%) ma: 1.5s (49.0x, -4.3%) -- sarp -- sarp valgrind-new:0.03s no: 0.3s ( 9.3x, -----) me: 2.2s (72.0x, -----) ca: 1.8s (59.3x, -----) he: 6.4s (212.3x, -----) ca: 1.0s (32.7x, -----) dr: 0.9s (29.7x, -----) ma: 0.3s (10.0x, -----) sarp valgrind-old:0.03s no: 0.3s ( 9.3x, 0.0%) me: 2.2s (72.7x, -0.9%) ca: 1.8s (59.3x, 0.0%) he: 6.7s (224.0x, -5.5%) ca: 1.0s (32.7x, 0.0%) dr: 0.9s (29.7x, 0.0%) ma: 0.3s (10.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.17s no: 1.4s ( 8.4x, -----) me: 9.2s (54.4x, -----) ca:11.3s (66.5x, -----) he: 9.8s (57.4x, -----) ca: 8.3s (48.8x, -----) dr: 8.2s (48.4x, -----) ma: 2.5s (14.6x, -----) tinycc valgrind-old:0.17s no: 1.4s ( 8.5x, -1.4%) me: 9.3s (54.5x, -0.2%) ca:11.4s (67.0x, -0.7%) he: 9.7s (57.1x, 0.5%) ca: 8.3s (48.8x, 0.0%) dr: 8.2s (48.3x, 0.1%) ma: 2.5s (14.6x, 0.0%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m24.741s user 33m34.167s sys 0m21.143s |
|
From: Tom H. <to...@co...> - 2014-08-22 03:15:27
|
valgrind revision: 14329 VEX revision: 2931 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.50.20110722-16.fc16) Assembler: GNU assembler version 2.21.53.0.1-6.fc16 20110716 C library: GNU C Library development release version 2.14.90 uname -mrs: Linux 3.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora release 16 (Verne) Nightly build on bristol ( x86_64, Fedora 16 ) Started at 2014-08-22 03:01:59 BST Ended at 2014-08-22 04:15:14 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 == 696 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) memcheck/tests/err_disable4 (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 == 696 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) memcheck/tests/err_disable4 (stderr) memcheck/tests/vbit-test/vbit-test (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2014-08-22 03:22:34.323877556 +0100 --- new.short 2014-08-22 03:40:46.060978953 +0100 *************** *** 8,13 **** ! == 696 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) memcheck/tests/err_disable4 (stderr) - memcheck/tests/vbit-test/vbit-test (stderr) --- 8,12 ---- ! == 696 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) memcheck/tests/err_disable4 (stderr) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.6s (14.9x, -----) me: 3.2s (29.3x, -----) ca:14.6s (132.6x, -----) he: 1.9s (17.5x, -----) ca: 3.8s (34.8x, -----) dr: 1.9s (17.0x, -----) ma: 1.9s (17.5x, -----) bigcode1 valgrind-old:0.11s no: 1.7s (15.1x, -1.2%) me: 3.2s (29.2x, 0.3%) ca:14.4s (130.8x, 1.4%) he: 1.9s (17.3x, 1.6%) ca: 3.9s (35.0x, -0.5%) dr: 1.9s (17.1x, -0.5%) ma: 2.0s (17.8x, -1.6%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.5x, -----) me: 8.3s (75.3x, -----) ca:26.9s (244.7x, -----) he: 4.8s (43.8x, -----) ca: 7.2s (65.5x, -----) dr: 4.5s (41.0x, -----) ma: 4.5s (40.8x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.1x, -1.8%) me: 8.3s (75.5x, -0.4%) ca:27.2s (247.0x, -0.9%) he: 4.8s (43.7x, 0.2%) ca: 7.2s (65.8x, -0.4%) dr: 4.5s (41.4x, -0.9%) ma: 4.5s (41.3x, -1.1%) -- bz2 -- bz2 valgrind-new:0.52s no: 2.1s ( 4.1x, -----) me: 6.5s (12.5x, -----) ca:14.0s (26.9x, -----) he: 8.8s (17.0x, -----) ca:11.7s (22.4x, -----) dr:11.2s (21.5x, -----) ma: 2.1s ( 4.1x, -----) bz2 valgrind-old:0.52s no: 2.1s ( 4.1x, 0.0%) me: 6.5s (12.5x, -0.2%) ca:14.0s (26.9x, -0.2%) he: 8.8s (16.9x, 0.7%) ca:11.7s (22.4x, 0.1%) dr:11.2s (21.5x, -0.1%) ma: 2.1s ( 4.0x, 0.9%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.6s (16.5x, -----) ca: 5.5s (25.1x, -----) he: 2.7s (12.3x, -----) ca: 3.2s (14.8x, -----) dr: 2.5s (11.3x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.7x, -1.0%) me: 3.6s (16.5x, 0.0%) ca: 5.5s (25.1x, 0.0%) he: 2.7s (12.3x, 0.4%) ca: 3.2s (14.4x, 2.8%) dr: 2.5s (11.2x, 0.8%) ma: 1.1s ( 4.8x, 0.9%) -- ffbench -- ffbench valgrind-new:0.21s no: 0.9s ( 4.4x, -----) me: 2.8s (13.1x, -----) ca: 1.9s ( 8.9x, -----) he: 5.2s (25.0x, -----) ca: 4.2s (20.0x, -----) dr: 3.3s (15.5x, -----) ma: 0.9s ( 4.2x, -----) ffbench valgrind-old:0.21s no: 0.9s ( 4.5x, -1.1%) me: 2.7s (12.9x, 1.8%) ca: 1.8s ( 8.8x, 1.6%) he: 5.6s (26.6x, -6.7%) ca: 4.2s (20.2x, -1.0%) dr: 3.3s (15.5x, 0.0%) ma: 0.9s ( 4.2x, -1.1%) -- heap -- heap valgrind-new:0.09s no: 0.6s ( 7.1x, -----) me: 5.0s (55.2x, -----) ca: 6.6s (73.7x, -----) he: 6.8s (75.3x, -----) ca: 3.4s (37.3x, -----) dr: 4.3s (47.8x, -----) ma: 4.7s (51.8x, -----) heap valgrind-old:0.09s no: 0.7s ( 7.2x, -1.6%) me: 5.0s (55.0x, 0.4%) ca: 6.6s (73.6x, 0.2%) he: 6.8s (75.3x, 0.0%) ca: 3.4s (38.2x, -2.4%) dr: 4.3s (47.3x, 0.9%) ma: 4.6s (51.6x, 0.4%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.4x, -----) me: 8.3s (75.8x, -----) ca: 7.2s (65.0x, -----) he: 7.3s (66.8x, -----) ca: 3.6s (32.5x, -----) dr: 4.7s (42.5x, -----) ma: 4.7s (42.7x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.3x, 1.4%) me: 8.3s (75.4x, 0.6%) ca: 7.3s (66.5x, -2.4%) he: 7.4s (66.9x, -0.1%) ca: 3.6s (32.6x, -0.6%) dr: 4.7s (42.6x, -0.4%) ma: 4.7s (43.0x, -0.6%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.2s (123.0x, -----) ca: 1.1s (105.0x, -----) he: 1.0s (102.0x, -----) ca: 0.7s (67.0x, -----) dr: 0.9s (92.0x, -----) ma: 0.9s (95.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (25.0x, 3.8%) me: 1.2s (122.0x, 0.8%) ca: 1.1s (105.0x, 0.0%) he: 1.0s (102.0x, 0.0%) ca: 0.7s (67.0x, 0.0%) dr: 0.9s (91.0x, 1.1%) ma: 1.0s (96.0x, -1.1%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 1.8s (59.3x, -----) ca: 2.7s (90.0x, -----) he: 2.0s (67.0x, -----) ca: 1.0s (32.0x, -----) dr: 1.3s (44.7x, -----) ma: 1.4s (46.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, 0.0%) me: 1.8s (59.0x, 0.6%) ca: 2.7s (90.0x, 0.0%) he: 2.0s (66.7x, 0.5%) ca: 1.0s (32.0x, 0.0%) dr: 1.4s (45.0x, -0.7%) ma: 1.4s (46.0x, -0.0%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 2.1s (104.0x, -----) ca: 1.7s (84.5x, -----) he: 6.4s (318.0x, -----) ca: 0.9s (47.0x, -----) dr: 0.8s (42.0x, -----) ma: 0.3s (14.5x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 3.4%) me: 2.1s (103.0x, 1.0%) ca: 1.7s (85.5x, -1.2%) he: 6.4s (319.0x, -0.3%) ca: 0.9s (45.5x, 3.2%) dr: 0.8s (42.5x, -1.2%) ma: 0.3s (14.5x, 0.0%) -- tinycc -- tinycc valgrind-new:0.15s no: 1.4s ( 9.0x, -----) me: 8.9s (59.7x, -----) ca:10.7s (71.3x, -----) he: 9.2s (61.0x, -----) ca: 8.0s (53.1x, -----) dr: 7.7s (51.4x, -----) ma: 2.4s (16.0x, -----) tinycc valgrind-old:0.15s no: 1.4s ( 9.1x, -1.5%) me: 8.8s (58.7x, 1.7%) ca:10.8s (71.9x, -0.7%) he: 9.6s (64.2x, -5.2%) ca: 8.0s (53.3x, -0.4%) dr: 7.7s (51.5x, -0.3%) ma: 2.4s (15.9x, 0.4%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m27.977s user 33m36.666s sys 0m21.667s |
|
From: Tom H. <to...@co...> - 2014-08-22 03:03:36
|
valgrind revision: 14329 VEX revision: 2931 C compiler: gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2) GDB: GNU gdb (GDB) Fedora (7.4.50.20120120-54.fc17) Assembler: GNU assembler version 2.22.52.0.1-10.fc17 20120131 C library: GNU C Library stable release version 2.15 uname -mrs: Linux 3.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora release 17 (Beefy Miracle) Nightly build on bristol ( x86_64, Fedora 17 (Beefy Miracle) ) Started at 2014-08-22 02:50:58 BST Ended at 2014-08-22 04:03:16 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 == 696 tests, 5 stderr failures, 1 stdout failure, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcmain_pic (stderr) memcheck/tests/err_disable4 (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (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 == 696 tests, 6 stderr failures, 1 stdout failure, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcmain_pic (stderr) memcheck/tests/err_disable4 (stderr) memcheck/tests/vbit-test/vbit-test (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2014-08-22 03:10:05.433213158 +0100 --- new.short 2014-08-22 03:28:59.502504293 +0100 *************** *** 8,10 **** ! == 696 tests, 6 stderr failures, 1 stdout failure, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) --- 8,10 ---- ! == 696 tests, 5 stderr failures, 1 stdout failure, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) *************** *** 14,16 **** memcheck/tests/err_disable4 (stderr) - memcheck/tests/vbit-test/vbit-test (stderr) exp-sgcheck/tests/preen_invars (stdout) --- 14,15 ---- --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.6s (14.8x, -----) me: 3.3s (29.6x, -----) ca:13.2s (119.8x, -----) he: 1.9s (17.5x, -----) ca: 3.7s (33.8x, -----) dr: 1.8s (16.7x, -----) ma: 1.9s (17.5x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (14.6x, 1.2%) me: 3.2s (29.5x, 0.3%) ca:13.4s (122.0x, -1.8%) he: 1.9s (17.3x, 1.6%) ca: 3.7s (33.6x, 0.5%) dr: 1.9s (16.9x, -1.1%) ma: 1.9s (17.5x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.5x, -----) me: 8.4s (76.1x, -----) ca:25.9s (235.3x, -----) he: 4.8s (43.6x, -----) ca: 7.1s (64.3x, -----) dr: 4.6s (41.7x, -----) ma: 4.4s (40.3x, -----) bigcode2 valgrind-old:0.11s no: 3.9s (35.5x, 0.0%) me: 8.3s (75.7x, 0.5%) ca:25.5s (232.0x, 1.4%) he: 4.9s (44.6x, -2.3%) ca: 7.0s (64.1x, 0.3%) dr: 4.5s (41.2x, 1.3%) ma: 4.5s (40.9x, -1.6%) -- bz2 -- bz2 valgrind-new:0.52s no: 2.1s ( 4.1x, -----) me: 6.4s (12.3x, -----) ca:12.7s (24.4x, -----) he: 9.5s (18.2x, -----) ca:10.8s (20.7x, -----) dr:11.3s (21.7x, -----) ma: 2.1s ( 4.1x, -----) bz2 valgrind-old:0.52s no: 2.1s ( 4.1x, 0.5%) me: 6.4s (12.3x, 0.0%) ca:12.7s (24.3x, 0.3%) he: 9.5s (18.3x, -0.4%) ca:10.8s (20.7x, -0.1%) dr:11.3s (21.7x, 0.2%) ma: 2.1s ( 4.1x, 0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.7x, -----) me: 3.4s (15.5x, -----) ca: 5.5s (25.2x, -----) he: 2.5s (11.3x, -----) ca: 3.0s (13.5x, -----) dr: 2.5s (11.5x, -----) ma: 1.1s ( 4.9x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 1.0%) me: 3.4s (15.6x, -0.3%) ca: 5.5s (25.1x, 0.4%) he: 2.5s (11.4x, -0.4%) ca: 3.0s (13.6x, -1.0%) dr: 2.5s (11.5x, 0.0%) ma: 1.1s ( 4.9x, 0.0%) -- ffbench -- ffbench valgrind-new:0.25s no: 0.9s ( 3.8x, -----) me: 2.8s (11.3x, -----) ca: 1.8s ( 7.4x, -----) he: 6.9s (27.5x, -----) ca: 4.0s (16.0x, -----) dr: 3.3s (13.1x, -----) ma: 0.9s ( 3.5x, -----) ffbench valgrind-old:0.25s no: 0.9s ( 3.8x, 1.1%) me: 2.8s (11.2x, 0.7%) ca: 1.8s ( 7.3x, 1.1%) he: 6.7s (26.9x, 2.3%) ca: 4.2s (16.6x, -3.5%) dr: 3.3s (13.4x, -1.8%) ma: 0.9s ( 3.6x, -2.3%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.9x, -----) me: 5.1s (63.7x, -----) ca: 6.0s (74.9x, -----) he: 6.9s (86.0x, -----) ca: 3.1s (38.9x, -----) dr: 4.2s (52.6x, -----) ma: 4.8s (59.6x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.9x, 0.0%) me: 5.1s (63.4x, 0.6%) ca: 6.0s (74.4x, 0.7%) he: 6.8s (85.4x, 0.7%) ca: 3.1s (38.2x, 1.6%) dr: 4.1s (51.7x, 1.7%) ma: 4.8s (60.2x, -1.0%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 7.0x, -----) me: 9.2s (92.3x, -----) ca: 6.6s (65.7x, -----) he: 7.6s (75.8x, -----) ca: 3.5s (34.7x, -----) dr: 4.9s (49.0x, -----) ma: 5.0s (50.2x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.9x, 1.4%) me: 9.2s (92.1x, 0.2%) ca: 6.5s (65.3x, 0.6%) he: 7.6s (76.2x, -0.5%) ca: 3.5s (35.0x, -0.9%) dr: 4.9s (48.6x, 0.8%) ma: 5.0s (50.2x, 0.0%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.2s (25.0x, -----) me: 1.3s (129.0x, -----) ca: 1.0s (100.0x, -----) he: 1.1s (110.0x, -----) ca: 0.6s (64.0x, -----) dr: 1.0s (99.0x, -----) ma: 1.0s (104.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, -4.0%) me: 1.3s (129.0x, 0.0%) ca: 1.0s (99.0x, 1.0%) he: 1.1s (111.0x, -0.9%) ca: 0.6s (63.0x, 1.6%) dr: 1.0s (97.0x, 2.0%) ma: 1.0s (100.0x, 3.8%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 1.7s (57.7x, -----) ca: 2.6s (86.3x, -----) he: 2.2s (72.7x, -----) ca: 0.9s (30.3x, -----) dr: 1.3s (44.7x, -----) ma: 1.5s (50.7x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.7x, 0.0%) me: 1.7s (56.7x, 1.7%) ca: 2.6s (86.0x, 0.4%) he: 2.2s (73.0x, -0.5%) ca: 0.9s (30.0x, 1.1%) dr: 1.3s (44.7x, 0.0%) ma: 1.5s (50.0x, 1.3%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (13.5x, -----) me: 2.1s (104.0x, -----) ca: 1.7s (85.5x, -----) he: 7.3s (366.0x, -----) ca: 0.8s (42.5x, -----) dr: 0.8s (42.0x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (13.5x, 0.0%) me: 2.1s (104.0x, 0.0%) ca: 1.7s (85.5x, 0.0%) he: 7.3s (367.0x, -0.3%) ca: 0.9s (43.5x, -2.4%) dr: 0.8s (42.5x, -1.2%) ma: 0.3s (15.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.5x, -----) me: 8.4s (52.4x, -----) ca:10.6s (66.3x, -----) he: 9.8s (61.3x, -----) ca: 7.4s (46.3x, -----) dr: 7.4s (46.1x, -----) ma: 2.4s (14.8x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.5x, -0.0%) me: 8.5s (52.9x, -1.0%) ca:10.6s (66.1x, 0.4%) he: 9.8s (61.1x, 0.3%) ca: 7.5s (46.6x, -0.7%) dr: 7.4s (46.1x, -0.1%) ma: 2.4s (15.1x, -1.7%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m17.073s user 33m20.293s sys 0m22.289s |
|
From: Tom H. <to...@co...> - 2014-08-22 02:57:20
|
valgrind revision: 14329 VEX revision: 2931 C compiler: gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8) GDB: GNU gdb (GDB) Fedora 7.5.1-42.fc18 Assembler: GNU assembler version 2.23.51.0.1-10.fc18 20120806 C library: GNU C Library stable release version 2.16 uname -mrs: Linux 3.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora release 18 (Spherical Cow) Nightly build on bristol ( x86_64, Fedora 18 (Spherical Cow) ) Started at 2014-08-22 02:41:25 BST Ended at 2014-08-22 03:57:05 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 == 696 tests, 2 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (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 == 696 tests, 3 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) memcheck/tests/vbit-test/vbit-test (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2014-08-22 03:01:21.790236967 +0100 --- new.short 2014-08-22 03:22:31.816925545 +0100 *************** *** 8,12 **** ! == 696 tests, 3 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) - memcheck/tests/vbit-test/vbit-test (stderr) exp-sgcheck/tests/preen_invars (stdout) --- 8,11 ---- ! == 696 tests, 2 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) exp-sgcheck/tests/preen_invars (stdout) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.6s (14.9x, -----) me: 3.2s (29.0x, -----) ca:13.4s (122.1x, -----) he: 1.9s (17.6x, -----) ca: 3.7s (33.6x, -----) dr: 1.9s (17.1x, -----) ma: 1.9s (17.6x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (15.0x, -0.6%) me: 3.4s (30.5x, -5.0%) ca:13.5s (122.5x, -0.4%) he: 2.1s (19.0x, -7.7%) ca: 3.7s (33.6x, 0.0%) dr: 1.9s (17.5x, -2.1%) ma: 1.9s (17.5x, 0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.3x, -----) me: 8.3s (75.7x, -----) ca:26.1s (237.6x, -----) he: 4.8s (43.9x, -----) ca: 7.0s (63.9x, -----) dr: 4.5s (40.8x, -----) ma: 4.5s (40.9x, -----) bigcode2 valgrind-old:0.11s no: 3.9s (35.5x, -0.5%) me: 8.3s (75.5x, 0.2%) ca:25.3s (230.4x, 3.1%) he: 4.8s (43.7x, 0.4%) ca: 7.0s (63.5x, 0.6%) dr: 4.6s (41.5x, -1.6%) ma: 4.5s (40.7x, 0.4%) -- bz2 -- bz2 valgrind-new:0.52s no: 2.1s ( 4.0x, -----) me: 6.4s (12.4x, -----) ca:12.9s (24.7x, -----) he: 9.8s (18.8x, -----) ca:10.8s (20.8x, -----) dr:11.5s (22.1x, -----) ma: 2.1s ( 4.1x, -----) bz2 valgrind-old:0.52s no: 2.1s ( 4.1x, -0.5%) me: 6.4s (12.3x, 0.6%) ca:12.8s (24.6x, 0.6%) he: 9.8s (18.8x, -0.4%) ca:10.8s (20.8x, -0.1%) dr:11.5s (22.1x, -0.1%) ma: 2.1s ( 4.1x, -0.5%) -- fbench -- fbench valgrind-new:0.23s no: 1.0s ( 4.4x, -----) me: 3.4s (14.9x, -----) ca: 5.5s (23.9x, -----) he: 2.5s (11.0x, -----) ca: 3.0s (13.2x, -----) dr: 2.5s (11.0x, -----) ma: 1.1s ( 4.7x, -----) fbench valgrind-old:0.23s no: 1.0s ( 4.4x, 0.0%) me: 3.4s (15.0x, -0.3%) ca: 5.5s (23.8x, 0.4%) he: 2.5s (11.0x, 0.4%) ca: 3.0s (13.3x, -0.7%) dr: 2.5s (11.0x, 0.0%) ma: 1.1s ( 4.7x, 0.0%) -- ffbench -- ffbench valgrind-new:0.23s no: 0.9s ( 4.1x, -----) me: 2.8s (12.2x, -----) ca: 1.8s ( 7.9x, -----) he: 7.1s (30.7x, -----) ca: 4.1s (17.9x, -----) dr: 3.4s (14.6x, -----) ma: 0.9s ( 3.9x, -----) ffbench valgrind-old:0.23s no: 0.9s ( 4.1x, 0.0%) me: 2.8s (12.1x, 0.4%) ca: 1.8s ( 8.0x, -0.5%) he: 6.0s (26.3x, 14.4%) ca: 4.0s (17.4x, 2.4%) dr: 3.3s (14.5x, 0.3%) ma: 0.9s ( 3.9x, 1.1%) -- heap -- heap valgrind-new:0.07s no: 0.6s ( 9.0x, -----) me: 5.2s (74.3x, -----) ca: 6.2s (88.4x, -----) he: 6.8s (97.9x, -----) ca: 3.2s (45.6x, -----) dr: 4.2s (59.4x, -----) ma: 4.9s (69.7x, -----) heap valgrind-old:0.07s no: 0.6s ( 9.0x, 0.0%) me: 5.2s (75.0x, -1.0%) ca: 6.2s (88.4x, 0.0%) he: 6.8s (97.6x, 0.3%) ca: 3.2s (45.4x, 0.3%) dr: 4.2s (59.3x, 0.2%) ma: 4.8s (69.3x, 0.6%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.3x, -----) me: 9.0s (81.8x, -----) ca: 6.6s (60.2x, -----) he: 7.7s (70.3x, -----) ca: 3.5s (31.9x, -----) dr: 5.0s (45.0x, -----) ma: 5.0s (45.8x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.3x, -0.0%) me: 9.1s (82.4x, -0.7%) ca: 6.6s (60.3x, -0.2%) he: 7.9s (71.5x, -1.7%) ca: 3.5s (31.8x, 0.3%) dr: 5.0s (45.1x, -0.2%) ma: 5.0s (45.7x, 0.2%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.3s (130.0x, -----) ca: 1.0s (100.0x, -----) he: 1.1s (108.0x, -----) ca: 0.7s (65.0x, -----) dr: 1.0s (97.0x, -----) ma: 1.0s (102.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.3s (129.0x, 0.8%) ca: 1.0s (100.0x, 0.0%) he: 1.1s (109.0x, -0.9%) ca: 0.7s (65.0x, 0.0%) dr: 1.0s (98.0x, -1.0%) ma: 1.0s (102.0x, 0.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 1.7s (58.0x, -----) ca: 2.6s (86.7x, -----) he: 2.2s (73.0x, -----) ca: 0.9s (30.3x, -----) dr: 1.3s (44.0x, -----) ma: 1.5s (51.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, 0.0%) me: 1.7s (57.3x, 1.1%) ca: 2.6s (86.3x, 0.4%) he: 2.2s (73.0x, 0.0%) ca: 0.9s (30.3x, 0.0%) dr: 1.4s (45.0x, -2.3%) ma: 1.6s (51.7x, -1.3%) -- sarp -- sarp valgrind-new:0.01s no: 0.3s (28.0x, -----) me: 2.3s (229.0x, -----) ca: 1.7s (173.0x, -----) he: 7.3s (734.0x, -----) ca: 0.9s (89.0x, -----) dr: 0.9s (91.0x, -----) ma: 0.3s (30.0x, -----) sarp valgrind-old:0.01s no: 0.3s (28.0x, 0.0%) me: 2.3s (231.0x, -0.9%) ca: 1.7s (172.0x, 0.6%) he: 7.4s (737.0x, -0.4%) ca: 0.9s (89.0x, 0.0%) dr: 0.9s (91.0x, 0.0%) ma: 0.3s (30.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.3s ( 8.3x, -----) me: 8.5s (53.1x, -----) ca:10.7s (66.6x, -----) he: 9.6s (59.9x, -----) ca: 7.6s (47.2x, -----) dr: 7.5s (47.0x, -----) ma: 2.4s (15.1x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.4x, -1.5%) me: 8.5s (52.9x, 0.5%) ca:10.7s (66.6x, 0.0%) he: 9.6s (60.2x, -0.5%) ca: 7.4s (46.5x, 1.6%) dr: 7.5s (46.6x, 0.8%) ma: 2.4s (14.8x, 1.7%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m34.085s user 33m34.664s sys 0m22.810s |
|
From: Tom H. <to...@co...> - 2014-08-22 02:49:36
|
valgrind revision: 14329 VEX revision: 2931 C compiler: gcc (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1) GDB: GNU gdb (GDB) Fedora 7.6.1-46.fc19 Assembler: GNU assembler version 2.23.52.0.1-9.fc19 20130226 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora release 19 (Schrödingerâs Cat) Nightly build on bristol ( x86_64, Fedora 19 (Schrödingerâs Cat) ) Started at 2014-08-22 02:31:37 BST Ended at 2014-08-22 03:49:15 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 == 696 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (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 == 696 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) memcheck/tests/vbit-test/vbit-test (stderr) exp-sgcheck/tests/hackedbz2 (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2014-08-22 02:55:09.237368541 +0100 --- new.short 2014-08-22 03:14:36.402026151 +0100 *************** *** 8,13 **** ! == 696 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) - memcheck/tests/vbit-test/vbit-test (stderr) - exp-sgcheck/tests/hackedbz2 (stderr) --- 8,11 ---- ! == 696 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.6s (14.8x, -----) me: 3.2s (29.1x, -----) ca:13.2s (120.0x, -----) he: 1.9s (16.9x, -----) ca: 3.7s (34.0x, -----) dr: 1.8s (16.6x, -----) ma: 1.9s (17.4x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (15.0x, -1.2%) me: 3.2s (29.0x, 0.3%) ca:13.2s (120.2x, -0.2%) he: 1.9s (17.4x, -2.7%) ca: 3.8s (34.3x, -0.8%) dr: 1.9s (16.9x, -1.6%) ma: 2.0s (17.8x, -2.6%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.2x, -----) me: 8.1s (74.0x, -----) ca:25.7s (233.4x, -----) he: 4.7s (42.6x, -----) ca: 7.0s (64.1x, -----) dr: 4.5s (40.5x, -----) ma: 4.4s (40.4x, -----) bigcode2 valgrind-old:0.11s no: 3.8s (34.9x, 0.8%) me: 8.1s (73.9x, 0.1%) ca:27.4s (248.6x, -6.5%) he: 4.7s (42.4x, 0.6%) ca: 6.9s (63.1x, 1.6%) dr: 4.5s (40.5x, 0.0%) ma: 4.5s (40.5x, -0.5%) -- bz2 -- bz2 valgrind-new:0.49s no: 2.1s ( 4.3x, -----) me: 6.4s (13.0x, -----) ca:13.4s (27.3x, -----) he: 9.1s (18.6x, -----) ca:11.0s (22.4x, -----) dr:11.7s (23.8x, -----) ma: 2.1s ( 4.4x, -----) bz2 valgrind-old:0.49s no: 2.1s ( 4.2x, 2.4%) me: 6.2s (12.7x, 2.2%) ca:13.4s (27.4x, -0.2%) he: 9.1s (18.6x, 0.1%) ca:11.0s (22.5x, -0.1%) dr:11.6s (23.6x, 0.9%) ma: 2.1s ( 4.4x, 0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.6s (16.2x, -----) ca: 5.5s (25.2x, -----) he: 2.6s (11.7x, -----) ca: 3.1s (14.0x, -----) dr: 2.4s (10.9x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.1s ( 4.9x, -5.9%) me: 3.6s (16.2x, -0.3%) ca: 5.5s (24.9x, 1.1%) he: 2.6s (11.7x, 0.0%) ca: 3.0s (13.9x, 0.7%) dr: 2.4s (10.7x, 2.1%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.23s no: 0.9s ( 4.1x, -----) me: 2.8s (12.1x, -----) ca: 1.9s ( 8.3x, -----) he: 6.2s (27.0x, -----) ca: 4.5s (19.4x, -----) dr: 3.3s (14.2x, -----) ma: 0.9s ( 4.0x, -----) ffbench valgrind-old:0.23s no: 0.9s ( 4.1x, 1.1%) me: 2.9s (12.5x, -2.9%) ca: 1.9s ( 8.3x, -1.1%) he: 6.6s (28.7x, -5.9%) ca: 4.5s (19.7x, -1.6%) dr: 3.3s (14.3x, -0.9%) ma: 0.9s ( 4.0x, 1.1%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 8.0x, -----) me: 5.1s (64.2x, -----) ca: 6.1s (76.5x, -----) he: 7.0s (87.2x, -----) ca: 3.2s (40.6x, -----) dr: 4.3s (53.4x, -----) ma: 4.8s (60.1x, -----) heap valgrind-old:0.08s no: 0.7s ( 8.1x, -1.6%) me: 5.1s (63.6x, 1.0%) ca: 6.1s (76.1x, 0.5%) he: 6.9s (86.6x, 0.7%) ca: 3.2s (39.9x, 1.8%) dr: 4.2s (53.1x, 0.5%) ma: 4.9s (61.0x, -1.5%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.5x, -----) me: 8.7s (79.0x, -----) ca: 6.7s (60.9x, -----) he: 7.7s (69.6x, -----) ca: 3.5s (31.7x, -----) dr: 4.8s (44.1x, -----) ma: 4.9s (44.7x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.4x, 2.8%) me: 8.5s (77.6x, 1.7%) ca: 6.7s (60.6x, 0.4%) he: 7.7s (69.5x, 0.1%) ca: 3.5s (31.5x, 0.6%) dr: 4.8s (44.0x, 0.2%) ma: 4.9s (44.5x, 0.6%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.3s (127.0x, -----) ca: 1.0s (99.0x, -----) he: 1.1s (113.0x, -----) ca: 0.7s (67.0x, -----) dr: 1.0s (97.0x, -----) ma: 1.0s (103.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (25.0x, 3.8%) me: 1.3s (130.0x, -2.4%) ca: 1.0s (99.0x, 0.0%) he: 1.1s (112.0x, 0.9%) ca: 0.7s (67.0x, 0.0%) dr: 1.0s (96.0x, 1.0%) ma: 1.0s (103.0x, 0.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 1.5s (48.7x, -----) ca: 2.5s (84.3x, -----) he: 2.0s (68.3x, -----) ca: 0.9s (31.7x, -----) dr: 1.4s (45.3x, -----) ma: 1.5s (51.3x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.7x, -3.2%) me: 1.5s (49.3x, -1.4%) ca: 2.5s (84.7x, -0.4%) he: 2.1s (68.7x, -0.5%) ca: 0.9s (31.7x, 0.0%) dr: 1.4s (45.7x, -0.7%) ma: 1.6s (51.7x, -0.6%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.2s (108.5x, -----) ca: 1.7s (86.5x, -----) he: 6.0s (299.0x, -----) ca: 0.9s (45.5x, -----) dr: 0.9s (45.5x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.5x, -3.6%) me: 2.2s (108.5x, 0.0%) ca: 1.7s (86.5x, 0.0%) he: 6.0s (298.0x, 0.3%) ca: 0.9s (46.0x, -1.1%) dr: 0.9s (45.5x, 0.0%) ma: 0.3s (15.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.6x, -----) me: 7.7s (48.0x, -----) ca:10.6s (66.2x, -----) he: 9.8s (61.1x, -----) ca: 8.0s (50.1x, -----) dr: 8.0s (49.9x, -----) ma: 2.4s (14.9x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.5x, 1.4%) me: 7.7s (47.9x, 0.3%) ca:10.8s (67.5x, -1.9%) he: 9.7s (60.8x, 0.5%) ca: 7.9s (49.3x, 1.5%) dr: 8.0s (50.0x, -0.1%) ma: 2.4s (14.7x, 1.3%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m39.345s user 33m31.718s sys 0m24.114s |
|
From: Tom H. <to...@co...> - 2014-08-22 02:38:08
|
valgrind revision: 14329 VEX revision: 2931 C compiler: gcc (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1) GDB: GNU gdb (GDB) Fedora 7.7.1-17.fc20 Assembler: GNU assembler version 2.23.2 C library: GNU C Library (GNU libc) stable release version 2.18 uname -mrs: Linux 3.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora release 20 (Heisenbug) Nightly build on bristol ( x86_64, Fedora 20 ) Started at 2014-08-22 02:21:32 BST Ended at 2014-08-22 03:37:53 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 == 696 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) helgrind/tests/tc09_bad_unlock (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 == 696 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) memcheck/tests/vbit-test/vbit-test (stderr) exp-sgcheck/tests/hackedbz2 (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2014-08-22 02:43:35.062656746 +0100 --- new.short 2014-08-22 03:03:17.464022687 +0100 *************** *** 8,13 **** ! == 696 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) ! memcheck/tests/vbit-test/vbit-test (stderr) ! exp-sgcheck/tests/hackedbz2 (stderr) --- 8,12 ---- ! == 696 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) ! helgrind/tests/tc09_bad_unlock (stderr) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.6s (14.8x, -----) me: 3.1s (27.9x, -----) ca:13.1s (118.9x, -----) he: 1.9s (17.1x, -----) ca: 3.7s (34.0x, -----) dr: 1.8s (16.6x, -----) ma: 1.9s (17.4x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (14.9x, -0.6%) me: 3.1s (28.4x, -1.6%) ca:13.4s (121.5x, -2.2%) he: 1.9s (17.1x, 0.0%) ca: 3.7s (33.9x, 0.3%) dr: 1.8s (16.5x, 0.5%) ma: 1.9s (17.5x, -1.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.0x, -----) me: 8.1s (73.7x, -----) ca:25.9s (235.7x, -----) he: 4.7s (42.7x, -----) ca: 6.9s (62.9x, -----) dr: 4.4s (39.8x, -----) ma: 4.4s (39.9x, -----) bigcode2 valgrind-old:0.11s no: 3.8s (34.9x, 0.3%) me: 8.1s (73.4x, 0.5%) ca:26.3s (239.2x, -1.5%) he: 4.7s (42.4x, 0.9%) ca: 7.0s (63.5x, -0.9%) dr: 4.4s (40.0x, -0.5%) ma: 4.5s (41.4x, -3.6%) -- bz2 -- bz2 valgrind-new:0.49s no: 2.1s ( 4.2x, -----) me: 6.3s (12.8x, -----) ca:12.9s (26.4x, -----) he: 9.1s (18.6x, -----) ca:10.9s (22.2x, -----) dr:11.3s (23.0x, -----) ma: 2.1s ( 4.2x, -----) bz2 valgrind-old:0.49s no: 2.1s ( 4.2x, 0.5%) me: 6.2s (12.7x, 0.3%) ca:12.8s (26.2x, 0.6%) he: 9.0s (18.4x, 1.1%) ca:10.9s (22.3x, -0.2%) dr:11.4s (23.2x, -1.2%) ma: 2.1s ( 4.3x, -1.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.3s (15.0x, -----) ca: 5.5s (25.0x, -----) he: 2.5s (11.4x, -----) ca: 3.1s (14.3x, -----) dr: 2.4s (10.9x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, -1.0%) me: 3.3s (15.0x, 0.6%) ca: 5.5s (25.0x, -0.4%) he: 2.5s (11.5x, -1.6%) ca: 3.1s (14.2x, 0.3%) dr: 2.4s (10.8x, 0.8%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.25s no: 1.0s ( 4.1x, -----) me: 2.9s (11.6x, -----) ca: 1.9s ( 7.5x, -----) he: 6.1s (24.4x, -----) ca: 4.4s (17.5x, -----) dr: 3.2s (12.7x, -----) ma: 0.9s ( 3.6x, -----) ffbench valgrind-old:0.25s no: 0.9s ( 3.8x, 7.8%) me: 2.8s (11.2x, 3.5%) ca: 1.9s ( 7.6x, -0.5%) he: 6.4s (25.7x, -5.4%) ca: 4.5s (18.0x, -3.0%) dr: 3.3s (13.2x, -4.1%) ma: 0.9s ( 3.6x, -1.1%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 8.0x, -----) me: 5.1s (63.7x, -----) ca: 6.1s (76.6x, -----) he: 6.7s (83.6x, -----) ca: 3.2s (40.6x, -----) dr: 4.2s (52.9x, -----) ma: 4.8s (59.8x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.9x, 1.6%) me: 5.1s (63.7x, 0.0%) ca: 6.2s (76.9x, -0.3%) he: 6.7s (84.2x, -0.7%) ca: 3.3s (41.6x, -2.5%) dr: 4.2s (53.1x, -0.5%) ma: 4.8s (59.5x, 0.4%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 7.0x, -----) me: 8.7s (87.0x, -----) ca: 6.8s (68.0x, -----) he: 8.0s (79.5x, -----) ca: 3.6s (36.5x, -----) dr: 4.7s (47.1x, -----) ma: 5.0s (50.3x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.9x, 1.4%) me: 8.6s (86.4x, 0.7%) ca: 6.7s (67.3x, 1.0%) he: 7.9s (79.1x, 0.5%) ca: 3.7s (36.7x, -0.5%) dr: 4.7s (46.6x, 1.1%) ma: 5.0s (49.5x, 1.6%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.2s (25.0x, -----) me: 1.3s (126.0x, -----) ca: 1.0s (99.0x, -----) he: 1.1s (111.0x, -----) ca: 0.7s (66.0x, -----) dr: 1.0s (97.0x, -----) ma: 1.0s (104.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (25.0x, 0.0%) me: 1.3s (126.0x, 0.0%) ca: 1.0s (101.0x, -2.0%) he: 1.1s (112.0x, -0.9%) ca: 0.7s (69.0x, -4.5%) dr: 1.0s (98.0x, -1.0%) ma: 1.0s (104.0x, 0.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 1.5s (48.7x, -----) ca: 2.5s (84.3x, -----) he: 2.1s (69.3x, -----) ca: 0.9s (31.0x, -----) dr: 1.4s (46.0x, -----) ma: 1.6s (52.3x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, 0.0%) me: 1.4s (48.0x, 1.4%) ca: 2.5s (84.7x, -0.4%) he: 2.1s (70.0x, -1.0%) ca: 0.9s (31.0x, 0.0%) dr: 1.4s (46.0x, -0.0%) ma: 1.5s (51.0x, 2.5%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.2s (108.0x, -----) ca: 1.7s (86.5x, -----) he: 6.0s (298.5x, -----) ca: 0.9s (47.5x, -----) dr: 0.9s (45.0x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 0.0%) me: 2.2s (109.5x, -1.4%) ca: 1.7s (86.0x, 0.6%) he: 6.0s (297.5x, 0.3%) ca: 0.9s (47.5x, 0.0%) dr: 0.9s (45.5x, -1.1%) ma: 0.3s (15.5x, -3.3%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.6x, -----) me: 7.9s (49.2x, -----) ca:10.7s (67.1x, -----) he: 9.8s (61.2x, -----) ca: 7.8s (48.8x, -----) dr: 8.1s (50.6x, -----) ma: 2.4s (15.0x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.6x, 0.0%) me: 7.8s (49.0x, 0.5%) ca:10.8s (67.2x, -0.3%) he: 9.6s (60.2x, 1.5%) ca: 7.9s (49.2x, -0.9%) dr: 8.0s (49.9x, 1.2%) ma: 2.4s (14.9x, 0.4%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m35.692s user 33m25.420s sys 0m24.356s |