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
(15) |
|
2
(11) |
3
(3) |
4
(20) |
5
(16) |
6
(17) |
7
(16) |
8
(11) |
|
9
(3) |
10
(15) |
11
(16) |
12
(14) |
13
(17) |
14
(17) |
15
(18) |
|
16
(13) |
17
(17) |
18
(17) |
19
(19) |
20
(19) |
21
(14) |
22
(15) |
|
23
(66) |
24
(18) |
25
(27) |
26
(15) |
27
(12) |
28
(1) |
29
(14) |
|
30
(11) |
|
|
|
|
|
|
|
From: <sv...@va...> - 2014-11-11 20:46:43
|
Author: florian
Date: Tue Nov 11 20:46:34 2014
New Revision: 14713
Log:
Merge r14340,14346-14348,14352,14354-14355 from the BUF_REMOVAL branch to
trunk.
Convert callgrind to use VG_(fprintf).
Modified:
trunk/ (props changed)
trunk/callgrind/bbcc.c
trunk/callgrind/dump.c
trunk/callgrind/global.h
trunk/callgrind/sim.c
Modified: trunk/callgrind/bbcc.c
==============================================================================
--- trunk/callgrind/bbcc.c (original)
+++ trunk/callgrind/bbcc.c Tue Nov 11 20:46:34 2014
@@ -336,13 +336,20 @@
current_bbccs.entries);
}
-static const HChar* mangled_cxt(Context* cxt, int rec_index)
+/* String is returned in a dynamically allocated buffer. Caller is
+ responsible for free'ing it. */
+static HChar* mangled_cxt(const Context* cxt, Int rec_index)
{
- static HChar mangled[FN_NAME_LEN];
- int i, p;
+ Int i, p;
- if (!cxt) return "(no context)";
+ if (!cxt) return VG_(strdup)("cl.bbcc.mcxt", "(no context)");
+ /* Overestimate the number of bytes we need to hold the string. */
+ SizeT need = 20; // rec_index + nul-terminator
+ for (i = 0; i < cxt->size; ++i)
+ need += VG_(strlen)(cxt->fn[i]->name) + 1; // 1 for leading '
+
+ HChar *mangled = CLG_MALLOC("cl.bbcc.mcxt", need);
p = VG_(sprintf)(mangled, "%s", cxt->fn[0]->name);
if (rec_index >0)
p += VG_(sprintf)(mangled+p, "'%d", rec_index +1);
@@ -411,14 +418,16 @@
CLG_DEBUGIF(3)
CLG_(print_bbcc)(-2, bbcc);
- // FIXME: mangled_cxt returns a pointer to a static buffer that
- // gets overwritten with each invocation.
+ HChar *mangled_orig = mangled_cxt(orig->cxt, orig->rec_index);
+ HChar *mangled_bbcc = mangled_cxt(bbcc->cxt, bbcc->rec_index);
CLG_DEBUG(2,"- clone_BBCC(%p, %d) for BB %#lx\n"
" orig %s\n"
" new %s\n",
orig, rec_index, bb_addr(orig->bb),
- mangled_cxt(orig->cxt, orig->rec_index),
- mangled_cxt(bbcc->cxt, bbcc->rec_index));
+ mangled_orig,
+ mangled_bbcc);
+ CLG_FREE(mangled_orig);
+ CLG_FREE(mangled_bbcc);
CLG_(stat).bbcc_clones++;
Modified: trunk/callgrind/dump.c
==============================================================================
--- trunk/callgrind/dump.c (original)
+++ trunk/callgrind/dump.c Tue Nov 11 20:46:34 2014
@@ -50,12 +50,6 @@
EventMapping* CLG_(dumpmap) = 0;
-/* Temporary output buffer for
- * print_fn_pos, fprint_apos, fprint_fcost, fprint_jcc,
- * fprint_fcc_ln, dump_run_info, dump_state_info
- */
-static HChar outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN + COSTS_LEN];
-
Int CLG_(get_dump_counter)(void)
{
return out_counter;
@@ -130,68 +124,25 @@
}
-#if 0
-static __inline__
-static void my_fwrite(Int fd, const HChar* buf, Int len)
+static void print_obj(VgFile *fp, const HChar* prefix, obj_node* obj)
{
- 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;
-
-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)
-{
- 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)
-{
- //int n;
-
if (CLG_(clo).compress_strings) {
CLG_ASSERT(obj_dumped != 0);
if (obj_dumped[obj->number])
- /*n =*/ VG_(sprintf)(buf, "(%d)\n", obj->number);
+ VG_(fprintf)(fp, "%s(%d)\n", prefix, obj->number);
else {
- /*n =*/ VG_(sprintf)(buf, "(%d) %s\n",
- obj->number, obj->name);
+ VG_(fprintf)(fp, "%s(%d) %s\n", prefix, obj->number, obj->name);
}
}
else
- /*n =*/ VG_(sprintf)(buf, "%s\n", obj->name);
+ VG_(fprintf)(fp, "%s%s\n", prefix, obj->name);
#if 0
/* add mapping parameters the first time a object is dumped
* format: mp=0xSTART SIZE 0xOFFSET */
if (!obj_dumped[obj->number]) {
obj_dumped[obj->number];
- VG_(sprintf)(buf+n, "mp=%p %p %p\n",
+ VG_(fprintf)(fp, "mp=%p %p %p\n",
pos->obj->start, pos->obj->size, pos->obj->offset);
}
#else
@@ -199,54 +150,44 @@
#endif
}
-static void print_file(Int fd, const char *prefix, file_node* file)
+static void print_file(VgFile *fp, const char *prefix, const 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, "%s(%d)\n", prefix, file->number);
+ VG_(fprintf)(fp, "%s(%d)\n", prefix, file->number);
else {
- VG_(sprintf)(buf, "%s(%d) %s\n", prefix,
- file->number, file->name);
+ VG_(fprintf)(fp, "%s(%d) %s\n", prefix, file->number, file->name);
file_dumped[file->number] = True;
}
}
else
- VG_(sprintf)(buf, "%s%s\n", prefix, file->name);
-
- my_fwrite(fd, buf, VG_(strlen)(buf));
+ VG_(fprintf)(fp, "%s%s\n", prefix, file->name);
}
/*
* tag can be "fn", "cfn", "jfn"
*/
-static void print_fn(Int fd, HChar* buf, const HChar* tag, fn_node* fn)
+static void print_fn(VgFile *fp, const HChar* tag, const fn_node* fn)
{
- int p;
- p = VG_(sprintf)(buf, "%s=",tag);
+ VG_(fprintf)(fp, "%s=",tag);
if (CLG_(clo).compress_strings) {
CLG_ASSERT(fn_dumped != 0);
if (fn_dumped[fn->number])
- p += VG_(sprintf)(buf+p, "(%d)\n", fn->number);
+ VG_(fprintf)(fp, "(%d)\n", fn->number);
else {
- p += VG_(sprintf)(buf+p, "(%d) %s\n",
- fn->number, fn->name);
+ VG_(fprintf)(fp, "(%d) %s\n", fn->number, fn->name);
fn_dumped[fn->number] = True;
}
}
else
- p += VG_(sprintf)(buf+p, "%s\n", fn->name);
-
- my_fwrite(fd, buf, p);
+ VG_(fprintf)(fp, "%s\n", fn->name);
}
-static void print_mangled_fn(Int fd, HChar* buf, const HChar* tag,
+static void print_mangled_fn(VgFile *fp, const HChar* tag,
Context* cxt, int rec_index)
{
- int p, i;
+ int i;
if (CLG_(clo).compress_strings && CLG_(clo).compress_mangled) {
@@ -255,9 +196,8 @@
CLG_ASSERT(cxt_dumped != 0);
if (cxt_dumped[cxt->base_number+rec_index]) {
- p = VG_(sprintf)(buf, "%s=(%d)\n",
+ VG_(fprintf)(fp, "%s=(%d)\n",
tag, cxt->base_number + rec_index);
- my_fwrite(fd, buf, p);
return;
}
@@ -267,9 +207,8 @@
CLG_ASSERT(cxt->fn[i-1]->pure_cxt != 0);
n = cxt->fn[i-1]->pure_cxt->base_number;
if (cxt_dumped[n]) continue;
- p = VG_(sprintf)(buf, "%s=(%d) %s\n",
+ VG_(fprintf)(fp, "%s=(%d) %s\n",
tag, n, cxt->fn[i-1]->name);
- my_fwrite(fd, buf, p);
cxt_dumped[n] = True;
last = cxt->fn[i-1]->pure_cxt;
@@ -277,44 +216,41 @@
/* If the last context was the context to print, we are finished */
if ((last == cxt) && (rec_index == 0)) return;
- p = VG_(sprintf)(buf, "%s=(%d) (%d)", tag,
+ VG_(fprintf)(fp, "%s=(%d) (%d)", tag,
cxt->base_number + rec_index,
cxt->fn[0]->pure_cxt->base_number);
if (rec_index >0)
- p += VG_(sprintf)(buf+p, "'%d", rec_index +1);
+ VG_(fprintf)(fp, "'%d", rec_index +1);
for(i=1;i<cxt->size;i++)
- p += VG_(sprintf)(buf+p, "'(%d)",
+ VG_(fprintf)(fp, "'(%d)",
cxt->fn[i]->pure_cxt->base_number);
- p += VG_(sprintf)(buf+p, "\n");
- my_fwrite(fd, buf, p);
+ VG_(fprintf)(fp, "\n");
cxt_dumped[cxt->base_number+rec_index] = True;
return;
}
- p = VG_(sprintf)(buf, "%s=", tag);
+ VG_(fprintf)(fp, "%s=", tag);
if (CLG_(clo).compress_strings) {
CLG_ASSERT(cxt_dumped != 0);
if (cxt_dumped[cxt->base_number+rec_index]) {
- p += VG_(sprintf)(buf+p, "(%d)\n", cxt->base_number + rec_index);
- my_fwrite(fd, buf, p);
+ VG_(fprintf)(fp, "(%d)\n", cxt->base_number + rec_index);
return;
}
else {
- p += VG_(sprintf)(buf+p, "(%d) ", cxt->base_number + rec_index);
+ VG_(fprintf)(fp, "(%d) ", cxt->base_number + rec_index);
cxt_dumped[cxt->base_number+rec_index] = True;
}
}
- p += VG_(sprintf)(buf+p, "%s", cxt->fn[0]->name);
+ VG_(fprintf)(fp, "%s", cxt->fn[0]->name);
if (rec_index >0)
- p += VG_(sprintf)(buf+p, "'%d", rec_index +1);
+ VG_(fprintf)(fp, "'%d", rec_index +1);
for(i=1;i<cxt->size;i++)
- p += VG_(sprintf)(buf+p, "'%s", cxt->fn[i]->name);
+ VG_(fprintf)(fp, "'%s", cxt->fn[i]->name);
- p += VG_(sprintf)(buf+p, "\n");
- my_fwrite(fd, buf, p);
+ VG_(fprintf)(fp, "\n");
}
@@ -324,7 +260,7 @@
* the <last> position, update <last>
* Return True if something changes.
*/
-static Bool print_fn_pos(int fd, FnPos* last, BBCC* bbcc)
+static Bool print_fn_pos(VgFile *fp, FnPos* last, BBCC* bbcc)
{
Bool res = False;
@@ -337,8 +273,7 @@
if (!CLG_(clo).mangle_names) {
if (last->rec_index != bbcc->rec_index) {
- VG_(sprintf)(outbuf, "rec=%d\n\n", bbcc->rec_index);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ VG_(fprintf)(fp, "rec=%d\n\n", bbcc->rec_index);
last->rec_index = bbcc->rec_index;
last->cxt = 0; /* reprint context */
res = True;
@@ -352,13 +287,12 @@
if (curr_from == 0) {
if (last_from != 0) {
/* switch back to no context */
- VG_(sprintf)(outbuf, "frfn=(spontaneous)\n");
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ VG_(fprintf)(fp, "frfn=(spontaneous)\n");
res = True;
}
}
else if (last_from != curr_from) {
- print_fn(fd,outbuf,"frfn", curr_from);
+ print_fn(fp, "frfn", curr_from);
res = True;
}
last->cxt = bbcc->cxt;
@@ -366,22 +300,20 @@
}
if (last->obj != bbcc->cxt->fn[0]->file->obj) {
- VG_(sprintf)(outbuf, "ob=");
- print_obj(outbuf+3, bbcc->cxt->fn[0]->file->obj);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ print_obj(fp, "ob=", bbcc->cxt->fn[0]->file->obj);
last->obj = bbcc->cxt->fn[0]->file->obj;
res = True;
}
if (last->file != bbcc->cxt->fn[0]->file) {
- print_file(fd, "fl=", bbcc->cxt->fn[0]->file);
+ print_file(fp, "fl=", bbcc->cxt->fn[0]->file);
last->file = bbcc->cxt->fn[0]->file;
res = True;
}
if (!CLG_(clo).mangle_names) {
if (last->fn != bbcc->cxt->fn[0]) {
- print_fn(fd,outbuf, "fn", bbcc->cxt->fn[0]);
+ print_fn(fp, "fn", bbcc->cxt->fn[0]);
last->fn = bbcc->cxt->fn[0];
res = True;
}
@@ -391,7 +323,7 @@
if ((last->rec_index != bbcc->rec_index) ||
(last->cxt != bbcc->cxt)) {
- print_mangled_fn(fd, outbuf, "fn", bbcc->cxt, bbcc->rec_index);
+ print_mangled_fn(fp, "fn", bbcc->cxt, bbcc->rec_index);
last->fn = bbcc->cxt->fn[0];
last->rec_index = bbcc->rec_index;
res = True;
@@ -501,7 +433,8 @@
* print position change inside of a BB (last -> curr)
* this doesn't update last to curr!
*/
-static void fprint_apos(Int fd, AddrPos* curr, AddrPos* last, file_node* func_file)
+static void fprint_apos(VgFile *fp, AddrPos* curr, AddrPos* last,
+ file_node* func_file)
{
CLG_ASSERT(curr->file != 0);
CLG_DEBUG(2, " print_apos(file '%s', line %d, bb %#lx, addr %#lx) fnFile '%s'\n",
@@ -512,15 +445,14 @@
/* if we switch back to orig file, use fe=... */
if (curr->file == func_file)
- print_file(fd, "fe=", curr->file);
+ print_file(fp, "fe=", curr->file);
else
- print_file(fd, "fi=", curr->file);
+ print_file(fp, "fi=", curr->file);
}
if (CLG_(clo).dump_bbs) {
if (curr->line != last->line) {
- VG_(sprintf)(outbuf, "ln=%d\n", curr->line);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ VG_(fprintf)(fp, "ln=%d\n", curr->line);
}
}
}
@@ -534,25 +466,24 @@
* This doesn't set last to curr afterwards!
*/
static
-void fprint_pos(Int fd, AddrPos* curr, AddrPos* last)
+void fprint_pos(VgFile *fp, const AddrPos* curr, const AddrPos* last)
{
if (0) //CLG_(clo).dump_bbs)
- VG_(sprintf)(outbuf, "%lu ", curr->addr - curr->bb_addr);
+ VG_(fprintf)(fp, "%lu ", curr->addr - curr->bb_addr);
else {
- int p = 0;
if (CLG_(clo).dump_instr) {
int diff = curr->addr - last->addr;
if ( CLG_(clo).compress_pos && (last->addr >0) &&
(diff > -100) && (diff < 100)) {
if (diff >0)
- p = VG_(sprintf)(outbuf, "+%d ", diff);
+ VG_(fprintf)(fp, "+%d ", diff);
else if (diff==0)
- p = VG_(sprintf)(outbuf, "* ");
+ VG_(fprintf)(fp, "* ");
else
- p = VG_(sprintf)(outbuf, "%d ", diff);
+ VG_(fprintf)(fp, "%d ", diff);
}
else
- p = VG_(sprintf)(outbuf, "%#lx ", curr->addr);
+ VG_(fprintf)(fp, "%#lx ", curr->addr);
}
if (CLG_(clo).dump_bb) {
@@ -560,14 +491,14 @@
if ( CLG_(clo).compress_pos && (last->bb_addr >0) &&
(diff > -100) && (diff < 100)) {
if (diff >0)
- p += VG_(sprintf)(outbuf+p, "+%d ", diff);
+ VG_(fprintf)(fp, "+%d ", diff);
else if (diff==0)
- p += VG_(sprintf)(outbuf+p, "* ");
+ VG_(fprintf)(fp, "* ");
else
- p += VG_(sprintf)(outbuf+p, "%d ", diff);
+ VG_(fprintf)(fp, "%d ", diff);
}
else
- p += VG_(sprintf)(outbuf+p, "%#lx ", curr->bb_addr);
+ VG_(fprintf)(fp, "%#lx ", curr->bb_addr);
}
if (CLG_(clo).dump_line) {
@@ -576,17 +507,16 @@
(diff > -100) && (diff < 100)) {
if (diff >0)
- VG_(sprintf)(outbuf+p, "+%d ", diff);
+ VG_(fprintf)(fp, "+%d ", diff);
else if (diff==0)
- VG_(sprintf)(outbuf+p, "* ");
+ VG_(fprintf)(fp, "* ");
else
- VG_(sprintf)(outbuf+p, "%d ", diff);
+ VG_(fprintf)(fp, "%d ", diff);
}
else
- VG_(sprintf)(outbuf+p, "%u ", curr->line);
+ VG_(fprintf)(fp, "%u ", curr->line);
}
}
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
}
@@ -595,13 +525,11 @@
*/
static
-void fprint_cost(int fd, EventMapping* es, ULong* cost)
+void fprint_cost(VgFile *fp, const EventMapping* es, const ULong* cost)
{
HChar *mcost = CLG_(mappingcost_as_string)(es, cost);
- VG_(sprintf)(outbuf, "%s\n", mcost);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ VG_(fprintf)(fp, "%s\n", mcost);
CLG_FREE(mcost);
- return;
}
@@ -611,7 +539,7 @@
* funcPos is the source position of the first line of actual function.
* Something is written only if cost != 0; returns True in this case.
*/
-static void fprint_fcost(Int fd, AddrCost* c, AddrPos* last)
+static void fprint_fcost(VgFile *fp, AddrCost* c, AddrPos* last)
{
CLG_DEBUGIF(3) {
CLG_DEBUG(2, " print_fcost(file '%s', line %d, bb %#lx, addr %#lx):\n",
@@ -619,10 +547,10 @@
CLG_(print_cost)(-5, CLG_(sets).full, c->cost);
}
- fprint_pos(fd, &(c->p), last);
+ fprint_pos(fp, &(c->p), last);
copy_apos( last, &(c->p) ); /* update last to current position */
- fprint_cost(fd, CLG_(dumpmap), c->cost);
+ fprint_cost(fp, CLG_(dumpmap), c->cost);
/* add cost to total */
CLG_(add_and_zero_cost)( CLG_(sets).full, dump_total_cost, c->cost );
@@ -631,7 +559,8 @@
/* Write out the calls from jcc (at pos)
*/
-static void fprint_jcc(Int fd, jCC* jcc, AddrPos* curr, AddrPos* last, ULong ecounter)
+static void fprint_jcc(VgFile *fp, jCC* jcc, AddrPos* curr, AddrPos* last,
+ ULong ecounter)
{
static AddrPos target;
file_node* file;
@@ -671,33 +600,32 @@
* which change the stack, and thus context
*/
if (last->file != target.file) {
- print_file(fd, "jfi=", target.file);
+ print_file(fp, "jfi=", target.file);
}
if (jcc->from->cxt != jcc->to->cxt) {
if (CLG_(clo).mangle_names)
- print_mangled_fn(fd, outbuf, "jfn",
+ print_mangled_fn(fp, "jfn",
jcc->to->cxt, jcc->to->rec_index);
else
- print_fn(fd, outbuf, "jfn", jcc->to->cxt->fn[0]);
+ print_fn(fp, "jfn", jcc->to->cxt->fn[0]);
}
if (jcc->jmpkind == jk_CondJump) {
/* format: jcnd=<followed>/<executions> <target> */
- VG_(sprintf)(outbuf, "jcnd=%llu/%llu ",
+ VG_(fprintf)(fp, "jcnd=%llu/%llu ",
jcc->call_counter, ecounter);
}
else {
/* format: jump=<jump count> <target> */
- VG_(sprintf)(outbuf, "jump=%llu ",
+ VG_(fprintf)(fp, "jump=%llu ",
jcc->call_counter);
}
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
- fprint_pos(fd, &target, last);
- my_fwrite(fd, "\n", 1);
- fprint_pos(fd, curr, last);
- my_fwrite(fd, "\n", 1);
+ fprint_pos(fp, &target, last);
+ VG_(fprintf)(fp, "\n");
+ fprint_pos(fp, curr, last);
+ VG_(fprintf)(fp, "\n");
jcc->call_counter = 0;
return;
@@ -708,30 +636,27 @@
/* object of called position different to object of this function?*/
if (jcc->from->cxt->fn[0]->file->obj != obj) {
- VG_(sprintf)(outbuf, "cob=");
- print_obj(outbuf+4, obj);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ print_obj(fp, "cob=", obj);
}
/* file of called position different to current file? */
if (last->file != file) {
- print_file(fd, "cfi=", file);
+ print_file(fp, "cfi=", file);
}
if (CLG_(clo).mangle_names)
- print_mangled_fn(fd, outbuf, "cfn", jcc->to->cxt, jcc->to->rec_index);
+ print_mangled_fn(fp, "cfn", jcc->to->cxt, jcc->to->rec_index);
else
- print_fn(fd, outbuf, "cfn", jcc->to->cxt->fn[0]);
+ print_fn(fp, "cfn", jcc->to->cxt->fn[0]);
if (!CLG_(is_zero_cost)( CLG_(sets).full, jcc->cost)) {
- VG_(sprintf)(outbuf, "calls=%llu ",
+ VG_(fprintf)(fp, "calls=%llu ",
jcc->call_counter);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
- fprint_pos(fd, &target, last);
- my_fwrite(fd, "\n", 1);
- fprint_pos(fd, curr, last);
- fprint_cost(fd, CLG_(dumpmap), jcc->cost);
+ fprint_pos(fp, &target, last);
+ VG_(fprintf)(fp, "\n");
+ fprint_pos(fp, curr, last);
+ fprint_cost(fp, CLG_(dumpmap), jcc->cost);
CLG_(init_cost)( CLG_(sets).full, jcc->cost );
@@ -753,7 +678,7 @@
* - JCCs of the unique jump of this BB
* returns True if something was written
*/
-static Bool fprint_bbcc(Int fd, BBCC* bbcc, AddrPos* last)
+static Bool fprint_bbcc(VgFile *fp, BBCC* bbcc, AddrPos* last)
{
InstrInfo* instr_info;
ULong ecounter;
@@ -794,8 +719,8 @@
if (!CLG_(is_zero_cost)( CLG_(sets).full, currCost->cost )) {
something_written = True;
- fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
- fprint_fcost(fd, currCost, last);
+ fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
+ fprint_fcost(fp, currCost, last);
}
/* switch buffers */
@@ -818,16 +743,16 @@
if (jcc_count>0) {
if (!CLG_(is_zero_cost)( CLG_(sets).full, currCost->cost )) {
/* no need to switch buffers, as position is the same */
- fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
- fprint_fcost(fd, currCost, last);
+ fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
+ fprint_fcost(fp, currCost, last);
}
get_debug_pos(bbcc, bb_addr(bb)+instr_info->instr_offset, &(currCost->p));
- fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
+ fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
something_written = True;
for(jcc=bbcc->jmp[jmp].jcc_list; jcc; jcc=jcc->next_from) {
if (((jcc->jmpkind != jk_Call) && (jcc->call_counter >0)) ||
(!CLG_(is_zero_cost)( CLG_(sets).full, jcc->cost )))
- fprint_jcc(fd, jcc, &(currCost->p), last, ecounter);
+ fprint_jcc(fp, jcc, &(currCost->p), last, ecounter);
}
}
}
@@ -855,12 +780,12 @@
if (!CLG_(is_zero_cost)( CLG_(sets).full, currCost->cost )) {
/* no need to switch buffers, as position is the same */
- fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
- fprint_fcost(fd, currCost, last);
+ fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
+ fprint_fcost(fp, currCost, last);
}
get_debug_pos(bbcc, bb_jmpaddr(bb), &(currCost->p));
- fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
+ fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
something_written = True;
/* first, print skipped costs for calls */
@@ -869,10 +794,9 @@
CLG_(add_and_zero_cost)( CLG_(sets).full,
currCost->cost, bbcc->skipped );
#if 0
- VG_(sprintf)(outbuf, "# Skipped\n");
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ VG_(fprintf)(fp, "# Skipped\n");
#endif
- fprint_fcost(fd, currCost, last);
+ fprint_fcost(fp, currCost, last);
}
if (jcc_count > 0)
@@ -881,7 +805,7 @@
if ( ((jcc->jmpkind != jk_Call) && (jcc->call_counter >0)) ||
(!CLG_(is_zero_cost)( CLG_(sets).full, jcc->cost )))
- fprint_jcc(fd, jcc, &(currCost->p), last, ecounter);
+ fprint_jcc(fp, jcc, &(currCost->p), last, ecounter);
}
}
@@ -889,10 +813,10 @@
if (!CLG_(is_zero_cost)( CLG_(sets).full, currCost->cost )) {
something_written = True;
- fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
- fprint_fcost(fd, currCost, last);
+ fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
+ fprint_fcost(fp, currCost, last);
}
- if (CLG_(clo).dump_bbs) my_fwrite(fd, "\n", 1);
+ if (CLG_(clo).dump_bbs) VG_(fprintf)(fp, "\n");
/* when every cost was immediatly written, we must have done so,
* as this function is only called when there's cost in a BBCC
@@ -1218,12 +1142,11 @@
-static void fprint_cost_ln(int fd, const HChar* prefix,
- EventMapping* em, ULong* cost)
+static void fprint_cost_ln(VgFile *fp, const HChar* prefix,
+ const EventMapping* em, const ULong* cost)
{
HChar *mcost = CLG_(mappingcost_as_string)(em, cost);
- VG_(sprintf)(outbuf, "%s%s\n", prefix, mcost);
- my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
+ VG_(fprintf)(fp, "%s%s\n", prefix, mcost);
CLG_FREE(mcost);
}
@@ -1248,12 +1171,12 @@
*
* Returns the file descriptor, and -1 on error (no write permission)
*/
-static int new_dumpfile(HChar buf[BUF_LEN], int tid, const HChar* trigger)
+static VgFile *new_dumpfile(int tid, const HChar* trigger)
{
Bool appending = False;
- int i, fd;
+ int i;
FullCost sum = 0;
- SysRes res;
+ VgFile *fp;
CLG_ASSERT(dumps_initialized);
CLG_ASSERT(filename != 0);
@@ -1267,25 +1190,24 @@
if (CLG_(clo).separate_threads)
VG_(sprintf)(filename+i, "-%02d", tid);
- res = VG_(open)(filename, VKI_O_WRONLY|VKI_O_TRUNC, 0);
+ fp = VG_(fopen)(filename, VKI_O_WRONLY|VKI_O_TRUNC, 0);
}
else {
VG_(sprintf)(filename, "%s", out_file);
- res = VG_(open)(filename, VKI_O_WRONLY|VKI_O_APPEND, 0);
- if (!sr_isError(res) && out_counter>1)
+ fp = VG_(fopen)(filename, VKI_O_WRONLY|VKI_O_APPEND, 0);
+ if (fp && out_counter>1)
appending = True;
}
- if (sr_isError(res)) {
- res = VG_(open)(filename, VKI_O_CREAT|VKI_O_WRONLY,
- VKI_S_IRUSR|VKI_S_IWUSR);
- if (sr_isError(res)) {
+ if (fp == NULL) {
+ fp = VG_(fopen)(filename, VKI_O_CREAT|VKI_O_WRONLY,
+ VKI_S_IRUSR|VKI_S_IWUSR);
+ if (fp == NULL) {
/* If the file can not be opened for whatever reason (conflict
between multiple supervised processes?), give up now. */
file_err();
}
}
- fd = (Int) sr_Res(res);
CLG_DEBUG(2, " new_dumpfile '%s'\n", filename);
@@ -1295,68 +1217,52 @@
if (!appending) {
/* version */
- VG_(sprintf)(buf, "version: 1\n");
- my_fwrite(fd, buf, VG_(strlen)(buf));
+ VG_(fprintf)(fp, "version: 1\n");
/* creator */
- VG_(sprintf)(buf, "creator: callgrind-" VERSION "\n");
- my_fwrite(fd, buf, VG_(strlen)(buf));
+ VG_(fprintf)(fp, "creator: callgrind-" VERSION "\n");
/* "pid:" line */
- VG_(sprintf)(buf, "pid: %d\n", VG_(getpid)());
- my_fwrite(fd, buf, VG_(strlen)(buf));
+ VG_(fprintf)(fp, "pid: %d\n", VG_(getpid)());
/* "cmd:" line */
- VG_(strcpy)(buf, "cmd: ");
- my_fwrite(fd, buf, VG_(strlen)(buf));
- my_fwrite(fd, cmdbuf, VG_(strlen)(cmdbuf));
+ VG_(fprintf)(fp, "cmd: %s", cmdbuf);
}
- VG_(sprintf)(buf, "\npart: %d\n", out_counter);
- my_fwrite(fd, buf, VG_(strlen)(buf));
+ VG_(fprintf)(fp, "\npart: %d\n", out_counter);
if (CLG_(clo).separate_threads) {
- VG_(sprintf)(buf, "thread: %d\n", tid);
- my_fwrite(fd, buf, VG_(strlen)(buf));
+ VG_(fprintf)(fp, "thread: %d\n", tid);
}
/* "desc:" lines */
if (!appending) {
- my_fwrite(fd, "\n", 1);
+ VG_(fprintf)(fp, "\n");
#if 0
/* Global options changing the tracing behaviour */
- VG_(sprintf)(buf, "\ndesc: Option: --skip-plt=%s\n",
+ VG_(fprintf)(fp, "\ndesc: Option: --skip-plt=%s\n",
CLG_(clo).skip_plt ? "yes" : "no");
- my_fwrite(fd, buf, VG_(strlen)(buf));
- VG_(sprintf)(buf, "desc: Option: --collect-jumps=%s\n",
+ VG_(fprintf)(fp, "desc: Option: --collect-jumps=%s\n",
CLG_(clo).collect_jumps ? "yes" : "no");
- my_fwrite(fd, buf, VG_(strlen)(buf));
- VG_(sprintf)(buf, "desc: Option: --separate-recs=%d\n",
+ VG_(fprintf)(fp, "desc: Option: --separate-recs=%d\n",
CLG_(clo).separate_recursions);
- my_fwrite(fd, buf, VG_(strlen)(buf));
- VG_(sprintf)(buf, "desc: Option: --separate-callers=%d\n",
+ VG_(fprintf)(fp, "desc: Option: --separate-callers=%d\n",
CLG_(clo).separate_callers);
- my_fwrite(fd, buf, VG_(strlen)(buf));
- VG_(sprintf)(buf, "desc: Option: --dump-bbs=%s\n",
+ VG_(fprintf)(fp, "desc: Option: --dump-bbs=%s\n",
CLG_(clo).dump_bbs ? "yes" : "no");
- my_fwrite(fd, buf, VG_(strlen)(buf));
- VG_(sprintf)(buf, "desc: Option: --separate-threads=%s\n",
+ VG_(fprintf)(fp, "desc: Option: --separate-threads=%s\n",
CLG_(clo).separate_threads ? "yes" : "no");
- my_fwrite(fd, buf, VG_(strlen)(buf));
#endif
- (*CLG_(cachesim).getdesc)(buf);
- my_fwrite(fd, buf, VG_(strlen)(buf));
+ (*CLG_(cachesim).dump_desc)(fp);
}
- VG_(sprintf)(buf, "\ndesc: Timerange: Basic block %llu - %llu\n",
+ VG_(fprintf)(fp, "\ndesc: Timerange: Basic block %llu - %llu\n",
bbs_done, CLG_(stat).bb_executions);
- my_fwrite(fd, buf, VG_(strlen)(buf));
- VG_(sprintf)(buf, "desc: Trigger: %s\n",
+ VG_(fprintf)(fp, "desc: Trigger: %s\n",
trigger ? trigger : "Program termination");
- my_fwrite(fd, buf, VG_(strlen)(buf));
#if 0
/* Output function specific config
@@ -1365,28 +1271,23 @@
fnc = fnc_table[i];
while (fnc) {
if (fnc->skip) {
- VG_(sprintf)(buf, "desc: Option: --fn-skip=%s\n", fnc->name);
- my_fwrite(fd, buf, VG_(strlen)(buf));
+ VG_(fprintf)(fp, "desc: Option: --fn-skip=%s\n", fnc->name);
}
if (fnc->dump_at_enter) {
- VG_(sprintf)(buf, "desc: Option: --fn-dump-at-enter=%s\n",
+ VG_(fprintf)(fp, "desc: Option: --fn-dump-at-enter=%s\n",
fnc->name);
- my_fwrite(fd, buf, VG_(strlen)(buf));
}
if (fnc->dump_at_leave) {
- VG_(sprintf)(buf, "desc: Option: --fn-dump-at-leave=%s\n",
+ VG_(fprintf)(fp, "desc: Option: --fn-dump-at-leave=%s\n",
fnc->name);
- my_fwrite(fd, buf, VG_(strlen)(buf));
}
if (fnc->separate_callers != CLG_(clo).separate_callers) {
- VG_(sprintf)(buf, "desc: Option: --separate-callers%d=%s\n",
+ VG_(fprintf)(fp, "desc: Option: --separate-callers%d=%s\n",
fnc->separate_callers, fnc->name);
- my_fwrite(fd, buf, VG_(strlen)(buf));
}
if (fnc->separate_recursions != CLG_(clo).separate_recursions) {
- VG_(sprintf)(buf, "desc: Option: --separate-recs%d=%s\n",
+ VG_(fprintf)(fp, "desc: Option: --separate-recs%d=%s\n",
fnc->separate_recursions, fnc->name);
- my_fwrite(fd, buf, VG_(strlen)(buf));
}
fnc = fnc->next;
}
@@ -1394,17 +1295,15 @@
#endif
/* "positions:" line */
- VG_(sprintf)(buf, "\npositions:%s%s%s\n",
+ VG_(fprintf)(fp, "\npositions:%s%s%s\n",
CLG_(clo).dump_instr ? " instr" : "",
CLG_(clo).dump_bb ? " bb" : "",
CLG_(clo).dump_line ? " line" : "");
- my_fwrite(fd, buf, VG_(strlen)(buf));
/* "events:" line */
HChar *evmap = CLG_(eventmapping_as_string)(CLG_(dumpmap));
- VG_(sprintf)(buf, "events: %s\n", evmap);
+ VG_(fprintf)(fp, "events: %s\n", evmap);
VG_(free)(evmap);
- my_fwrite(fd, buf, VG_(strlen)(buf));
/* summary lines */
sum = CLG_(get_eventset_cost)( CLG_(sets).full );
@@ -1428,32 +1327,31 @@
thr[t]->states.entry[0]->cost);
}
}
- fprint_cost_ln(fd, "summary: ", CLG_(dumpmap), sum);
+ fprint_cost_ln(fp, "summary: ", CLG_(dumpmap), sum);
/* all dumped cost will be added to total_fcc */
CLG_(init_cost_lz)( CLG_(sets).full, &dump_total_cost );
- my_fwrite(fd, "\n\n",2);
+ VG_(fprintf)(fp, "\n\n");
if (VG_(clo_verbosity) > 1)
VG_(message)(Vg_DebugMsg, "Dump to %s\n", filename);
- return fd;
+ return fp;
}
-static void close_dumpfile(int fd)
+static void close_dumpfile(VgFile *fp)
{
- if (fd <0) return;
+ if (fp == NULL) return;
- fprint_cost_ln(fd, "totals: ", CLG_(dumpmap),
+ fprint_cost_ln(fp, "totals: ", CLG_(dumpmap),
dump_total_cost);
- //fprint_fcc_ln(fd, "summary: ", &dump_total_fcc);
+ //fprint_fcc_ln(fp, "summary: ", &dump_total_fcc);
CLG_(add_cost_lz)(CLG_(sets).full,
&CLG_(total_cost), dump_total_cost);
- fwrite_flush();
- VG_(close)(fd);
+ VG_(fclose)(fp);
if (filename[0] == '.') {
if (-1 == VG_(rename) (filename, filename+1)) {
@@ -1468,7 +1366,6 @@
/* Helper for print_bbccs */
static const HChar* print_trigger;
-static HChar print_buf[BUF_LEN];
static void print_bbccs_of_thread(thread_info* ti)
{
@@ -1478,8 +1375,8 @@
CLG_DEBUG(1, "+ print_bbccs(tid %d)\n", CLG_(current_tid));
- Int print_fd = new_dumpfile(print_buf, CLG_(current_tid), print_trigger);
- if (print_fd <0) {
+ VgFile *print_fp = new_dumpfile(CLG_(current_tid), print_trigger);
+ if (print_fp == NULL) {
CLG_DEBUG(1, "- print_bbccs(tid %d): No output...\n", CLG_(current_tid));
return;
}
@@ -1496,21 +1393,21 @@
(lastFnPos.rec_index != (*p)->rec_index))) {
if (!CLG_(is_zero_cost)( CLG_(sets).full, ccSum[currSum].cost )) {
/* no need to switch buffers, as position is the same */
- fprint_apos(print_fd, &(ccSum[currSum].p), &lastAPos,
+ fprint_apos(print_fp, &(ccSum[currSum].p), &lastAPos,
lastFnPos.cxt->fn[0]->file);
- fprint_fcost(print_fd, &ccSum[currSum], &lastAPos);
+ fprint_fcost(print_fp, &ccSum[currSum], &lastAPos);
}
if (ccSum[currSum].p.file != lastFnPos.cxt->fn[0]->file) {
/* switch back to file of function */
- print_file(print_fd, "fe=", lastFnPos.cxt->fn[0]->file);
+ print_file(print_fp, "fe=", lastFnPos.cxt->fn[0]->file);
}
- my_fwrite(print_fd, "\n", 1);
+ VG_(fprintf)(print_fp, "\n");
}
if (*p == 0) break;
- if (print_fn_pos(print_fd, &lastFnPos, *p)) {
+ if (print_fn_pos(print_fp, &lastFnPos, *p)) {
/* new function */
init_apos(&lastAPos, 0, 0, (*p)->cxt->fn[0]->file);
@@ -1521,27 +1418,26 @@
if (CLG_(clo).dump_bbs) {
/* FIXME: Specify Object of BB if different to object of fn */
- int i, pos = 0;
+ int i;
ULong ecounter = (*p)->ecounter_sum;
- pos = VG_(sprintf)(print_buf, "bb=%#lx ", (*p)->bb->offset);
+ VG_(fprintf)(print_fp, "bb=%#lx ", (*p)->bb->offset);
for(i = 0; i<(*p)->bb->cjmp_count;i++) {
- pos += VG_(sprintf)(print_buf+pos, "%d %llu ",
+ VG_(fprintf)(print_fp, "%d %llu ",
(*p)->bb->jmp[i].instr,
ecounter);
ecounter -= (*p)->jmp[i].ecounter;
}
- VG_(sprintf)(print_buf+pos, "%d %llu\n",
+ VG_(fprintf)(print_fp, "%d %llu\n",
(*p)->bb->instr_count,
ecounter);
- my_fwrite(print_fd, print_buf, VG_(strlen)(print_buf));
}
- fprint_bbcc(print_fd, *p, &lastAPos);
+ fprint_bbcc(print_fp, *p, &lastAPos);
p++;
}
- close_dumpfile(print_fd);
+ close_dumpfile(print_fp);
VG_(free)(array);
/* set counters of last dump */
Modified: trunk/callgrind/global.h
==============================================================================
--- trunk/callgrind/global.h (original)
+++ trunk/callgrind/global.h Tue Nov 11 20:46:34 2014
@@ -128,11 +128,6 @@
#define MIN_LINE_SIZE 16
/* Size of various buffers used for storing strings */
-#define FILENAME_LEN VKI_PATH_MAX
-#define FN_NAME_LEN 4096 /* for C++ code :-) */
-#define OBJ_NAME_LEN 256
-#define COSTS_LEN 512 /* at least 17x 64bit values */
-#define BUF_LEN 512
#define RESULTS_BUF_LEN 256
@@ -635,7 +630,7 @@
Bool (*parse_opt)(const HChar* arg);
void (*post_clo_init)(void);
void (*clear)(void);
- void (*getdesc)(HChar* buf);
+ void (*dump_desc)(VgFile *fp);
void (*printstat)(Int,Int,Int);
void (*add_icost)(SimCost, BBCC*, InstrInfo*, ULong);
void (*finish)(void);
Modified: trunk/callgrind/sim.c
==============================================================================
--- trunk/callgrind/sim.c (original)
+++ trunk/callgrind/sim.c Tue Nov 11 20:46:34 2014
@@ -1434,12 +1434,11 @@
}
-static void cachesim_getdesc(HChar* buf)
+static void cachesim_dump_desc(VgFile *fp)
{
- Int p;
- p = VG_(sprintf)(buf, "\ndesc: I1 cache: %s\n", I1.desc_line);
- p += VG_(sprintf)(buf+p, "desc: D1 cache: %s\n", D1.desc_line);
- VG_(sprintf)(buf+p, "desc: LL cache: %s\n", LL.desc_line);
+ VG_(fprintf)(fp, "\ndesc: I1 cache: %s\n", I1.desc_line);
+ VG_(fprintf)(fp, "desc: D1 cache: %s\n", D1.desc_line);
+ VG_(fprintf)(fp, "desc: LL cache: %s\n", LL.desc_line);
}
static
@@ -1781,7 +1780,7 @@
.parse_opt = cachesim_parse_opt,
.post_clo_init = cachesim_post_clo_init,
.clear = cachesim_clear,
- .getdesc = cachesim_getdesc,
+ .dump_desc = cachesim_dump_desc,
.printstat = cachesim_printstat,
.add_icost = cachesim_add_icost,
.finish = cachesim_finish,
|
|
From: <sv...@va...> - 2014-11-11 12:49:28
|
Author: sewardj
Date: Tue Nov 11 12:49:21 2014
New Revision: 2989
Log:
Add a nasty temporary kludge to CPUID that allows 64-bit MacOSX 10.10
(Yosemite) to run, until such time as XSAVE and XRSTOR are implemented.
Detailed in the comments. All other targets should be unaffected.
Modified:
trunk/priv/guest_amd64_toIR.c
Modified: trunk/priv/guest_amd64_toIR.c
==============================================================================
--- trunk/priv/guest_amd64_toIR.c (original)
+++ trunk/priv/guest_amd64_toIR.c Tue Nov 11 12:49:21 2014
@@ -21434,13 +21434,33 @@
void amd64g_dirtyhelper_CPUID ( VexGuestAMD64State* )
declared to mod rax, wr rbx, rcx, rdx
*/
- IRDirty* d = NULL;
- const HChar* fName = NULL;
- void* fAddr = NULL;
+ IRDirty* d = NULL;
+ const HChar* fName = NULL;
+ void* fAddr = NULL;
+
+ /* JRS 2014-11-11: this a really horrible temp kludge to work
+ around the fact that the Yosemite (OSX 10.10)
+ /usr/lib/system/libdyld.dylib expects XSAVE/XRSTOR to be
+ implemented, because amd64g_dirtyhelper_CPUID_avx_and_cx16
+ claims they are supported, but so far they aren't. So cause
+ it to fall back to a simpler CPU. The cleaner approach of
+ setting CPUID(eax=1).OSXSAVE=0 and .XSAVE=0 isn't desirable
+ since it will (per the official Intel guidelines) lead to
+ software concluding that AVX isn't supported.
+
+ This is also a kludge in that putting these ifdefs here checks
+ the build (host) architecture, when really we're checking the
+ guest architecture. */
+ Bool this_is_yosemite = False;
+# if defined(VGP_amd64_darwin) && DARWIN_VERS == DARWIN_10_10
+ this_is_yosemite = True;
+# endif
+
if (haveF2orF3(pfx)) goto decode_failure;
/* This isn't entirely correct, CPUID should depend on the VEX
capabilities, not on the underlying CPU. See bug #324882. */
- if ((archinfo->hwcaps & VEX_HWCAPS_AMD64_SSE3) &&
+ if (!this_is_yosemite &&
+ (archinfo->hwcaps & VEX_HWCAPS_AMD64_SSE3) &&
(archinfo->hwcaps & VEX_HWCAPS_AMD64_CX16) &&
(archinfo->hwcaps & VEX_HWCAPS_AMD64_AVX)) {
fName = "amd64g_dirtyhelper_CPUID_avx_and_cx16";
|
|
From: <sv...@va...> - 2014-11-11 12:47:05
|
Author: sewardj
Date: Tue Nov 11 12:46:58 2014
New Revision: 14712
Log:
Interceot _platform_strncmp also on OSX 10.10.
Modified:
trunk/shared/vg_replace_strmem.c
Modified: trunk/shared/vg_replace_strmem.c
==============================================================================
--- trunk/shared/vg_replace_strmem.c (original)
+++ trunk/shared/vg_replace_strmem.c Tue Nov 11 12:46:58 2014
@@ -580,7 +580,7 @@
#elif defined(VGO_darwin)
STRNCMP(VG_Z_LIBC_SONAME, strncmp)
-# if DARWIN_VERS == DARWIN_10_9
+# if DARWIN_VERS == DARWIN_10_9 || DARWIN_VERS == DARWIN_10_10
STRNCMP(libsystemZuplatformZddylib, _platform_strncmp)
# endif
|
|
From: <sv...@va...> - 2014-11-11 12:46:27
|
Author: sewardj
Date: Tue Nov 11 12:46:19 2014
New Revision: 14711
Log:
PRE(mach_msg) on OSX 10.10 64-bit: replace failing assertion
vg_assert(! (mh->msgh_bits & MACH_SEND_TRAILER));
with a warning message, but let it continue.
Modified:
trunk/coregrind/m_syswrap/syswrap-darwin.c
Modified: trunk/coregrind/m_syswrap/syswrap-darwin.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-darwin.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-darwin.c Tue Nov 11 12:46:19 2014
@@ -7753,7 +7753,19 @@
// GrP fixme handle sender-specified message trailer
// (but is this only for too-secure processes?)
+ // JRS 11 Nov 2014: this assertion is OK for <= 10.9 but fails on 10.10
+# if DARWIN_VERS == DARWIN_10_10
+ static UInt ctr = 0;
+ if (! (mh->msgh_bits & MACH_SEND_TRAILER)) {
+ ctr++;
+ if (-1 != VG_(log2)(ctr)) {
+ VG_(printf)("UNKNOWN mach_msg unhandled "
+ "MACH_SEND_TRAILER option (shown %u times)\n", ctr);
+ }
+ }
+# else
vg_assert(! (mh->msgh_bits & MACH_SEND_TRAILER));
+# endif
MACH_REMOTE = mh->msgh_remote_port;
MACH_MSGH_ID = mh->msgh_id;
|
|
From: Rich C. <rc...@wi...> - 2014-11-11 06:06:42
|
valgrind revision: 14710
VEX revision: 2988
C compiler: gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]
GDB: GNU gdb (GDB; openSUSE 13.2) 7.8
Assembler: GNU assembler (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
C library: GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025)
uname -mrs: Linux 3.16.6-2-desktop x86_64
Vendor version: openSUSE 13.2 (Harlequin)
Nightly build on ultra ( gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064] Linux 3.16.6-2-desktop x86_64 )
Started at 2014-11-10 23:35:30 CST
Ended at 2014-11-11 00:06:30 CST
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 613 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2014-11-10 23:51:29.958960325 -0600
+++ hgtls.stdoutB.out 2014-11-10 23:54:25.040527517 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2014-11-10 23:51:36.072805532 -0600
+++ hg05_race2.stderr.out 2014-11-11 00:00:59.408267541 -0600
@@ -26,8 +26,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +41,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2014-11-10 23:51:36.094804975 -0600
+++ tc09_bad_unlock.stderr.out 2014-11-11 00:01:26.978216132 -0600
@@ -37,7 +37,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
----------------------------------------------------------------
=================================================
./valgrind-new/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2014-11-10 23:51:30.916936071 -0600
+++ err_disable3.stderr.out 2014-11-10 23:56:14.813561603 -0600
@@ -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-11-10 23:51:31.582919210 -0600
+++ err_disable4.stderr.out 2014-11-10 23:56:16.065414032 -0600
@@ -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-11-10 23:51:31.329925615 -0600
+++ threadname.stderr.out 2014-11-10 23:58:14.911439726 -0600
@@ -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:61)
- ...
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:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- 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:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- 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:30)
- ...
-
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-11-10 23:51:31.172929590 -0600
+++ threadname_xml.stderr.out 2014-11-10 23:58:15.561383715 -0600
@@ -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/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2014-11-10 23:35:49.787328492 -0600
+++ hgtls.stdoutB.out 2014-11-10 23:39:10.190237678 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-old/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2014-11-10 23:36:05.224529806 -0600
+++ hg05_race2.stderr.out 2014-11-10 23:45:53.974712158 -0600
@@ -26,8 +26,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +41,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2014-11-10 23:36:05.247530097 -0600
+++ tc09_bad_unlock.stderr.out 2014-11-10 23:46:21.508763775 -0600
@@ -37,7 +37,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
----------------------------------------------------------------
=================================================
./valgrind-old/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2014-11-10 23:35:51.288348573 -0600
+++ err_disable3.stderr.out 2014-11-10 23:41:02.839848499 -0600
@@ -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-11-10 23:35:52.925370352 -0600
+++ err_disable4.stderr.out 2014-11-10 23:41:04.099854116 -0600
@@ -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-11-10 23:35:52.236361200 -0600
+++ threadname.stderr.out 2014-11-10 23:43:05.357302032 -0600
@@ -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:61)
- ...
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:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- 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:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- 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:30)
- ...
-
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-11-10 23:35:51.855356132 -0600
+++ threadname_xml.stderr.out 2014-11-10 23:43:06.025304068 -0600
@@ -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>
|
|
From: Rich C. <rc...@wi...> - 2014-11-11 05:30:03
|
valgrind revision: 14710
VEX revision: 2988
C compiler: gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]
GDB: GNU gdb (GDB; openSUSE 13.2) 7.8
Assembler: GNU assembler (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
C library: GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025)
uname -mrs: Linux 3.16.6-2-desktop x86_64
Vendor version: Welcome to openSUSE 13.2 "Harlequin" - Kernel %r (%t).
Nightly build on rodan ( Linux 3.16.6-2-desktop x86_64 )
Started at 2014-11-10 19:22:02 CST
Ended at 2014-11-10 23:29:55 CST
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 613 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
--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.5s (15.6x, -----) me:15.1s (31.4x, -----) ca:61.0s (127.0x, -----) he: 9.5s (19.9x, -----) ca:17.4s (36.1x, -----) dr: 9.1s (18.9x, -----) ma: 8.9s (18.5x, -----)
bigcode1 valgrind-old:0.48s no: 7.5s (15.7x, -0.4%) me:15.1s (31.4x, -0.1%) ca:61.0s (127.2x, -0.2%) he: 9.5s (19.8x, 0.3%) ca:17.4s (36.2x, -0.1%) dr: 9.1s (19.0x, -0.4%) ma: 8.9s (18.5x, 0.2%)
-- bigcode2 --
bigcode2 valgrind-new:0.49s no:18.6s (37.9x, -----) me:39.4s (80.4x, -----) ca:109.3s (223.1x, -----) he:24.2s (49.3x, -----) ca:33.0s (67.3x, -----) dr:22.0s (44.8x, -----) ma:21.4s (43.6x, -----)
bigcode2 valgrind-old:0.49s no:18.7s (38.1x, -0.7%) me:39.5s (80.7x, -0.4%) ca:106.1s (216.6x, 2.9%) he:24.1s (49.1x, 0.4%) ca:32.9s (67.2x, 0.2%) dr:22.0s (44.9x, -0.1%) ma:21.3s (43.5x, 0.3%)
-- bz2 --
bz2 valgrind-new:2.32s no: 7.8s ( 3.4x, -----) me:25.4s (10.9x, -----) ca:56.4s (24.3x, -----) he:38.0s (16.4x, -----) ca:50.5s (21.8x, -----) dr:53.0s (22.8x, -----) ma: 7.4s ( 3.2x, -----)
bz2 valgrind-old:2.32s no: 7.9s ( 3.4x, -1.3%) me:25.3s (10.9x, 0.2%) ca:56.5s (24.3x, -0.1%) he:37.5s (16.2x, 1.3%) ca:56.3s (24.3x,-11.4%) dr:52.9s (22.8x, 0.2%) ma: 7.4s ( 3.2x, -0.3%)
-- fbench --
fbench valgrind-new:1.45s no: 5.2s ( 3.6x, -----) me:17.5s (12.1x, -----) ca:26.7s (18.4x, -----) he:13.3s ( 9.2x, -----) ca:16.4s (11.3x, -----) dr:13.2s ( 9.1x, -----) ma: 5.4s ( 3.7x, -----)
fbench valgrind-old:1.45s no: 5.2s ( 3.6x, -1.4%) me:17.6s (12.1x, -0.5%) ca:26.4s (18.2x, 1.1%) he:13.3s ( 9.2x, 0.1%) ca:16.7s (11.5x, -1.7%) dr:13.2s ( 9.1x, 0.1%) ma: 5.5s ( 3.8x, -1.3%)
-- ffbench --
ffbench valgrind-new:1.00s no: 3.4s ( 3.4x, -----) me:12.3s (12.3x, -----) ca: 7.8s ( 7.8x, -----) he:23.4s (23.4x, -----) ca:19.9s (19.9x, -----) dr:16.8s (16.8x, -----) ma: 3.4s ( 3.4x, -----)
ffbench valgrind-old:1.00s no: 3.4s ( 3.4x, -0.3%) me:12.3s (12.3x, 0.1%) ca: 7.8s ( 7.8x, 0.1%) he:24.7s (24.7x, -5.7%) ca:21.9s (21.9x,-10.1%) dr:16.8s (16.8x, -0.1%) ma: 3.4s ( 3.4x, -0.6%)
-- heap --
heap valgrind-new:0.41s no: 3.0s ( 7.3x, -----) me:22.1s (54.0x, -----) ca:30.3s (73.9x, -----) he:31.0s (75.6x, -----) ca:15.2s (37.1x, -----) dr:19.9s (48.5x, -----) ma:21.4s (52.1x, -----)
heap valgrind-old:0.41s no: 3.0s ( 7.3x, 0.7%) me:22.2s (54.1x, -0.1%) ca:29.9s (73.0x, 1.3%) he:30.7s (74.9x, 1.0%) ca:16.5s (40.3x, -8.6%) dr:19.9s (48.5x, -0.1%) ma:21.6s (52.7x, -1.2%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.55s no: 3.4s ( 6.2x, -----) me:38.4s (69.9x, -----) ca:33.2s (60.4x, -----) he:36.3s (65.9x, -----) ca:17.3s (31.4x, -----) dr:22.2s (40.4x, -----) ma:22.3s (40.6x, -----)
heap_pdb4 valgrind-old:0.55s no: 3.3s ( 6.0x, 2.9%) me:38.1s (69.3x, 0.8%) ca:33.1s (60.1x, 0.4%) he:36.0s (65.5x, 0.7%) ca:18.7s (34.0x, -8.2%) dr:22.2s (40.4x, 0.0%) ma:22.8s (41.5x, -2.2%)
-- many-loss-records --
many-loss-records valgrind-new:0.05s no: 1.0s (20.6x, -----) me: 6.1s (121.4x, -----) ca: 4.8s (95.6x, -----) he: 5.5s (109.2x, -----) ca: 2.9s (58.6x, -----) dr: 4.8s (97.0x, -----) ma: 4.7s (93.6x, -----)
many-loss-records valgrind-old:0.05s no: 1.0s (20.8x, -1.0%) me: 6.1s (121.6x, -0.2%) ca: 4.8s (95.0x, 0.6%) he: 5.4s (108.8x, 0.4%) ca: 3.1s (61.8x, -5.5%) dr: 4.9s (97.4x, -0.4%) ma: 4.7s (94.2x, -0.6%)
-- many-xpts --
many-xpts valgrind-new:0.15s no: 1.3s ( 8.9x, -----) me: 7.4s (49.3x, -----) ca:12.9s (86.3x, -----) he: 9.9s (66.1x, -----) ca: 4.1s (27.3x, -----) dr: 6.4s (42.7x, -----) ma: 6.9s (46.1x, -----)
many-xpts valgrind-old:0.15s no: 1.3s ( 8.7x, 1.5%) me: 7.4s (49.3x, -0.1%) ca:12.8s (85.1x, 1.3%) he: 9.9s (65.8x, 0.4%) ca: 4.3s (28.7x, -4.9%) dr: 6.4s (42.8x, -0.3%) ma: 6.9s (46.0x, 0.1%)
-- sarp --
sarp valgrind-new:0.11s no: 1.2s (11.3x, -----) me: 9.1s (82.8x, -----) ca: 8.0s (72.6x, -----) he:31.3s (284.7x, -----) ca: 4.3s (39.0x, -----) dr: 4.3s (38.8x, -----) ma: 1.3s (11.9x, -----)
sarp valgrind-old:0.11s no: 1.2s (11.3x, 0.0%) me: 9.1s (82.3x, 0.7%) ca: 8.0s (72.5x, 0.1%) he:31.3s (284.8x, -0.0%) ca: 4.6s (42.1x, -7.9%) dr: 4.3s (38.7x, 0.2%) ma: 1.3s (11.8x, 0.8%)
-- tinycc --
tinycc valgrind-new:0.74s no: 7.3s ( 9.9x, -----) me:37.7s (50.9x, -----) ca:46.9s (63.4x, -----) he:45.4s (61.3x, -----) ca:39.1s (52.9x, -----) dr:37.5s (50.7x, -----) ma:11.6s (15.7x, -----)
tinycc valgrind-old:0.74s no: 7.4s ( 9.9x, -0.1%) me:37.7s (51.0x, -0.1%) ca:47.0s (63.4x, -0.1%) he:44.9s (60.7x, 1.0%) ca:40.2s (54.3x, -2.7%) dr:37.5s (50.7x, 0.1%) ma:11.7s (15.8x, -0.5%)
-- Finished tests in perf ----------------------------------------------
== 11 programs, 154 timings =================
real 152m29.441s
user 151m2.371s
sys 1m22.320s
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2014-11-10 20:09:49.154007730 -0600
+++ hgtls.stdoutB.out 2014-11-10 20:23:14.841695440 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-new/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2014-11-10 20:09:49.948016328 -0600
+++ err_disable3.stderr.out 2014-11-10 20:27:27.253410802 -0600
@@ -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-11-10 20:09:50.789025435 -0600
+++ err_disable4.stderr.out 2014-11-10 20:27:31.305454439 -0600
@@ -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-11-10 20:09:50.548022825 -0600
+++ threadname.stderr.out 2014-11-10 20:34:12.541782266 -0600
@@ -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:61)
- ...
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:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- 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:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- 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:30)
- ...
-
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-11-10 20:09:50.256019663 -0600
+++ threadname_xml.stderr.out 2014-11-10 20:34:14.839807090 -0600
@@ -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/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2014-11-10 19:22:17.580706446 -0600
+++ hgtls.stdoutB.out 2014-11-10 19:35:35.807541805 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-old/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2014-11-10 19:22:18.403715550 -0600
+++ err_disable3.stderr.out 2014-11-10 19:39:48.744343641 -0600
@@ -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-11-10 19:22:19.244724853 -0600
+++ err_disable4.stderr.out 2014-11-10 19:39:52.795388523 -0600
@@ -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-11-10 19:22:19.003722187 -0600
+++ threadname.stderr.out 2014-11-10 19:46:31.665774964 -0600
@@ -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:61)
- ...
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:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- 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:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- 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:30)
- ...
-
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-11-10 19:22:18.710718946 -0600
+++ threadname_xml.stderr.out 2014-11-10 19:46:33.943799971 -0600
@@ -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>
|
|
From: Christian B. <bor...@de...> - 2014-11-11 05:14:25
|
valgrind revision: 14710 VEX revision: 2988 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.35-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-11-11 03:45:01 CET Ended at 2014-11-11 06:14:10 CET Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 662 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) --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: 5.1s (22.3x, -----) me: 6.8s (29.7x, -----) ca:25.9s (112.7x, -----) he: 5.9s (25.7x, -----) ca: 9.2s (40.1x, -----) dr: 5.2s (22.5x, -----) ma: 4.2s (18.0x, -----) bigcode1 valgrind-old:0.23s no: 4.4s (19.0x, 15.0%) me: 7.4s (32.3x, -8.5%) ca:25.9s (112.6x, 0.1%) he: 5.4s (23.4x, 8.8%) ca: 9.3s (40.3x, -0.3%) dr: 5.8s (25.1x,-11.4%) ma: 5.3s (23.0x,-27.7%) -- bigcode2 -- bigcode2 valgrind-new:0.25s no: 8.1s (32.4x, -----) me:14.1s (56.4x, -----) ca:39.4s (157.4x, -----) he:11.0s (44.0x, -----) ca:14.7s (58.9x, -----) dr: 9.6s (38.3x, -----) ma: 7.8s (31.3x, -----) bigcode2 valgrind-old:0.25s no: 7.5s (30.0x, 7.3%) me:14.6s (58.4x, -3.5%) ca:40.6s (162.4x, -3.2%) he:10.6s (42.6x, 3.4%) ca:14.6s (58.5x, 0.6%) dr:10.1s (40.5x, -5.7%) ma: 8.9s (35.7x,-14.2%) -- bz2 -- bz2 valgrind-new:0.70s no: 6.7s ( 9.6x, -----) me:13.0s (18.6x, -----) ca:30.1s (43.0x, -----) he:19.9s (28.4x, -----) ca:34.3s (49.0x, -----) dr:30.1s (43.1x, -----) ma: 4.2s ( 6.0x, -----) bz2 valgrind-old:0.70s no: 5.0s ( 7.2x, 25.0%) me:13.0s (18.6x, -0.2%) ca:30.1s (43.0x, 0.0%) he:19.9s (28.4x, 0.0%) ca:34.4s (49.1x, -0.1%) dr:30.0s (42.8x, 0.6%) ma: 4.8s ( 6.9x,-14.0%) -- fbench -- fbench valgrind-new:0.41s no: 1.6s ( 4.0x, -----) me: 4.5s (11.0x, -----) ca: 9.2s (22.5x, -----) he: 6.4s (15.7x, -----) ca: 7.3s (17.8x, -----) dr: 5.8s (14.1x, -----) ma: 1.7s ( 4.1x, -----) fbench valgrind-old:0.41s no: 1.6s ( 3.9x, 0.6%) me: 4.5s (11.1x, -0.2%) ca: 9.2s (22.3x, 0.7%) he: 6.4s (15.7x, 0.2%) ca: 7.3s (17.8x, -0.1%) dr: 5.8s (14.1x, 0.2%) ma: 1.7s ( 4.1x, -0.6%) -- ffbench -- ffbench valgrind-new:0.20s no: 1.2s ( 6.2x, -----) me: 3.5s (17.3x, -----) ca: 3.0s (15.0x, -----) he:44.4s (221.9x, -----) ca: 9.6s (47.9x, -----) dr: 7.3s (36.6x, -----) ma: 1.0s ( 4.8x, -----) ffbench valgrind-old:0.20s no: 1.1s ( 5.3x, 14.4%) me: 3.5s (17.3x, -0.0%) ca: 3.0s (15.0x, 0.3%) he:44.4s (221.9x, -0.0%) ca: 9.6s (47.8x, 0.1%) dr: 7.3s (36.7x, -0.4%) ma: 1.0s ( 4.9x, -2.1%) -- heap -- heap valgrind-new:0.23s no: 2.3s ( 9.9x, -----) me: 9.1s (39.4x, -----) ca:13.0s (56.4x, -----) he:12.9s (56.3x, -----) ca:11.2s (48.6x, -----) dr: 7.9s (34.3x, -----) ma: 7.9s (34.5x, -----) heap valgrind-old:0.23s no: 2.0s ( 8.5x, 13.7%) me: 9.3s (40.3x, -2.2%) ca:13.0s (56.4x, -0.1%) he:12.8s (55.8x, 0.8%) ca:11.2s (48.5x, 0.2%) dr: 7.9s (34.2x, 0.1%) ma: 7.8s (34.0x, 1.5%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.23s no: 2.6s (11.2x, -----) me:13.1s (57.0x, -----) ca:14.1s (61.4x, -----) he:14.2s (61.9x, -----) ca:12.6s (54.7x, -----) dr: 8.8s (38.3x, -----) ma: 8.3s (36.2x, -----) heap_pdb4 valgrind-old:0.23s no: 2.1s ( 9.1x, 18.7%) me:13.1s (56.9x, 0.3%) ca:14.2s (61.7x, -0.4%) he:14.2s (61.9x, 0.1%) ca:12.5s (54.3x, 0.8%) dr: 8.9s (38.9x, -1.4%) ma: 8.0s (34.6x, 4.4%) -- many-loss-records -- many-loss-records valgrind-new:0.02s no: 0.5s (27.0x, -----) me: 2.4s (118.0x, -----) ca: 1.9s (96.5x, -----) he: 2.4s (120.0x, -----) ca: 1.9s (96.5x, -----) dr: 1.9s (97.0x, -----) ma: 1.7s (83.5x, -----) many-loss-records valgrind-old:0.02s no: 0.5s (24.5x, 9.3%) me: 2.3s (116.5x, 1.3%) ca: 1.9s (97.0x, -0.5%) he: 2.4s (120.0x, 0.0%) ca: 1.9s (96.5x, 0.0%) dr: 1.9s (96.5x, 0.5%) ma: 1.6s (82.5x, 1.2%) -- many-xpts -- many-xpts valgrind-new:0.07s no: 0.7s ( 9.7x, -----) me: 3.4s (48.6x, -----) ca:363.6s (5194.1x, -----) he: 6.9s (98.0x, -----) ca: 2.8s (40.1x, -----) dr: 2.7s (38.6x, -----) ma: 2.6s (36.9x, -----) many-xpts valgrind-old:0.07s no: 0.7s ( 9.3x, 4.4%) me: 3.4s (48.7x, -0.3%) ca:371.9s (5312.6x, -2.3%) he: 6.9s (98.0x, 0.0%) ca: 2.8s (40.1x, 0.0%) dr: 2.7s (38.6x, 0.0%) ma: 2.6s (36.9x, 0.0%) -- sarp -- sarp valgrind-new:0.03s no: 0.6s (19.7x, -----) me: 3.7s (123.3x, -----) ca: 3.1s (104.3x, -----) he:17.5s (582.0x, -----) ca: 2.0s (68.3x, -----) dr: 1.6s (53.0x, -----) ma: 0.5s (16.3x, -----) sarp valgrind-old:0.03s no: 0.6s (20.0x, -1.7%) me: 3.7s (123.7x, -0.3%) ca: 3.2s (106.7x, -2.2%) he:17.3s (577.0x, 0.9%) ca: 2.1s (68.7x, -0.5%) dr: 1.6s (52.7x, 0.6%) ma: 0.5s (17.3x, -6.1%) -- tinycc -- tinycc valgrind-new:0.22s no: 3.1s (14.1x, -----) me:14.7s (66.7x, -----) ca:29.6s (134.5x, -----) he:28.1s (127.8x, -----) ca:21.4s (97.3x, -----) dr:21.0s (95.4x, -----) ma: 3.9s (17.9x, -----) tinycc valgrind-old:0.22s no: 2.9s (13.1x, 7.4%) me:14.7s (66.6x, 0.1%) ca:29.6s (134.4x, 0.1%) he:28.0s (127.4x, 0.3%) ca:21.3s (96.7x, 0.6%) dr:21.0s (95.3x, 0.0%) ma: 4.2s (19.0x, -6.1%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 112m8.385s user 111m19.402s sys 0m38.076s |
|
From: <ma...@bu...> - 2014-11-11 04:34:36
|
valgrind revision: 14710
VEX revision: 2988
C compiler: gcc (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1)
GDB: GNU gdb (GDB) Fedora 7.7.1-18.fc20
Assembler: GNU assembler version 2.23.2
C library: GNU C Library (GNU libc) stable release version 2.18
uname -mrs: Linux 3.11.10-301.fc20.s390x s390x
Vendor version: Fedora 20 (Heisenbug)
Nightly build on lfedora1 ( Fedora release 20 (Heisenbug), s390x )
Started at 2014-11-11 00:00:01 UTC
Ended at 2014-11-11 01:34:06 UTC
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 668 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/linux/timerfd-syscall (stderr)
helgrind/tests/locked_vs_unlocked2 (stderr)
helgrind/tests/pth_cond_destroy_busy (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
=================================================
./valgrind-new/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2014-11-11 00:48:09.618674528 +0000
+++ locked_vs_unlocked2.stderr.out 2014-11-11 01:08:03.778699936 +0000
@@ -16,13 +16,13 @@
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:58)
- Address 0x........ is 0 bytes inside data symbol "mx2a"
+ by 0x........: main (locked_vs_unlocked2.c:59)
+ Address 0x........ is 0 bytes inside data symbol "mx2b"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:59)
- Address 0x........ is 0 bytes inside data symbol "mx2b"
+ by 0x........: main (locked_vs_unlocked2.c:58)
+ Address 0x........ is 0 bytes inside data symbol "mx2a"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
=================================================
./valgrind-new/helgrind/tests/pth_cond_destroy_busy.stderr.diff
=================================================
--- pth_cond_destroy_busy.stderr.exp 2014-11-11 00:48:09.568674527 +0000
+++ pth_cond_destroy_busy.stderr.out 2014-11-11 01:08:10.828700071 +0000
@@ -47,4 +47,4 @@
First pthread_cond_destroy() call returned EBUSY.
Second pthread_cond_destroy() call returned success.
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 6 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2014-11-11 00:48:09.568674527 +0000
+++ tc22_exit_w_lock.stderr.out 2014-11-11 01:09:30.718701714 +0000
@@ -13,6 +13,23 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is not stack'd, malloc'd or on a free list
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
@@ -23,10 +40,6 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -34,4 +47,4 @@
by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff-kfail-x86
=================================================
--- tc22_exit_w_lock.stderr.exp-kfail-x86 2014-11-11 00:48:09.568674527 +0000
+++ tc22_exit_w_lock.stderr.out 2014-11-11 01:09:30.718701714 +0000
@@ -3,7 +3,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:39)
@@ -14,9 +13,25 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is not stack'd, malloc'd or on a free list
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:42)
@@ -25,14 +40,11 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
...
+ by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/linux/timerfd-syscall.stderr.diff
=================================================
--- timerfd-syscall.stderr.exp 2014-11-11 00:48:06.968674473 +0000
+++ timerfd-syscall.stderr.out 2014-11-11 00:58:06.668686840 +0000
@@ -14,7 +14,7 @@
sequential timer test (100 ms clock) ...
sleeping one second ...
timerfd_gettime returned:
- it_value = 0.1 it_interval = 0.1
+ it_value = 0.0 it_interval = 0.1
sleeping 1 second ...
waiting timer ...
got about 20 timer ticks after about 2s
=================================================
./valgrind-old/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2014-11-11 00:00:21.598609283 +0000
+++ locked_vs_unlocked2.stderr.out 2014-11-11 00:22:00.708636509 +0000
@@ -16,13 +16,13 @@
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:58)
- Address 0x........ is 0 bytes inside data symbol "mx2a"
+ by 0x........: main (locked_vs_unlocked2.c:59)
+ Address 0x........ is 0 bytes inside data symbol "mx2b"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:59)
- Address 0x........ is 0 bytes inside data symbol "mx2b"
+ by 0x........: main (locked_vs_unlocked2.c:58)
+ Address 0x........ is 0 bytes inside data symbol "mx2a"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
=================================================
./valgrind-old/helgrind/tests/pth_cond_destroy_busy.stderr.diff
=================================================
--- pth_cond_destroy_busy.stderr.exp 2014-11-11 00:00:21.598609283 +0000
+++ pth_cond_destroy_busy.stderr.out 2014-11-11 00:22:07.758636651 +0000
@@ -47,4 +47,4 @@
First pthread_cond_destroy() call returned EBUSY.
Second pthread_cond_destroy() call returned success.
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 6 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2014-11-11 00:00:21.548609282 +0000
+++ tc22_exit_w_lock.stderr.out 2014-11-11 00:23:28.268638337 +0000
@@ -13,6 +13,23 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is not stack'd, malloc'd or on a free list
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
@@ -23,10 +40,6 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -34,4 +47,4 @@
by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc22_exit_w_lock.stderr.diff-kfail-x86
=================================================
--- tc22_exit_w_lock.stderr.exp-kfail-x86 2014-11-11 00:00:21.548609282 +0000
+++ tc22_exit_w_lock.stderr.out 2014-11-11 00:23:28.268638337 +0000
@@ -3,7 +3,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:39)
@@ -14,9 +13,25 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is not stack'd, malloc'd or on a free list
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:42)
@@ -25,14 +40,11 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
...
+ by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/memcheck/tests/linux/timerfd-syscall.stderr.diff
=================================================
--- timerfd-syscall.stderr.exp 2014-11-11 00:00:16.748609179 +0000
+++ timerfd-syscall.stderr.out 2014-11-11 00:10:25.528621793 +0000
@@ -14,7 +14,7 @@
sequential timer test (100 ms clock) ...
sleeping one second ...
timerfd_gettime returned:
- it_value = 0.1 it_interval = 0.1
+ it_value = 0.0 it_interval = 0.1
sleeping 1 second ...
waiting timer ...
got about 20 timer ticks after about 2s
|
|
From: Tom H. <to...@co...> - 2014-11-11 04:27:57
|
valgrind revision: 14710 VEX revision: 2988 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.16.6-200.fc20.x86_64 x86_64 Vendor version: Fedora release 15 (Lovelock) Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2014-11-11 03:13:58 GMT Ended at 2014-11-11 04:27:45 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 696 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --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 (15.0x, -----) me: 3.4s (31.0x, -----) ca:14.4s (130.9x, -----) he: 2.0s (18.5x, -----) ca: 3.9s (35.0x, -----) dr: 2.0s (17.9x, -----) ma: 1.9s (17.6x, -----) bigcode1 valgrind-old:0.11s no: 1.7s (15.1x, -0.6%) me: 3.3s (30.3x, 2.3%) ca:14.4s (131.0x, -0.1%) he: 2.1s (18.7x, -1.0%) ca: 3.8s (34.8x, 0.5%) dr: 2.0s (17.9x, 0.0%) ma: 1.9s (17.7x, -0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.3x, -----) me: 8.6s (77.7x, -----) ca:26.4s (239.5x, -----) he: 5.0s (45.4x, -----) ca: 7.3s (66.7x, -----) dr: 4.7s (42.6x, -----) ma: 4.5s (41.3x, -----) bigcode2 valgrind-old:0.11s no: 3.9s (35.8x, 1.3%) me: 8.5s (77.5x, 0.4%) ca:26.0s (236.6x, 1.2%) he: 5.0s (45.5x, -0.4%) ca: 7.3s (66.1x, 1.0%) dr: 4.7s (42.7x, -0.2%) ma: 4.6s (41.5x, -0.4%) -- bz2 -- bz2 valgrind-new:0.52s no: 1.6s ( 3.1x, -----) me: 5.7s (11.0x, -----) ca:13.3s (25.5x, -----) he: 8.4s (16.2x, -----) ca:10.9s (20.9x, -----) dr:10.4s (20.0x, -----) ma: 1.6s ( 3.1x, -----) bz2 valgrind-old:0.52s no: 1.6s ( 3.1x, -0.6%) me: 5.7s (11.0x, -0.3%) ca:13.2s (25.5x, 0.2%) he: 8.4s (16.2x, 0.4%) ca:10.9s (20.9x, 0.0%) dr:10.4s (20.0x, 0.1%) ma: 1.6s ( 3.1x, 0.6%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.5x, -----) me: 3.7s (17.0x, -----) ca: 5.5s (25.1x, -----) he: 2.8s (12.5x, -----) ca: 3.1s (14.2x, -----) dr: 2.6s (12.0x, -----) ma: 1.0s ( 4.7x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, -1.0%) me: 3.7s (17.0x, 0.3%) ca: 5.5s (25.2x, -0.4%) he: 2.8s (12.5x, -0.4%) ca: 3.1s (14.1x, 0.6%) dr: 2.6s (12.0x, -0.8%) ma: 1.0s ( 4.7x, 0.0%) -- ffbench -- ffbench valgrind-new:0.20s no: 0.9s ( 4.7x, -----) me: 2.9s (14.3x, -----) ca: 1.9s ( 9.3x, -----) he: 5.7s (28.5x, -----) ca: 4.2s (21.0x, -----) dr: 3.4s (16.9x, -----) ma: 0.9s ( 4.3x, -----) ffbench valgrind-old:0.20s no: 0.9s ( 4.5x, 3.2%) me: 2.9s (14.3x, -0.3%) ca: 1.9s ( 9.3x, -0.5%) he: 5.5s (27.7x, 2.8%) ca: 4.2s (20.8x, 1.4%) dr: 3.4s (16.8x, 0.9%) ma: 0.9s ( 4.4x, -1.1%) -- heap -- heap valgrind-new:0.07s no: 0.6s ( 8.4x, -----) me: 5.1s (72.7x, -----) ca: 6.3s (90.0x, -----) he: 6.8s (97.4x, -----) ca: 3.2s (46.4x, -----) dr: 4.6s (65.9x, -----) ma: 4.8s (69.0x, -----) heap valgrind-old:0.07s no: 0.6s ( 8.7x, -3.4%) me: 5.2s (74.3x, -2.2%) ca: 6.3s (90.3x, -0.3%) he: 6.9s (98.0x, -0.6%) ca: 3.2s (45.1x, 2.8%) dr: 4.7s (66.4x, -0.9%) ma: 4.9s (69.7x, -1.0%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 5.9x, -----) me: 8.6s (78.0x, -----) ca: 6.9s (62.9x, -----) he: 7.6s (69.0x, -----) ca: 3.5s (32.1x, -----) dr: 5.1s (46.1x, -----) ma: 5.1s (46.4x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 5.9x, 0.0%) me: 8.7s (79.0x, -1.3%) ca: 7.0s (63.6x, -1.2%) he: 7.6s (69.3x, -0.4%) ca: 3.5s (32.1x, 0.0%) dr: 5.0s (45.6x, 1.0%) ma: 5.1s (46.0x, 0.8%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (142.0x, -----) ca: 1.1s (108.0x, -----) he: 1.2s (120.0x, -----) ca: 0.7s (71.0x, -----) dr: 1.1s (112.0x, -----) ma: 1.0s (104.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.4s (142.0x, 0.0%) ca: 1.0s (104.0x, 3.7%) he: 1.2s (121.0x, -0.8%) ca: 0.7s (69.0x, 2.8%) dr: 1.1s (111.0x, 0.9%) ma: 1.0s (97.0x, 6.7%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 2.0s (66.7x, -----) ca: 2.7s (89.3x, -----) he: 2.2s (72.3x, -----) ca: 1.0s (32.7x, -----) dr: 1.6s (52.7x, -----) ma: 1.5s (50.3x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.7x, -3.2%) me: 2.0s (66.7x, 0.0%) ca: 2.8s (92.3x, -3.4%) he: 2.3s (75.3x, -4.1%) ca: 1.0s (33.0x, -1.0%) dr: 1.5s (50.7x, 3.8%) ma: 1.5s (50.0x, 0.7%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.3s (116.0x, -----) ca: 1.9s (93.0x, -----) he: 6.4s (321.5x, -----) ca: 0.9s (47.0x, -----) dr: 1.0s (51.5x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 0.0%) me: 2.3s (116.5x, -0.4%) ca: 1.9s (94.0x, -1.1%) he: 6.8s (340.0x, -5.8%) ca: 0.9s (47.5x, -1.1%) dr: 1.0s (50.5x, 1.9%) ma: 0.3s (15.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 9.1x, -----) me: 9.7s (60.6x, -----) ca:11.2s (70.1x, -----) he: 9.7s (60.6x, -----) ca: 8.1s (50.7x, -----) dr: 8.2s (51.4x, -----) ma: 2.5s (15.7x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 9.1x, 0.0%) me: 9.3s (57.9x, 4.3%) ca:11.3s (70.8x, -1.1%) he: 9.7s (60.6x, 0.0%) ca: 8.2s (51.4x, -1.4%) dr: 8.2s (51.1x, 0.6%) ma: 2.5s (15.3x, 2.4%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m41.984s user 33m47.086s sys 0m21.106s |
|
From: Tom H. <to...@co...> - 2014-11-11 04:18:46
|
valgrind revision: 14710 VEX revision: 2988 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.16.6-200.fc20.x86_64 x86_64 Vendor version: Fedora release 16 (Verne) Nightly build on bristol ( x86_64, Fedora 16 ) Started at 2014-11-11 03:01:49 GMT Ended at 2014-11-11 04:18:29 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 696 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --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.7s (15.3x, -----) me: 3.4s (30.5x, -----) ca:14.5s (131.8x, -----) he: 2.1s (18.9x, -----) ca: 3.9s (35.3x, -----) dr: 2.0s (18.5x, -----) ma: 2.0s (17.9x, -----) bigcode1 valgrind-old:0.11s no: 1.7s (15.3x, -0.0%) me: 3.5s (31.9x, -4.5%) ca:14.7s (133.8x, -1.5%) he: 2.1s (19.2x, -1.4%) ca: 3.9s (35.4x, -0.3%) dr: 2.1s (18.7x, -1.0%) ma: 2.0s (17.9x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.2x, -----) me: 8.5s (77.6x, -----) ca:27.0s (245.8x, -----) he: 5.0s (45.5x, -----) ca: 7.3s (66.3x, -----) dr: 4.8s (43.5x, -----) ma: 4.6s (41.8x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.4x, -0.5%) me: 8.6s (78.5x, -1.1%) ca:26.5s (240.6x, 2.1%) he: 5.0s (45.9x, -0.8%) ca: 7.3s (66.5x, -0.4%) dr: 4.7s (42.7x, 1.7%) ma: 4.6s (41.7x, 0.2%) -- bz2 -- bz2 valgrind-new:0.52s no: 1.6s ( 3.1x, -----) me: 5.9s (11.4x, -----) ca:13.4s (25.7x, -----) he: 8.3s (16.1x, -----) ca:11.0s (21.1x, -----) dr:10.6s (20.4x, -----) ma: 1.6s ( 3.1x, -----) bz2 valgrind-old:0.52s no: 1.6s ( 3.1x, -0.0%) me: 5.9s (11.3x, 0.2%) ca:13.3s (25.5x, 0.7%) he: 8.5s (16.3x, -1.8%) ca:11.0s (21.2x, -0.3%) dr:10.6s (20.3x, 0.1%) ma: 1.6s ( 3.1x, -0.6%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.8s (17.1x, -----) ca: 5.6s (25.5x, -----) he: 3.0s (13.5x, -----) ca: 3.2s (14.6x, -----) dr: 2.7s (12.2x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 0.0%) me: 3.8s (17.1x, 0.3%) ca: 5.7s (26.0x, -2.0%) he: 2.9s (13.2x, 2.7%) ca: 3.2s (14.6x, 0.0%) dr: 2.7s (12.2x, 0.0%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.21s no: 0.9s ( 4.5x, -----) me: 2.9s (13.9x, -----) ca: 1.9s ( 8.9x, -----) he: 6.8s (32.2x, -----) ca: 4.3s (20.3x, -----) dr: 3.4s (16.3x, -----) ma: 0.9s ( 4.2x, -----) ffbench valgrind-old:0.21s no: 0.9s ( 4.5x, 0.0%) me: 3.0s (14.0x, -1.0%) ca: 1.9s ( 9.1x, -2.1%) he: 5.7s (26.9x, 16.5%) ca: 4.2s (20.0x, 1.9%) dr: 3.4s (16.3x, 0.0%) ma: 0.9s ( 4.2x, 0.0%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.9x, -----) me: 5.1s (64.1x, -----) ca: 6.7s (84.0x, -----) he: 6.7s (83.5x, -----) ca: 3.3s (41.5x, -----) dr: 4.5s (56.0x, -----) ma: 4.9s (60.8x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.8x, 1.6%) me: 5.2s (64.8x, -1.0%) ca: 6.8s (84.9x, -1.0%) he: 6.7s (83.6x, -0.1%) ca: 3.4s (41.9x, -0.9%) dr: 4.5s (56.5x, -0.9%) ma: 4.9s (61.7x, -1.6%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.3x, -----) me: 8.6s (78.1x, -----) ca: 7.2s (65.8x, -----) he: 8.1s (73.2x, -----) ca: 3.6s (32.8x, -----) dr: 5.1s (46.5x, -----) ma: 5.0s (45.8x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.3x, -0.0%) me: 8.6s (78.3x, -0.2%) ca: 7.3s (66.3x, -0.7%) he: 7.9s (71.6x, 2.1%) ca: 3.6s (32.8x, 0.0%) dr: 5.1s (46.5x, 0.0%) ma: 5.1s (46.3x, -1.0%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (143.0x, -----) ca: 1.1s (109.0x, -----) he: 1.2s (122.0x, -----) ca: 0.7s (68.0x, -----) dr: 1.1s (112.0x, -----) ma: 1.0s (101.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (27.0x, -3.8%) me: 1.4s (145.0x, -1.4%) ca: 1.1s (110.0x, -0.9%) he: 1.2s (122.0x, 0.0%) ca: 0.7s (68.0x, 0.0%) dr: 1.1s (112.0x, 0.0%) ma: 1.0s (100.0x, 1.0%) -- many-xpts -- many-xpts valgrind-new:0.04s no: 0.3s ( 8.2x, -----) me: 1.9s (48.8x, -----) ca: 2.7s (68.5x, -----) he: 2.2s (55.8x, -----) ca: 1.0s (24.5x, -----) dr: 1.6s (38.8x, -----) ma: 1.4s (36.2x, -----) many-xpts valgrind-old:0.04s no: 0.3s ( 8.5x, -3.0%) me: 2.0s (49.5x, -1.5%) ca: 2.9s (71.2x, -4.0%) he: 2.2s (54.5x, 2.2%) ca: 1.0s (24.5x, 0.0%) dr: 1.5s (38.5x, 0.6%) ma: 1.5s (36.8x, -1.4%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.3s (116.5x, -----) ca: 1.8s (89.0x, -----) he: 6.6s (332.0x, -----) ca: 1.1s (53.5x, -----) dr: 1.0s (51.0x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.5x, -3.6%) me: 2.4s (117.5x, -0.9%) ca: 1.8s (89.0x, 0.0%) he: 7.1s (354.0x, -6.6%) ca: 1.1s (53.5x, 0.0%) dr: 1.0s (51.5x, -1.0%) ma: 0.3s (15.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.8x, -----) me: 9.0s (56.2x, -----) ca:10.9s (68.3x, -----) he: 9.4s (58.7x, -----) ca: 8.0s (49.9x, -----) dr: 8.4s (52.6x, -----) ma: 2.5s (15.4x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.9x, -1.4%) me: 9.0s (56.2x, 0.1%) ca:11.0s (68.9x, -0.9%) he: 9.4s (59.1x, -0.6%) ca: 8.0s (50.2x, -0.6%) dr: 8.0s (49.7x, 5.6%) ma: 2.5s (15.5x, -0.8%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 35m19.018s user 34m20.816s sys 0m22.761s |
|
From: Tom H. <to...@co...> - 2014-11-11 04:08:30
|
valgrind revision: 14710 VEX revision: 2988 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.16.6-200.fc20.x86_64 x86_64 Vendor version: Fedora 17 (Beefy Miracle) Nightly build on bristol ( x86_64, Fedora 17 (Beefy Miracle) ) Started at 2014-11-11 02:51:05 GMT Ended at 2014-11-11 04:08:16 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 696 tests, 4 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcmain_pic (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (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.7s (15.2x, -----) me: 3.6s (33.2x, -----) ca:14.2s (129.2x, -----) he: 2.1s (19.4x, -----) ca: 3.8s (34.4x, -----) dr: 2.1s (18.7x, -----) ma: 2.0s (17.8x, -----) bigcode1 valgrind-old:0.11s no: 1.7s (15.2x, 0.0%) me: 3.6s (32.6x, 1.6%) ca:13.7s (124.8x, 3.4%) he: 2.1s (19.2x, 0.9%) ca: 3.8s (34.6x, -0.8%) dr: 2.0s (18.6x, 0.5%) ma: 2.0s (18.1x, -1.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.8x, -----) me: 9.1s (82.8x, -----) ca:26.8s (243.7x, -----) he: 5.0s (45.6x, -----) ca: 7.3s (66.3x, -----) dr: 4.8s (43.4x, -----) ma: 4.6s (41.5x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.5x, 1.0%) me: 8.6s (78.5x, 5.3%) ca:25.5s (232.2x, 4.7%) he: 5.1s (46.3x, -1.4%) ca: 7.3s (66.1x, 0.3%) dr: 4.7s (42.7x, 1.5%) ma: 4.6s (42.0x, -1.3%) -- bz2 -- bz2 valgrind-new:0.52s no: 1.6s ( 3.2x, -----) me: 5.8s (11.1x, -----) ca:12.3s (23.6x, -----) he: 8.5s (16.4x, -----) ca:10.4s (19.9x, -----) dr:11.1s (21.3x, -----) ma: 1.6s ( 3.2x, -----) bz2 valgrind-old:0.52s no: 1.6s ( 3.1x, 1.2%) me: 5.7s (11.0x, 0.9%) ca:12.5s (24.0x, -1.5%) he: 8.5s (16.3x, 0.4%) ca:10.4s (20.0x, -0.1%) dr:11.1s (21.3x, 0.4%) ma: 1.6s ( 3.2x, 0.6%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.6s (16.2x, -----) ca: 5.5s (25.0x, -----) he: 2.8s (12.8x, -----) ca: 3.0s (13.4x, -----) dr: 2.6s (11.7x, -----) ma: 1.1s ( 4.9x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 0.0%) me: 3.6s (16.3x, -0.3%) ca: 5.5s (25.0x, 0.2%) he: 2.8s (12.7x, 0.7%) ca: 3.0s (13.5x, -1.0%) dr: 2.5s (11.6x, 1.2%) ma: 1.1s ( 4.9x, 0.0%) -- ffbench -- ffbench valgrind-new:0.23s no: 0.9s ( 4.1x, -----) me: 3.0s (13.1x, -----) ca: 1.8s ( 8.0x, -----) he: 7.4s (32.2x, -----) ca: 4.0s (17.5x, -----) dr: 3.4s (15.0x, -----) ma: 0.9s ( 3.9x, -----) ffbench valgrind-old:0.23s no: 0.9s ( 4.1x, 1.1%) me: 3.0s (12.9x, 1.7%) ca: 1.8s ( 8.0x, -0.0%) he: 6.0s (25.9x, 19.6%) ca: 4.0s (17.4x, 0.5%) dr: 3.4s (14.8x, 1.2%) ma: 0.9s ( 3.9x, 0.0%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.5x, -----) me: 5.2s (65.0x, -----) ca: 6.0s (75.5x, -----) he: 7.1s (88.4x, -----) ca: 3.0s (37.6x, -----) dr: 4.3s (54.4x, -----) ma: 4.7s (58.8x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.4x, 1.7%) me: 5.1s (64.2x, 1.2%) ca: 6.1s (75.9x, -0.5%) he: 7.2s (89.4x, -1.1%) ca: 3.1s (38.2x, -1.7%) dr: 4.3s (54.4x, 0.0%) ma: 4.7s (58.6x, 0.2%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.7x, -----) me: 8.8s (88.3x, -----) ca: 6.6s (66.3x, -----) he: 7.9s (78.6x, -----) ca: 3.4s (33.6x, -----) dr: 4.9s (49.0x, -----) ma: 5.0s (50.2x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.7x, 0.0%) me: 8.8s (88.5x, -0.2%) ca: 6.7s (66.6x, -0.5%) he: 7.8s (78.3x, 0.4%) ca: 3.4s (33.5x, 0.3%) dr: 4.9s (48.8x, 0.4%) ma: 4.8s (48.3x, 3.8%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (142.0x, -----) ca: 1.0s (99.0x, -----) he: 1.3s (126.0x, -----) ca: 0.6s (64.0x, -----) dr: 1.1s (113.0x, -----) ma: 1.0s (104.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (25.0x, 3.8%) me: 1.4s (144.0x, -1.4%) ca: 1.0s (101.0x, -2.0%) he: 1.3s (128.0x, -1.6%) ca: 0.7s (65.0x, -1.6%) dr: 1.1s (113.0x, 0.0%) ma: 1.0s (101.0x, 2.9%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 1.9s (63.7x, -----) ca: 2.6s (86.7x, -----) he: 2.4s (81.0x, -----) ca: 0.9s (31.0x, -----) dr: 1.6s (51.7x, -----) ma: 1.5s (51.3x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, 0.0%) me: 1.9s (64.0x, -0.5%) ca: 2.6s (87.3x, -0.8%) he: 2.4s (80.0x, 1.2%) ca: 0.9s (30.3x, 2.2%) dr: 1.5s (50.3x, 2.6%) ma: 1.5s (50.7x, 1.3%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.5s (122.5x, -----) ca: 1.8s (87.5x, -----) he: 7.5s (372.5x, -----) ca: 0.9s (43.5x, -----) dr: 1.0s (50.0x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 0.0%) me: 2.4s (122.0x, 0.4%) ca: 1.8s (88.0x, -0.6%) he: 7.5s (373.5x, -0.3%) ca: 0.9s (43.0x, 1.1%) dr: 1.0s (50.0x, 0.0%) ma: 0.3s (15.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.3s ( 8.4x, -----) me: 8.4s (52.7x, -----) ca:10.6s (66.3x, -----) he: 9.7s (60.9x, -----) ca: 7.5s (47.2x, -----) dr: 7.5s (47.1x, -----) ma: 2.4s (15.1x, -----) tinycc valgrind-old:0.16s no: 1.3s ( 8.4x, 0.0%) me: 8.4s (52.7x, 0.0%) ca:10.7s (66.6x, -0.5%) he: 9.8s (60.9x, -0.1%) ca: 7.6s (47.2x, -0.1%) dr: 7.5s (47.2x, -0.1%) ma: 2.4s (15.2x, -1.2%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m57.209s user 33m53.338s sys 0m22.777s |
|
From: Tom H. <to...@co...> - 2014-11-11 03:59:11
|
valgrind revision: 14710 VEX revision: 2988 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.16.6-200.fc20.x86_64 x86_64 Vendor version: Fedora 18 (Spherical Cow) Nightly build on bristol ( x86_64, Fedora 18 (Spherical Cow) ) Started at 2014-11-11 02:41:11 GMT Ended at 2014-11-11 03:58:56 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 696 tests, 1 stderr failure, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (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.7s (15.5x, -----) me: 3.6s (32.7x, -----) ca:13.6s (123.8x, -----) he: 2.4s (22.1x, -----) ca: 4.2s (38.1x, -----) dr: 2.1s (19.1x, -----) ma: 2.0s (18.1x, -----) bigcode1 valgrind-old:0.11s no: 1.7s (15.3x, 1.2%) me: 3.5s (31.8x, 2.8%) ca:14.8s (134.9x, -9.0%) he: 2.2s (19.8x, 10.3%) ca: 3.9s (35.3x, 7.4%) dr: 2.0s (18.6x, 2.4%) ma: 2.0s (18.5x, -2.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.8x, -----) me: 8.7s (79.0x, -----) ca:28.0s (254.3x, -----) he: 5.1s (46.3x, -----) ca: 7.2s (65.4x, -----) dr: 5.0s (45.1x, -----) ma: 4.6s (41.8x, -----) bigcode2 valgrind-old:0.11s no: 4.3s (39.5x, -7.4%) me: 8.8s (80.1x, -1.4%) ca:29.8s (271.2x, -6.6%) he: 5.0s (45.9x, 0.8%) ca: 7.4s (67.5x, -3.2%) dr: 4.8s (43.7x, 3.0%) ma: 4.7s (42.9x, -2.6%) -- bz2 -- bz2 valgrind-new:0.52s no: 1.6s ( 3.1x, -----) me: 5.7s (11.0x, -----) ca:12.8s (24.5x, -----) he: 8.8s (16.9x, -----) ca:10.6s (20.3x, -----) dr:12.1s (23.3x, -----) ma: 1.7s ( 3.3x, -----) bz2 valgrind-old:0.52s no: 1.6s ( 3.2x, -0.6%) me: 5.8s (11.2x, -1.4%) ca:14.0s (26.9x, -9.6%) he: 9.1s (17.5x, -3.4%) ca:10.4s (20.1x, 1.3%) dr:11.3s (21.8x, 6.5%) ma: 1.6s ( 3.1x, 5.8%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.7x, -----) me: 3.6s (16.6x, -----) ca: 5.5s (24.8x, -----) he: 2.9s (13.0x, -----) ca: 3.0s (13.9x, -----) dr: 2.5s (11.5x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.7x, 0.0%) me: 3.6s (16.6x, 0.0%) ca: 5.5s (25.0x, -0.5%) he: 2.8s (12.9x, 0.4%) ca: 3.1s (14.0x, -1.3%) dr: 2.5s (11.4x, 0.8%) ma: 1.1s ( 4.9x, -0.9%) -- ffbench -- ffbench valgrind-new:0.24s no: 1.0s ( 4.0x, -----) me: 3.0s (12.6x, -----) ca: 1.9s ( 7.9x, -----) he: 7.7s (32.2x, -----) ca: 4.1s (17.0x, -----) dr: 3.5s (14.7x, -----) ma: 0.9s ( 3.8x, -----) ffbench valgrind-old:0.24s no: 0.9s ( 4.0x, 2.1%) me: 3.0s (12.4x, 1.3%) ca: 1.9s ( 7.9x, 0.0%) he: 6.3s (26.4x, 18.0%) ca: 4.2s (17.4x, -2.2%) dr: 3.5s (14.6x, 0.6%) ma: 0.9s ( 3.8x, -1.1%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.5x, -----) me: 5.3s (66.6x, -----) ca: 6.2s (77.8x, -----) he: 7.1s (88.2x, -----) ca: 3.1s (38.9x, -----) dr: 4.6s (57.0x, -----) ma: 4.7s (58.6x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.5x, 0.0%) me: 5.3s (66.4x, 0.4%) ca: 6.2s (77.8x, 0.0%) he: 7.1s (88.6x, -0.4%) ca: 3.0s (37.9x, 2.6%) dr: 4.6s (57.1x, -0.2%) ma: 4.7s (58.1x, 0.9%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.7x, -----) me: 8.9s (88.8x, -----) ca: 6.7s (66.5x, -----) he: 8.0s (79.6x, -----) ca: 3.4s (34.3x, -----) dr: 5.0s (50.5x, -----) ma: 5.1s (51.0x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.7x, 0.0%) me: 8.9s (89.3x, -0.6%) ca: 6.7s (66.9x, -0.6%) he: 7.9s (79.1x, 0.6%) ca: 3.4s (33.9x, 1.2%) dr: 5.0s (50.1x, 0.8%) ma: 5.0s (49.8x, 2.4%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.2s (25.0x, -----) me: 1.5s (149.0x, -----) ca: 1.0s (102.0x, -----) he: 1.3s (130.0x, -----) ca: 0.7s (65.0x, -----) dr: 1.1s (115.0x, -----) ma: 1.1s (105.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, -4.0%) me: 1.5s (149.0x, 0.0%) ca: 1.0s (102.0x, 0.0%) he: 1.3s (131.0x, -0.8%) ca: 0.7s (66.0x, -1.5%) dr: 1.2s (116.0x, -0.9%) ma: 1.1s (105.0x, 0.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 1.9s (64.3x, -----) ca: 2.6s (88.3x, -----) he: 2.4s (81.3x, -----) ca: 0.9s (30.7x, -----) dr: 1.5s (51.0x, -----) ma: 1.6s (52.3x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, 3.1%) me: 1.9s (64.3x, 0.0%) ca: 2.7s (88.7x, -0.4%) he: 2.4s (80.7x, 0.8%) ca: 0.9s (31.0x, -1.1%) dr: 1.5s (51.0x, 0.0%) ma: 1.6s (52.3x, 0.0%) -- sarp -- sarp valgrind-new:0.01s no: 0.3s (28.0x, -----) me: 2.3s (228.0x, -----) ca: 1.7s (174.0x, -----) he: 7.0s (704.0x, -----) ca: 0.9s (91.0x, -----) dr: 1.0s (100.0x, -----) ma: 0.3s (30.0x, -----) sarp valgrind-old:0.01s no: 0.3s (28.0x, 0.0%) me: 2.3s (230.0x, -0.9%) ca: 1.8s (176.0x, -1.1%) he: 7.1s (709.0x, -0.7%) ca: 0.9s (90.0x, 1.1%) dr: 1.0s (101.0x, -1.0%) ma: 0.3s (30.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.5x, -----) me: 8.6s (53.6x, -----) ca:10.7s (66.6x, -----) he:10.1s (63.2x, -----) ca: 7.5s (46.9x, -----) dr: 7.7s (48.2x, -----) ma: 2.4s (14.7x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.4x, 0.7%) me: 8.5s (53.2x, 0.7%) ca:10.7s (66.9x, -0.4%) he: 9.8s (61.2x, 3.2%) ca: 7.5s (47.1x, -0.3%) dr: 7.7s (47.9x, 0.8%) ma: 2.4s (15.0x, -2.1%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 36m10.619s user 35m9.249s sys 0m23.299s |
|
From: Tom H. <to...@co...> - 2014-11-11 03:49:02
|
valgrind revision: 14710 VEX revision: 2988 C compiler: gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7) 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.16.6-200.fc20.x86_64 x86_64 Vendor version: Fedora 19 (Schrödingerâs Cat) Nightly build on bristol ( x86_64, Fedora 19 (Schrödingerâs Cat) ) Started at 2014-11-11 02:31:32 GMT Ended at 2014-11-11 03:48:48 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 696 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --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.10s no: 1.6s (16.3x, -----) me: 3.5s (34.5x, -----) ca:13.4s (134.5x, -----) he: 2.1s (20.9x, -----) ca: 3.8s (37.8x, -----) dr: 2.0s (20.5x, -----) ma: 1.9s (19.4x, -----) bigcode1 valgrind-old:0.10s no: 1.6s (16.4x, -0.6%) me: 3.5s (34.7x, -0.6%) ca:13.6s (135.8x, -1.0%) he: 2.1s (21.0x, -0.5%) ca: 4.2s (41.5x, -9.8%) dr: 2.1s (20.9x, -2.0%) ma: 2.0s (19.7x, -1.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.3x, -----) me: 9.3s (84.4x, -----) ca:26.9s (244.3x, -----) he: 5.2s (47.0x, -----) ca: 7.1s (64.3x, -----) dr: 4.8s (43.7x, -----) ma: 4.7s (42.9x, -----) bigcode2 valgrind-old:0.11s no: 3.9s (35.4x, 2.5%) me: 8.6s (78.0x, 7.5%) ca:27.9s (253.5x, -3.8%) he: 5.0s (45.1x, 4.1%) ca: 7.5s (68.3x, -6.2%) dr: 4.7s (42.7x, 2.3%) ma: 4.5s (41.2x, 4.0%) -- bz2 -- bz2 valgrind-new:0.51s no: 1.6s ( 3.2x, -----) me: 6.1s (11.9x, -----) ca:13.1s (25.6x, -----) he: 9.3s (18.2x, -----) ca:10.8s (21.1x, -----) dr:11.0s (21.6x, -----) ma: 1.6s ( 3.1x, -----) bz2 valgrind-old:0.51s no: 1.6s ( 3.1x, 3.0%) me: 6.1s (12.0x, -0.8%) ca:12.5s (24.5x, 4.2%) he: 9.2s (18.1x, 0.5%) ca:13.0s (25.4x,-20.4%) dr:10.8s (21.1x, 2.4%) ma: 1.6s ( 3.1x, -1.3%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.7x, -----) me: 3.6s (16.5x, -----) ca: 6.0s (27.1x, -----) he: 2.7s (12.3x, -----) ca: 3.1s (14.0x, -----) dr: 2.6s (11.9x, -----) ma: 1.1s ( 5.2x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.7x, -1.0%) me: 3.6s (16.5x, -0.6%) ca: 5.6s (25.3x, 6.5%) he: 2.9s (13.2x, -7.0%) ca: 3.4s (15.2x, -8.4%) dr: 2.6s (11.9x, 0.0%) ma: 1.1s ( 5.1x, 1.8%) -- ffbench -- ffbench valgrind-new:0.25s no: 1.0s ( 3.9x, -----) me: 3.1s (12.5x, -----) ca: 2.0s ( 7.8x, -----) he: 7.3s (29.0x, -----) ca: 4.7s (18.8x, -----) dr: 3.4s (13.6x, -----) ma: 1.0s ( 3.9x, -----) ffbench valgrind-old:0.25s no: 1.0s ( 3.9x, 0.0%) me: 3.1s (12.6x, -0.6%) ca: 1.9s ( 7.8x, 1.0%) he: 7.0s (27.9x, 4.0%) ca: 5.1s (20.6x, -9.4%) dr: 3.4s (13.8x, -1.2%) ma: 0.9s ( 3.7x, 6.1%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.6x, -----) me: 5.2s (65.1x, -----) ca: 6.1s (76.2x, -----) he: 6.8s (85.1x, -----) ca: 3.3s (40.8x, -----) dr: 4.3s (54.0x, -----) ma: 4.8s (59.8x, -----) heap valgrind-old:0.08s no: 0.7s ( 8.6x,-13.1%) me: 5.3s (66.0x, -1.3%) ca: 6.1s (76.5x, -0.3%) he: 7.3s (90.9x, -6.8%) ca: 3.7s (46.0x,-12.9%) dr: 4.3s (53.2x, 1.4%) ma: 5.0s (62.3x, -4.2%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.2x, -----) me: 8.9s (81.2x, -----) ca: 7.0s (64.0x, -----) he: 8.0s (73.0x, -----) ca: 3.5s (32.2x, -----) dr: 5.1s (46.7x, -----) ma: 5.1s (46.1x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.2x, 0.0%) me: 8.8s (80.4x, 1.0%) ca: 6.7s (61.2x, 4.4%) he: 7.9s (71.6x, 1.9%) ca: 4.0s (36.0x,-11.9%) dr: 5.1s (46.0x, 1.6%) ma: 5.0s (45.9x, 0.4%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.5s (148.0x, -----) ca: 1.0s (100.0x, -----) he: 1.3s (129.0x, -----) ca: 0.7s (67.0x, -----) dr: 1.2s (120.0x, -----) ma: 1.0s (104.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.4s (145.0x, 2.0%) ca: 1.0s (100.0x, 0.0%) he: 1.3s (129.0x, 0.0%) ca: 0.7s (71.0x, -6.0%) dr: 1.2s (120.0x, 0.0%) ma: 1.1s (105.0x, -1.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 1.7s (55.3x, -----) ca: 2.6s (87.3x, -----) he: 2.3s (76.7x, -----) ca: 1.0s (32.3x, -----) dr: 1.5s (51.3x, -----) ma: 1.6s (52.7x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, 3.1%) me: 1.7s (55.7x, -0.6%) ca: 2.6s (87.7x, -0.4%) he: 2.3s (76.3x, 0.4%) ca: 1.0s (33.7x, -4.1%) dr: 1.5s (51.3x, 0.0%) ma: 1.6s (51.7x, 1.9%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 2.3s (116.0x, -----) ca: 1.7s (85.5x, -----) he: 6.5s (322.5x, -----) ca: 0.9s (46.0x, -----) dr: 1.1s (55.0x, -----) ma: 0.3s (15.5x, -----) sarp valgrind-old:0.02s no: 0.3s (14.5x, 0.0%) me: 2.3s (116.0x, 0.0%) ca: 1.7s (84.5x, 1.2%) he: 6.7s (334.0x, -3.6%) ca: 1.0s (50.5x, -9.8%) dr: 1.1s (55.5x, -0.9%) ma: 0.3s (15.5x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.8x, -----) me: 7.9s (49.1x, -----) ca:10.8s (67.7x, -----) he:10.4s (64.9x, -----) ca: 7.7s (48.4x, -----) dr: 8.1s (50.3x, -----) ma: 2.4s (15.0x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.5x, 2.9%) me: 7.9s (49.2x, -0.1%) ca:10.8s (67.4x, 0.5%) he:10.3s (64.2x, 1.2%) ca: 8.1s (50.7x, -4.9%) dr: 8.8s (55.2x, -9.7%) ma: 2.4s (15.0x, 0.0%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 36m37.317s user 35m19.326s sys 0m24.893s |
|
From: Tom H. <to...@co...> - 2014-11-11 03:38:40
|
valgrind revision: 14710 VEX revision: 2988 C compiler: gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7) GDB: GNU gdb (GDB) Fedora 7.7.1-21.fc20 Assembler: GNU assembler version 2.23.2 C library: GNU C Library (GNU libc) stable release version 2.18 uname -mrs: Linux 3.16.6-200.fc20.x86_64 x86_64 Vendor version: Fedora 20 (Heisenbug) Nightly build on bristol ( x86_64, Fedora 20 ) Started at 2014-11-11 02:21:43 GMT Ended at 2014-11-11 03:38:18 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 696 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --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.4s (30.5x, -----) ca:13.3s (120.6x, -----) he: 2.1s (19.1x, -----) ca: 3.8s (34.3x, -----) dr: 2.0s (18.6x, -----) ma: 1.9s (17.6x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (14.8x, 0.6%) me: 3.4s (30.6x, -0.6%) ca:13.4s (121.5x, -0.8%) he: 2.1s (18.9x, 1.0%) ca: 4.1s (36.9x, -7.7%) dr: 2.0s (18.5x, 0.5%) ma: 1.9s (17.7x, -0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.5x, -----) me: 8.6s (78.2x, -----) ca:26.4s (240.4x, -----) he: 5.0s (45.6x, -----) ca: 7.0s (63.8x, -----) dr: 4.7s (42.9x, -----) ma: 4.5s (40.9x, -----) bigcode2 valgrind-old:0.11s no: 3.9s (35.3x, 0.8%) me: 8.6s (77.8x, 0.5%) ca:26.3s (238.8x, 0.6%) he: 5.0s (45.1x, 1.2%) ca: 7.4s (67.3x, -5.4%) dr: 4.7s (42.9x, 0.0%) ma: 4.5s (41.0x, -0.2%) -- bz2 -- bz2 valgrind-new:0.49s no: 1.6s ( 3.2x, -----) me: 5.8s (11.8x, -----) ca:12.3s (25.2x, -----) he: 8.7s (17.8x, -----) ca:10.6s (21.7x, -----) dr:10.2s (20.9x, -----) ma: 1.6s ( 3.2x, -----) bz2 valgrind-old:0.49s no: 1.6s ( 3.2x, -0.0%) me: 5.8s (11.9x, -0.9%) ca:12.4s (25.4x, -0.8%) he: 8.7s (17.7x, 0.8%) ca:12.2s (24.9x,-14.9%) dr:10.6s (21.7x, -3.5%) ma: 1.6s ( 3.2x, 0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.5s (15.9x, -----) ca: 5.6s (25.3x, -----) he: 3.2s (14.7x, -----) ca: 3.1s (14.0x, -----) dr: 2.6s (11.9x, -----) ma: 1.1s ( 4.9x, -----) fbench valgrind-old:0.22s no: 1.1s ( 4.8x, -3.9%) me: 3.6s (16.5x, -3.4%) ca: 5.5s (24.9x, 1.6%) he: 3.0s (13.9x, 5.9%) ca: 3.4s (15.5x,-11.0%) dr: 2.7s (12.1x, -1.9%) ma: 1.1s ( 4.8x, 0.9%) -- ffbench -- ffbench valgrind-new:0.26s no: 1.0s ( 3.8x, -----) me: 3.0s (11.7x, -----) ca: 1.9s ( 7.3x, -----) he: 6.5s (25.2x, -----) ca: 4.8s (18.4x, -----) dr: 3.6s (13.8x, -----) ma: 0.9s ( 3.6x, -----) ffbench valgrind-old:0.26s no: 1.0s ( 3.8x, 0.0%) me: 3.1s (12.0x, -2.3%) ca: 1.9s ( 7.2x, 1.6%) he: 6.8s (26.1x, -3.7%) ca: 4.9s (18.7x, -1.9%) dr: 3.4s (13.0x, 5.8%) ma: 0.9s ( 3.5x, 2.2%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.6x, -----) me: 5.2s (64.6x, -----) ca: 6.1s (75.9x, -----) he: 7.2s (90.0x, -----) ca: 3.6s (44.8x, -----) dr: 4.5s (55.9x, -----) ma: 5.0s (62.6x, -----) heap valgrind-old:0.08s no: 0.7s ( 8.9x,-16.4%) me: 5.3s (65.8x, -1.7%) ca: 6.2s (77.9x, -2.6%) he: 7.2s (90.4x, -0.4%) ca: 3.6s (45.5x, -1.7%) dr: 4.3s (54.0x, 3.4%) ma: 5.1s (63.9x, -2.0%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.8x, -----) me: 8.7s (87.4x, -----) ca: 7.1s (71.1x, -----) he: 7.9s (79.1x, -----) ca: 3.6s (36.5x, -----) dr: 4.9s (48.9x, -----) ma: 5.0s (49.9x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.8x, 0.0%) me: 8.8s (87.7x, -0.3%) ca: 6.6s (66.3x, 6.8%) he: 8.3s (83.3x, -5.3%) ca: 4.0s (40.2x,-10.1%) dr: 4.9s (48.6x, 0.6%) ma: 5.1s (50.7x, -1.6%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (27.0x, -----) me: 1.4s (144.0x, -----) ca: 1.0s (101.0x, -----) he: 1.3s (133.0x, -----) ca: 0.7s (66.0x, -----) dr: 1.1s (115.0x, -----) ma: 1.0s (104.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 3.7%) me: 1.4s (145.0x, -0.7%) ca: 1.0s (103.0x, -2.0%) he: 1.3s (132.0x, 0.8%) ca: 0.7s (71.0x, -7.6%) dr: 1.1s (112.0x, 2.6%) ma: 1.3s (130.0x,-25.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 1.6s (54.3x, -----) ca: 2.6s (88.3x, -----) he: 2.3s (76.3x, -----) ca: 0.9s (31.7x, -----) dr: 1.6s (54.3x, -----) ma: 1.6s (52.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (11.0x, -3.1%) me: 1.7s (55.7x, -2.5%) ca: 2.7s (91.3x, -3.4%) he: 2.3s (75.3x, 1.3%) ca: 1.0s (33.7x, -6.3%) dr: 1.6s (54.3x, 0.0%) ma: 1.6s (52.0x, 0.0%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (16.0x, -----) me: 2.3s (116.5x, -----) ca: 1.8s (89.5x, -----) he: 6.4s (322.0x, -----) ca: 0.9s (45.5x, -----) dr: 1.1s (54.5x, -----) ma: 0.3s (15.5x, -----) sarp valgrind-old:0.02s no: 0.3s (14.5x, 9.4%) me: 2.3s (114.5x, 1.7%) ca: 1.8s (88.5x, 1.1%) he: 6.8s (337.5x, -4.8%) ca: 1.0s (51.0x,-12.1%) dr: 1.1s (54.0x, 0.9%) ma: 0.3s (15.0x, 3.2%) -- tinycc -- tinycc valgrind-new:0.17s no: 1.4s ( 7.9x, -----) me: 8.0s (47.1x, -----) ca:11.0s (64.5x, -----) he:10.7s (63.2x, -----) ca: 7.8s (46.1x, -----) dr: 8.6s (50.4x, -----) ma: 2.4s (14.2x, -----) tinycc valgrind-old:0.17s no: 1.4s ( 8.2x, -3.0%) me: 8.3s (49.1x, -4.1%) ca:12.4s (73.2x,-13.5%) he:10.7s (62.9x, 0.4%) ca: 8.1s (47.4x, -2.8%) dr: 8.4s (49.6x, 1.6%) ma: 2.5s (14.8x, -4.1%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 36m46.630s user 35m20.179s sys 0m25.957s |
|
From: <ma...@bu...> - 2014-11-11 01:39:38
|
valgrind revision: 14710
VEX revision: 2988
C compiler: gcc (Debian 4.7.2-5) 4.7.2
GDB: GNU gdb (GDB) 7.4.1-debian
Assembler: GNU assembler (GNU Binutils for Debian) 2.22
C library: GNU C Library (Debian EGLIBC 2.13-38+deb7u6) stable release version 2.13
uname -mrs: Linux 3.2.0-4-amd64 x86_64
Vendor version: Debian GNU/Linux 7 (wheezy)
Nightly build on wildebeest ( Debian 7.7 wheezy x86_64 )
Started at 2014-11-11 00:00:01 UTC
Ended at 2014-11-11 01:39:24 UTC
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
== 684 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
helgrind/tests/pth_destroy_cond (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... done
Regression test results follow
== 684 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2014-11-11 00:24:03.936701758 +0000
--- new.short 2014-11-11 00:47:16.825158397 +0000
***************
*** 4,6 ****
Building valgrind ... done
! Running regression tests ... done
--- 4,6 ----
Building valgrind ... done
! Running regression tests ... failed
***************
*** 8,10 ****
! == 684 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
--- 8,11 ----
! == 684 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
! helgrind/tests/pth_destroy_cond (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.14s no: 2.2s (15.9x, -----) me: 4.6s (32.9x, -----) ca:18.4s (131.4x, -----) he: 2.8s (20.0x, -----) ca: 5.0s (35.6x, -----) dr: 2.7s (19.4x, -----) ma: 2.6s (18.5x, -----)
bigcode1 valgrind-old:0.14s no: 2.2s (15.6x, 1.8%) me: 4.6s (32.6x, 1.1%) ca:17.9s (127.7x, 2.8%) he: 2.7s (19.6x, 2.1%) ca: 4.8s (34.6x, 2.8%) dr: 2.6s (18.7x, 3.3%) ma: 2.7s (19.1x, -3.5%)
-- bigcode2 --
bigcode2 valgrind-new:0.14s no: 5.5s (39.1x, -----) me:11.5s (82.2x, -----) ca:37.8s (270.0x, -----) he: 6.7s (47.6x, -----) ca: 9.4s (67.3x, -----) dr: 7.0s (49.9x, -----) ma: 6.0s (43.0x, -----)
bigcode2 valgrind-old:0.14s no: 5.5s (39.2x, -0.2%) me:11.4s (81.4x, 1.0%) ca:37.7s (269.5x, 0.2%) he: 7.2s (51.3x, -7.8%) ca:10.1s (71.8x, -6.7%) dr: 6.8s (48.5x, 2.9%) ma: 6.0s (42.8x, 0.5%)
-- bz2 --
bz2 valgrind-new:0.68s no: 2.2s ( 3.2x, -----) me: 7.5s (11.1x, -----) ca:16.9s (24.8x, -----) he:11.5s (17.0x, -----) ca:13.6s (20.0x, -----) dr:14.7s (21.6x, -----) ma: 2.1s ( 3.1x, -----)
bz2 valgrind-old:0.68s no: 2.3s ( 3.4x, -3.6%) me: 7.5s (11.0x, 0.8%) ca:16.3s (24.0x, 3.3%) he:11.6s (17.0x, -0.5%) ca:13.7s (20.1x, -0.4%) dr:14.0s (20.6x, 4.7%) ma: 2.2s ( 3.2x, -1.4%)
-- fbench --
fbench valgrind-new:0.28s no: 1.3s ( 4.8x, -----) me: 4.6s (16.5x, -----) ca: 7.7s (27.4x, -----) he: 3.6s (13.0x, -----) ca: 3.8s (13.7x, -----) dr: 3.2s (11.6x, -----) ma: 1.4s ( 5.0x, -----)
fbench valgrind-old:0.28s no: 1.4s ( 4.9x, -2.3%) me: 4.9s (17.5x, -6.0%) ca: 7.4s (26.6x, 3.1%) he: 3.8s (13.6x, -4.7%) ca: 4.1s (14.6x, -6.8%) dr: 3.6s (12.7x, -9.9%) ma: 1.5s ( 5.2x, -4.3%)
-- ffbench --
ffbench valgrind-new:0.27s no: 1.3s ( 4.9x, -----) me: 4.0s (14.8x, -----) ca: 2.5s ( 9.2x, -----) he:10.1s (37.4x, -----) ca: 5.5s (20.4x, -----) dr: 4.8s (17.6x, -----) ma: 1.2s ( 4.6x, -----)
ffbench valgrind-old:0.27s no: 1.4s ( 5.1x, -3.8%) me: 4.0s (14.8x, 0.0%) ca: 2.4s ( 8.9x, 3.2%) he: 8.9s (33.1x, 11.4%) ca: 5.2s (19.3x, 5.5%) dr: 4.3s (16.0x, 9.5%) ma: 1.2s ( 4.4x, 2.4%)
-- heap --
heap valgrind-new:0.09s no: 0.9s ( 9.9x, -----) me: 7.0s (77.4x, -----) ca: 8.4s (93.1x, -----) he: 9.8s (108.7x, -----) ca: 4.2s (46.7x, -----) dr: 5.7s (62.9x, -----) ma: 6.3s (70.0x, -----)
heap valgrind-old:0.09s no: 0.9s ( 9.9x, 0.0%) me: 7.0s (78.0x, -0.7%) ca: 8.4s (93.6x, -0.5%) he: 9.5s (105.1x, 3.3%) ca: 4.2s (46.8x, -0.2%) dr: 5.7s (63.6x, -1.1%) ma: 6.2s (69.2x, 1.1%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.15s no: 1.0s ( 6.7x, -----) me:12.3s (82.3x, -----) ca: 8.9s (59.5x, -----) he:11.4s (76.2x, -----) ca: 4.7s (31.0x, -----) dr: 6.6s (44.1x, -----) ma: 6.4s (42.7x, -----)
heap_pdb4 valgrind-old:0.15s no: 1.0s ( 6.4x, 4.0%) me:12.2s (81.7x, 0.8%) ca: 8.7s (58.1x, 2.4%) he:10.7s (71.5x, 6.1%) ca: 4.5s (29.7x, 4.3%) dr: 6.4s (42.7x, 3.2%) ma: 6.2s (41.6x, 2.7%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.4s (18.5x, -----) me: 1.8s (92.0x, -----) ca: 1.3s (66.0x, -----) he: 1.7s (84.0x, -----) ca: 0.9s (44.0x, -----) dr: 1.5s (77.0x, -----) ma: 1.3s (67.0x, -----)
many-loss-records valgrind-old:0.02s no: 0.3s (17.5x, 5.4%) me: 1.9s (92.5x, -0.5%) ca: 1.4s (67.5x, -2.3%) he: 1.7s (83.5x, 0.6%) ca: 0.9s (43.5x, 1.1%) dr: 1.5s (74.0x, 3.9%) ma: 1.3s (66.0x, 1.5%)
-- many-xpts --
many-xpts valgrind-new:0.05s no: 0.5s ( 9.2x, -----) me: 2.5s (49.6x, -----) ca: 3.4s (67.6x, -----) he: 3.2s (64.2x, -----) ca: 1.2s (23.8x, -----) dr: 1.9s (38.4x, -----) ma: 2.0s (39.6x, -----)
many-xpts valgrind-old:0.05s no: 0.4s ( 8.6x, 6.5%) me: 2.4s (48.4x, 2.4%) ca: 3.4s (68.0x, -0.6%) he: 3.2s (63.2x, 1.6%) ca: 1.2s (24.8x, -4.2%) dr: 1.9s (38.6x, -0.5%) ma: 2.0s (39.6x, 0.0%)
-- sarp --
sarp valgrind-new:0.02s no: 0.4s (19.0x, -----) me: 3.1s (156.5x, -----) ca: 2.3s (115.0x, -----) he: 9.8s (488.5x, -----) ca: 1.2s (59.0x, -----) dr: 1.2s (62.0x, -----) ma: 0.4s (20.0x, -----)
sarp valgrind-old:0.02s no: 0.4s (19.0x, 0.0%) me: 3.1s (156.0x, 0.3%) ca: 2.4s (120.5x, -4.8%) he: 9.8s (489.0x, -0.1%) ca: 1.2s (59.0x, 0.0%) dr: 1.3s (63.0x, -1.6%) ma: 0.4s (20.0x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.28s no: 1.8s ( 6.4x, -----) me:11.0s (39.2x, -----) ca:13.6s (48.5x, -----) he:12.9s (46.2x, -----) ca:10.5s (37.4x, -----) dr: 9.6s (34.4x, -----) ma: 3.1s (11.1x, -----)
tinycc valgrind-old:0.28s no: 1.8s ( 6.4x, 0.0%) me:10.8s (38.7x, 1.2%) ca:13.6s (48.6x, -0.1%) he:13.1s (46.8x, -1.2%) ca:10.2s (36.3x, 2.9%) dr:10.2s (36.6x, -6.3%) ma: 3.1s (11.0x, 1.0%)
-- Finished tests in perf ----------------------------------------------
== 11 programs, 154 timings =================
2757.04user 32.30system 52:07.17elapsed 89%CPU (0avgtext+0avgdata 499740maxresident)k
144328inputs+453088outputs (290major+11750560minor)pagefaults 0swaps
=================================================
./valgrind-new/helgrind/tests/pth_destroy_cond.stderr.diff
=================================================
--- pth_destroy_cond.stderr.exp 2014-11-11 00:24:09.504703593 +0000
+++ pth_destroy_cond.stderr.out 2014-11-11 00:38:18.520958731 +0000
@@ -5,6 +5,34 @@
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (pth_destroy_cond.c:29)
+---Thread-Announcement------------------------------------------
+
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ by 0x........: main (pth_destroy_cond.c:25)
+ Address 0x........ is 0 bytes inside data symbol "mutex"
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: 1, at address 0x........
+ at 0x........: my_memcmp (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ by 0x........: ThreadFunction (pth_destroy_cond.c:18)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ by 0x........: main (pth_destroy_cond.c:31)
+ Address 0x........ is 4 bytes inside data symbol "cond"
+
----------------------------------------------------------------
Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
|