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
(16) |
2
(23) |
3
(15) |
|
4
(19) |
5
(21) |
6
(27) |
7
(18) |
8
(17) |
9
(15) |
10
(11) |
|
11
(9) |
12
(18) |
13
(26) |
14
(28) |
15
(26) |
16
(20) |
17
(27) |
|
18
(16) |
19
(40) |
20
(2) |
21
(11) |
22
(27) |
23
(24) |
24
(16) |
|
25
(10) |
26
(12) |
27
(16) |
28
(7) |
29
(6) |
30
(15) |
31
(5) |
|
From: <sv...@va...> - 2005-12-10 23:46:20
|
Author: rjwalsh Date: 2005-12-10 23:46:11 +0000 (Sat, 10 Dec 2005) New Revision: 5324 Log: Update ignores. Modified: trunk/cachegrind/tests/ trunk/memcheck/tests/ Property changes on: trunk/cachegrind/tests ___________________________________________________________________ Name: svn:ignore - cachegrind.out cachegrind.out.* chdir .deps dlclose Makefile Makefile.in *.so *.stderr.diff *.stderr.out *.stdout.diff *.stdout.out + cachegrind.out cachegrind.out.* chdir clreq .deps dlclose Makefile Makefile.in *.so *.stderr.diff *.stderr.out *.stdout.diff *.stdout.out Property changes on: trunk/memcheck/tests ___________________________________________________________________ Name: svn:ignore - addressable badaddrvalue badfree badjump badjump2 badloop badpoll badrw brk brk2 buflen_check clientperm clientstackperm custom_alloc .deps describe-block dir doublefree erringfds error_counts errs1 execve execve2 exitprog filter_leak_check_size filter_stderr fprw fwrite hello inits inline leak-0 leak-cycle leakotron leak-regroot leak-tree Makefile Makefile.in malloc1 malloc2 malloc3 malloc_usable manuel1 manuel2 manuel3 match-overrun memalign2 memalign_test memcmptest mempool metadata mismatches mmaptest nanoleak new_nothrow new_override null_socket oset_test overlap partiallydefinedeq pipe pointer-trace post-syscall realloc1 realloc2 realloc3 scalar scalar_exit_group scalar_fork scalar_supp scalar_vfork sigaltstack sigkill signal2 sigprocmask stack_changes *.stderr.diff* *.stderr.out *.stdout.diff *.stdout.out strchr str_tester supp1 supp2 suppfree supp_unknown threadederrno trivialleak vgtest_ume weirdioctl with space writev xml1 zeropage + addressable badaddrvalue badfree badjump badjump2 badloop badpoll badrw brk brk2 buflen_check clientperm clientstackperm custom_alloc .deps describe-block dir doublefree erringfds error_counts errs1 execve execve2 exitprog filter_leak_check_size filter_stderr fprw fwrite hello inits inline leak-0 leak-cycle leakotron leak-regroot leak-tree Makefile Makefile.in malloc1 malloc2 malloc3 malloc_usable manuel1 manuel2 manuel3 match-overrun memalign2 memalign_test memcmptest mempool metadata mismatches mmaptest nanoleak new_nothrow new_override null_socket oset_test overlap partial_load partiallydefinedeq pipe pointer-trace post-syscall realloc1 realloc2 realloc3 scalar scalar_exit_group scalar_fork scalar_supp scalar_vfork sigaltstack sigkill signal2 sigprocmask stack_changes stack_switch *.stderr.diff* *.stderr.out *.stdout.diff *.stdout.out strchr str_tester supp1 supp2 suppfree supp_unknown threadederrno trivialleak vgtest_ume weirdioctl with space writev xml1 zeropage |
|
From: <sv...@va...> - 2005-12-10 23:11:36
|
Author: njn
Date: 2005-12-10 23:11:28 +0000 (Sat, 10 Dec 2005)
New Revision: 5323
Log:
First attempt at some performance tracking tools. Includes a script vg_p=
erf
(use "make perf" to run) that executes test programs and times their
slowdowns under various tools. It works a lot like the vg_regtest script=
.
It's a bit rough around the edges -- eg. you can't currently directly
compare two different versions of Valgrind, which would be useful -- but =
it
is a good start.
There are currently two test programs in perf/. More will be added as ti=
me
goes on. This stuff will be built on so that performance changes can be
tracked over time.
Added:
trunk/perf/
trunk/perf/Makefile.am
trunk/perf/ffbench.c
trunk/perf/ffbench.vgperf
trunk/perf/sarp.c
trunk/perf/sarp.vgperf
trunk/perf/vg_perf.in
Modified:
trunk/Makefile.am
trunk/configure.in
Modified: trunk/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/Makefile.am 2005-12-09 21:01:46 UTC (rev 5322)
+++ trunk/Makefile.am 2005-12-10 23:11:28 UTC (rev 5323)
@@ -16,7 +16,7 @@
# And we want to include Addrcheck in the distro, but not compile/test i=
t.
# Put docs last because building the HTML is slow and we want to get
# everything else working before we try it.
-SUBDIRS =3D include coregrind . tests auxprogs $(TOOLS) helgrind docs
+SUBDIRS =3D include coregrind . tests perf auxprogs $(TOOLS) helgrind do=
cs
DIST_SUBDIRS =3D $(SUBDIRS) addrcheck
=20
SUPP_FILES =3D \
@@ -58,6 +58,10 @@
regtest: check
@PERL@ tests/vg_regtest $(TOOLS)
=20
+## Preprend @PERL@ because tests/vg_per isn't executable
+perf: check
+ @PERL@ perf/vg_perf perf
+
EXTRA_DIST =3D \
ACKNOWLEDGEMENTS \
README_DEVELOPERS \
Modified: trunk/configure.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/configure.in 2005-12-09 21:01:46 UTC (rev 5322)
+++ trunk/configure.in 2005-12-10 23:11:28 UTC (rev 5323)
@@ -496,6 +496,8 @@
docs/xml/Makefile
tests/Makefile=20
tests/vg_regtest=20
+ perf/Makefile=20
+ perf/vg_perf
include/Makefile=20
auxprogs/Makefile
coregrind/Makefile=20
Added: trunk/perf/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/Makefile.am (rev 0)
+++ trunk/perf/Makefile.am 2005-12-10 23:11:28 UTC (rev 5323)
@@ -0,0 +1,17 @@
+
+noinst_SCRIPTS =3D vg_perf
+
+EXTRA_DIST =3D $(noinst_SCRIPTS) \
+ ffbench.vgperf \
+ sarp.vgperf
+
+check_PROGRAMS =3D \
+ ffbench sarp
+
+AM_CFLAGS =3D $(WERROR) -Winline -Wall -Wshadow -g -O
+AM_CPPFLAGS =3D -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir=
)/include
+AM_CXXFLAGS =3D $(AM_CFLAGS)
+
+# Extra stuff
+ffbench_LDADD =3D -lm
+
Added: trunk/perf/ffbench.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/ffbench.c (rev 0)
+++ trunk/perf/ffbench.c 2005-12-10 23:11:28 UTC (rev 5323)
@@ -0,0 +1,382 @@
+// This small program computes a Fast Fourier Transform. It tests
+// Valgrind's handling of FP operations. It is representative of all
+// programs that do a lot of FP operations.
+
+// This program was taken from http://www.fourmilab.ch/. The front page=
of
+// that site says:
+//
+// "Except for a few clearly-marked exceptions, all the material on th=
is
+// site is in the public domain and may be used in any manner without
+// permission, restriction, attribution, or compensation."
+
+/*
+
+ Two-dimensional FFT benchmark
+
+ Designed and implemented by John Walker in April of 1989.
+
+ This benchmark executes a specified number of passes (default
+ 20) through a loop in which each iteration performs a fast
+ Fourier transform of a square matrix (default size 256x256) of
+ complex numbers (default precision double), followed by the
+ inverse transform. After all loop iterations are performed
+ the results are checked against known correct values.
+
+ This benchmark is intended for use on C implementations which
+ define "int" as 32 bits or longer and permit allocation and
+ direct addressing of arrays larger than one megabyte.
+
+ If CAPOUT is defined, the result after all iterations is
+ written as a CA Lab pattern file. This is intended for
+ debugging in case horribly wrong results are obtained on a
+ given machine.
+
+ Archival timings are run with the definitions below set as
+ follows: Float =3D double, Asize =3D 256, Passes =3D 20, CAPOUT not
+ defined.
+
+ Time (seconds) System
+
+ 2393.93 Sun 3/260, SunOS 3.4, C, "-f68881 -O".
+ (John Walker).
+
+ 1928 Macintosh IIx, MPW C 3.0, "-mc68020
+ -mc68881 -elems881 -m". (Hugh Hoover).
+
+ 1636.1 Sun 4/110, "cc -O3 -lm". (Michael McClary).
+ The suspicion is that this is software
+ floating point.
+
+ 1556.7 Macintosh II, A/UX, "cc -O -lm"
+ (Michael McClary).
+
+ 1388.8 Sun 386i/250, SunOS 4.0.1 C
+ "-O /usr/lib/trig.il". (James Carrington).
+
+ 1331.93 Sun 3/60, SunOS 4.0.1, C,
+ "-O4 -f68881 /usr/lib/libm.il"
+ (Bob Elman).
+
+ 1204.0 Apollo Domain DN4000, C, "-cpu 3000 -opt 4".
+ (Sam Crupi).
+
+ 1174.66 Compaq 386/25, SCO Xenix 386 C.
+ (Peter Shieh).
+
+ 1068 Compaq 386/25, SCO Xenix 386,
+ Metaware High C. (Robert Wenig).
+
+ 1064.0 Sun 3/80, SunOS 4.0.3 Beta C
+ "-O3 -f68881 /usr/lib/libm.il". (James Carrin=
gton).
+
+ 1061.4 Compaq 386/25, SCO Xenix, High C 1.4.
+ (James Carrington).
+
+ 1059.79 Compaq 386/25, 387/25, High C 1.4,
+ DOS|Extender 2.2, 387 inline code
+ generation. (Nathan Bender).
+
+ 777.14 Compaq 386/25, IIT 3C87-25 (387 Compatible),
+ High C 1.5, DOS|Extender 2.2, 387 inline
+ code generation. (Nathan Bender).
+
+ 751 Compaq DeskPro 386/33, High C 1.5 + DOS|Extender,
+ 387 code generation. (James Carrington).
+
+ 431.44 Compaq 386/25, Weitek 3167-25, DOS 3.31,
+ High C 1.4, DOS|Extender, Weitek code generation.
+ (Nathan Bender).
+
+ 344.9 Compaq 486/25, Metaware High C 1.6, Phar Lap
+ DOS|Extender, in-line floating point. (Nathan
+ Bender).
+
+ 324.2 Data General Motorola 88000, 16 Mhz, Gnu C.
+
+ 323.1 Sun 4/280, C, "-O4". (Eric Hill).
+
+ 254 Compaq SystemPro 486/33, High C 1.5 + DOS|Extender,
+ 387 code generation. (James Carrington).
+
+ 242.8 Silicon Graphics Personal IRIS, MIPS R2000A,
+ 12.5 Mhz, "-O3" (highest level optimisation).
+ (Mike Zentner).
+
+ 233.0 Sun SPARCStation 1, C, "-O4", SunOS 4.0.3.
+ (Nathan Bender).
+
+ 187.30 DEC PMAX 3100, MIPS 2000 chip.
+ (Robert Wenig).
+
+ 120.46 Sun SparcStation 2, C, "-O4", SunOS 4.1.1.
+ (John Walker).
+
+ 120.21 DEC 3MAX, MIPS 3000, "-O4".
+
+ 98.0 Intel i860 experimental environment,
+ OS/2, data caching disabled. (Kern
+ Sibbald).
+
+ 34.9 Silicon Graphics Indigo=B2, MIPS R4400,
+ 175 Mhz, IRIX 5.2, "-O".
+
+ 32.4 Pentium 133, Windows NT, Microsoft Visual
+ C++ 4.0.
+
+ 17.25 Silicon Graphics Indigo=B2, MIPS R4400,
+ 175 Mhz, IRIX 6.5, "-O3".
+
+ 14.10 Dell Dimension XPS R100, Pentium II 400 MHz,
+ Windows 98, Microsoft Visual C 5.0.
+
+ 10.7 Hewlett-Packard Kayak XU 450Mhz Pentium II,
+ Microsoft Visual C++ 6.0, Windows NT 4.0sp3. (Nathan Bender).
+
+ 5.09 Sun Ultra 2, UltraSPARC V9, 300 MHz, gcc -O3.
+ =20
+ 0.846 Dell Inspiron 9100, Pentium 4, 3.4 GHz, gcc -O3.
+
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+
+/* The program may be run with Float defined as either float or
+ double. With IEEE arithmetic, the same answers are generated for
+ either floating point mode. */
+
+#define Float double /* Floating point type used in FFT */
+
+#define Asize 256 /* Array edge size */
+#define Passes 20 /* Number of FFT/Inverse passes */
+
+#define max(a,b) ((a)>(b)?(a):(b))
+#define min(a,b) ((a)<=3D(b)?(a):(b))
+
+#ifndef unix
+#ifndef WIN32
+extern char *farmalloc(long s);
+#define malloc(x) farmalloc(x)
+#endif
+#define FWMODE "wb"
+#else
+#define FWMODE "w"
+#endif
+
+/*
+
+ Multi-dimensional fast Fourier transform
+
+ Adapted from Press et al., "Numerical Recipes in C".
+
+*/
+
+#define SWAP(a,b) tempr=3D(a); (a)=3D(b); (b)=3Dtempr
+
+static void fourn(data, nn, ndim, isign)
+ Float data[];
+ int nn[], ndim, isign;
+{
+ register int i1, i2, i3;
+ int i2rev, i3rev, ip1, ip2, ip3, ifp1, ifp2;
+ int ibit, idim, k1, k2, n, nprev, nrem, ntot;
+ Float tempi, tempr;
+ double theta, wi, wpi, wpr, wr, wtemp;
+
+ ntot =3D 1;
+ for (idim =3D 1; idim <=3D ndim; idim++)
+ ntot *=3D nn[idim];
+ nprev =3D 1;
+ for (idim =3D ndim; idim >=3D 1; idim--) {
+ n =3D nn[idim];
+ nrem =3D ntot / (n * nprev);
+ ip1 =3D nprev << 1;
+ ip2 =3D ip1 * n;
+ ip3 =3D ip2 * nrem;
+ i2rev =3D 1;
+ for (i2 =3D 1; i2 <=3D ip2; i2 +=3D ip1) {
+ if (i2 < i2rev) {
+ for (i1 =3D i2; i1 <=3D i2 + ip1 - 2; i1 +=3D 2) {
+ for (i3 =3D i1; i3 <=3D ip3; i3 +=3D ip2) {
+ i3rev =3D i2rev + i3 - i2;
+ SWAP(data[i3], data[i3rev]);
+ SWAP(data[i3 + 1], data[i3rev + 1]);
+ }
+ }
+ }
+ ibit =3D ip2 >> 1;
+ while (ibit >=3D ip1 && i2rev > ibit) {
+ i2rev -=3D ibit;
+ ibit >>=3D 1;
+ }
+ i2rev +=3D ibit;
+ }
+ ifp1 =3D ip1;
+ while (ifp1 < ip2) {
+ ifp2 =3D ifp1 << 1;
+ theta =3D isign * 6.28318530717959 / (ifp2 / ip1);
+ wtemp =3D sin(0.5 * theta);
+ wpr =3D -2.0 * wtemp * wtemp;
+ wpi =3D sin(theta);
+ wr =3D 1.0;
+ wi =3D 0.0;
+ for (i3 =3D 1; i3 <=3D ifp1; i3 +=3D ip1) {
+ for (i1 =3D i3; i1 <=3D i3 + ip1 - 2; i1 +=3D 2) {
+ for (i2 =3D i1; i2 <=3D ip3; i2 +=3D ifp2) {
+ k1 =3D i2;
+ k2 =3D k1 + ifp1;
+ tempr =3D wr * data[k2] - wi * data[k2 + 1];
+ tempi =3D wr * data[k2 + 1] + wi * data[k2];
+ data[k2] =3D data[k1] - tempr;
+ data[k2 + 1] =3D data[k1 + 1] - tempi;
+ data[k1] +=3D tempr;
+ data[k1 + 1] +=3D tempi;
+ }
+ }
+ wr =3D (wtemp =3D wr) * wpr - wi * wpi + wr;
+ wi =3D wi * wpr + wtemp * wpi + wi;
+ }
+ ifp1 =3D ifp2;
+ }
+ nprev *=3D n;
+ }
+}
+#undef SWAP
+
+int main()
+{
+ int i, j, k, l, m, npasses =3D Passes, faedge;
+ Float *fdata /* , *fd */ ;
+ static int nsize[] =3D {0, 0, 0};
+ long fanum, fasize;
+ double mapbase, mapscale, /* x, */ rmin, rmax, imin, imax;
+
+ faedge =3D Asize; /* FFT array edge size */
+ fanum =3D faedge * faedge; /* Elements in FFT array */
+ fasize =3D ((fanum + 1) * 2 * sizeof(Float)); /* FFT array size */
+ nsize[1] =3D nsize[2] =3D faedge;
+
+ fdata =3D (Float *) malloc(fasize);
+ if (fdata =3D=3D NULL) {
+ fprintf(stdout, "Can't allocate data array.\n");
+ exit(1);
+ }
+
+ /* Generate data array to process. */
+
+#define Re(x,y) fdata[1 + (faedge * (x) + (y)) * 2]
+#define Im(x,y) fdata[2 + (faedge * (x) + (y)) * 2]
+
+ memset(fdata, 0, fasize);
+ for (i =3D 0; i < faedge; i++) {
+ for (j =3D 0; j < faedge; j++) {
+ if (((i & 15) =3D=3D 8) || ((j & 15) =3D=3D 8))
+ Re(i, j) =3D 128.0;
+ }
+ }
+
+ for (i =3D 0; i < npasses; i++) {
+/*printf("Pass %d\n", i);*/
+ /* Transform image to frequency domain. */
+ fourn(fdata, nsize, 2, 1);
+
+ /* Back-transform to image. */
+ fourn(fdata, nsize, 2, -1);
+ }
+
+ {
+ double r, ij, ar, ai;
+ rmin =3D 1e10; rmax =3D -1e10;
+ imin =3D 1e10; imax =3D -1e10;
+ ar =3D 0;
+ ai =3D 0;
+
+ for (i =3D 1; i <=3D fanum; i +=3D 2) {
+ r =3D fdata[i];
+ ij =3D fdata[i + 1];
+ ar +=3D r;
+ ai +=3D ij;
+ rmin =3D min(r, rmin);
+ rmax =3D max(r, rmax);
+ imin =3D min(ij, imin);
+ imax =3D max(ij, imax);
+ }
+#ifdef DEBUG
+ printf("Real min %.4g, max %.4g. Imaginary min %.4g, max %.4=
g.\n",
+ rmin, rmax, imin, imax);
+ printf("Average real %.4g, imaginary %.4g.\n",=20
+ ar / fanum, ai / fanum);
+#endif
+ mapbase =3D rmin;
+ mapscale =3D 255 / (rmax - rmin);
+ }
+
+ /* See if we got the right answers. */
+
+ m =3D 0;
+ for (i =3D 0; i < faedge; i++) {
+ for (j =3D 0; j < faedge; j++) {
+ k =3D (Re(i, j) - mapbase) * mapscale;
+ l =3D (((i & 15) =3D=3D 8) || ((j & 15) =3D=3D 8)) ? 255 : 0;
+ if (k !=3D l) {
+ m++;
+ fprintf(stdout,
+ "Wrong answer at (%d,%d)! Expected %d, got %d.\n",
+ i, j, l, k);
+ }
+ }
+ }
+ if (m =3D=3D 0) {
+ fprintf(stdout, "%d passes. No errors in results.\n", npasse=
s);
+ } else {
+ fprintf(stdout, "%d passes. %d errors in results.\n",
+ npasses, m);
+ }
+
+#ifdef CAPOUT
+
+ /* Output the result of the transform as a CA Lab pattern
+ file for debugging. */
+
+ {
+#define SCRX 322
+#define SCRY 200
+#define SCRN (SCRX * SCRY)
+ unsigned char patarr[SCRY][SCRX];
+ FILE *fp;
+
+/* Map user external state numbers to internal state index */
+
+#define UtoI(x) (((((x) >> 1) & 0x7F) | ((x) << 7)) & 0xFF)
+
+ /* Copy data from FFT buffer to map. */
+
+ memset(patarr, 0, sizeof patarr);
+ l =3D (SCRX - faedge) / 2;
+ m =3D (faedge > SCRY) ? 0 : ((SCRY - faedge) / 2);
+ for (i =3D 1; i < faedge; i++) {
+ for (j =3D 0; j < min(SCRY, faedge); j++) {
+ k =3D (Re(i, j) - mapbase) * mapscale;
+ patarr[j + m][i + l] =3D UtoI(k);
+ }
+ }
+
+ /* Dump pattern map to file. */
+
+ fp =3D fopen("fft.cap", "w");
+ if (fp =3D=3D NULL) {
+ fprintf(stdout, "Cannot open output file.\n");
+ exit(0);
+ }
+ putc(':', fp);
+ putc(1, fp);
+ fwrite(patarr, SCRN, 1, fp);
+ putc(6, fp);
+ fclose(fp);
+ }
+#endif
+
+ return 0;
+}
Added: trunk/perf/ffbench.vgperf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/ffbench.vgperf (rev 0)
+++ trunk/perf/ffbench.vgperf 2005-12-10 23:11:28 UTC (rev 5323)
@@ -0,0 +1,2 @@
+prog: ffbench
+tools: none memcheck
Added: trunk/perf/sarp.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/sarp.c (rev 0)
+++ trunk/perf/sarp.c 2005-12-10 23:11:28 UTC (rev 5323)
@@ -0,0 +1,46 @@
+// This artificial program allocates and deallocates a lot of large obje=
cts
+// on the stack. It is a stress test for Memcheck's set_address_range_p=
erms
+// (sarp) function. Pretty much all Valgrind versions up to 3.1.X do ve=
ry
+// badly on it, ie. a slowdown of at least 100x.
+//
+// It is representative of tsim_arch, the simulator for the University o=
f
+// Texas's TRIPS processor, whose performance under Valgrind is dominate=
d by
+// the handling of one frequently-called function that allocates 8348 by=
tes
+// on the stack.
+
+#include <assert.h>
+#include <time.h>
+
+#define REPS 1000*1000
+
+int f(int i)
+{
+ // This nonsense is just to ensure that the compiler does not optimis=
e
+ // away the stack allocation.
+ char big_array[8348];
+ big_array[0] =3D 12;
+ big_array[2333] =3D 34;
+ big_array[5678] =3D 56;
+ big_array[8347] =3D 78;
+ assert( 8000 =3D=3D (&big_array[8100] - &big_array[100]) );
+ return big_array[i];
+}
+
+int main(void)
+{
+ int i, sum =3D 0;
+
+ struct timespec req;
+ req.tv_sec =3D 0;
+ req.tv_nsec =3D 100*1000*1000; // 0.1s
+
+ // Pause for a bit so that the native run-time is not 0.00, which lea=
ds
+ // to ridiculous slow-down figures.
+ nanosleep(&req, NULL);
+ =20
+ for (i =3D 0; i < REPS; i++) {
+ sum +=3D f(i & 0xff);
+ }
+ return sum % 256;
+}
+
Added: trunk/perf/sarp.vgperf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/sarp.vgperf (rev 0)
+++ trunk/perf/sarp.vgperf 2005-12-10 23:11:28 UTC (rev 5323)
@@ -0,0 +1,2 @@
+prog: sarp
+tools: none memcheck
Added: trunk/perf/vg_perf.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/perf/vg_perf.in (rev 0)
+++ trunk/perf/vg_perf.in 2005-12-10 23:11:28 UTC (rev 5323)
@@ -0,0 +1,368 @@
+#! @PERL@
+##--------------------------------------------------------------------##
+##--- Valgrind performance testing script vg_perf ---##
+##--------------------------------------------------------------------##
+
+# This file is part of Valgrind, a dynamic binary instrumentation
+# framework.
+#
+# Copyright (C) 2005 Nicholas Nethercote
+# nj...@va...
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307, USA.
+#
+# The GNU General Public License is contained in the file COPYING.
+
+#-----------------------------------------------------------------------=
-----
+# usage: vg_perf [options] <dirs | files>
+#
+# Options:
+# --all: run tests in all subdirs
+# --valgrind: valgrind to use (the directory it's in). Default is the=
one
+# in the current tree.
+#
+# The easiest way is to run all tests in valgrind/ with (assuming you in=
stalled
+# in $PREFIX):
+#
+# perl perf/vg_perf --all
+#
+# You can specify individual files to test, or whole directories, or bot=
h.
+# Directories are traversed recursively, except for ones named, for exam=
ple,=20
+# CVS/ or docs/.
+#
+# Each test is defined in a file <test>.vgperf, containing one or more o=
f the
+# following lines, in any order:
+# - prog: <prog to run> (compulsory)
+# - tools: <Valgrind tools> (compulsory)
+# - args: <args for prog> (default: none)
+# - vgopts: <Valgrind options> (default: none)
+# - prereq: <prerequisite command> (default: none)
+# - cleanup: <post-test cleanup cmd to run> (default: none)
+#
+# The prerequisite command, if present, must return 0 otherwise the test=
is
+# skipped.
+#-----------------------------------------------------------------------=
-----
+
+use warnings;
+use strict;
+
+#-----------------------------------------------------------------------=
-----
+# Global vars
+#-----------------------------------------------------------------------=
-----
+my $usage=3D"vg_perf [--all, --valgrind]\n";
+
+my $tmp=3D"vg_perf.tmp.$$";
+
+# Test variables
+my $vgopts; # valgrind options
+my $prog; # test prog
+my $args; # test prog args
+my $prereq; # prerequisite test to satisfy before running te=
st
+my $cleanup; # cleanup command to run
+my @tools; # which tools are we measuring the program with
+
+# Abbreviations used in output
+my %toolnames =3D (=20
+ none =3D> "nl",
+ memcheck =3D> "mc",
+ cachegrind =3D> "cg",
+ massif =3D> "ms"
+);
+
+# We run each program this many times and choose the best time.
+my $n_runs =3D 3;
+
+my $num_tests_done =3D 0;
+my $num_timings_done =3D 0;
+
+# Starting directory
+chomp(my $tests_dir =3D `pwd`);
+
+# Directory of the Valgrind being measured. Default is the one in the
+# current tree.
+my $vg_dir =3D $tests_dir;
+
+#-----------------------------------------------------------------------=
-----
+# Process command line, setup
+#-----------------------------------------------------------------------=
-----
+
+# If $prog is a relative path, it prepends $dir to it. Useful for two r=
easons:
+#
+# 1. Can prepend "." onto programs to avoid trouble with users who don't=
have
+# "." in their path (by making $dir =3D ".")
+# 2. Can prepend the current dir to make the command absolute to avoid
+# subsequent trouble when we change directories.
+#
+# Also checks the program exists and is executable.
+sub validate_program ($$$$)=20
+{
+ my ($dir, $prog, $must_exist, $must_be_executable) =3D @_;
+
+ # If absolute path, leave it alone. If relative, make it
+ # absolute -- by prepending current dir -- so we can change
+ # dirs and still use it.
+ $prog =3D "$dir/$prog" if ($prog !~ /^\//);
+ if ($must_exist) {
+ (-f $prog) or die "vg_perf: '$prog' not found or not a file ($di=
r)\n";
+ }
+ if ($must_be_executable) {=20
+ (-x $prog) or die "vg_perf: '$prog' not executable ($dir)\n";
+ }
+
+ return $prog;
+}
+
+sub validate_tools($)
+{
+ # XXX: should check they exist!
+ my ($toolnames) =3D @_;
+ my @t =3D split(/\s+/, $toolnames);
+ return @t;
+}
+
+sub process_command_line()=20
+{
+ my $alldirs =3D 0;
+ my @fs;
+ =20
+ for my $arg (@ARGV) {
+ if ($arg =3D~ /^-/) {
+ if ($arg =3D~ /^--all$/) {
+ $alldirs =3D 1;
+ } elsif ($arg =3D~ /^--valgrind=3D(.*)$/) {
+ $vg_dir =3D $1;
+ } else {
+ die $usage;
+ }
+ } else {
+ push(@fs, $arg);
+ }
+ }
+ # Make $vg_dir absolute if not already
+ if ($vg_dir !~ /^\//) { $vg_dir =3D "$tests_dir/$vg_dir"; }
+ validate_program($vg_dir, "./coregrind/valgrind", 1, 1);
+
+ if ($alldirs) {
+ @fs =3D ();
+ foreach my $f (glob "*") {
+ push(@fs, $f) if (-d $f);
+ }
+ }
+
+ (0 !=3D @fs) or die "No test files or directories specified\n";
+
+ return @fs;
+}
+
+#-----------------------------------------------------------------------=
-----
+# Read a .vgperf file
+#-----------------------------------------------------------------------=
-----
+sub read_vgperf_file($)
+{
+ my ($f) =3D @_;
+
+ # Defaults.
+ ($vgopts, $prog, $args, $prereq, $cleanup)
+ =3D ("", undef, "", undef, undef, undef, undef);
+
+ open(INPUTFILE, "< $f") || die "File $f not openable\n";
+
+ while (my $line =3D <INPUTFILE>) {
+ if ($line =3D~ /^\s*#/ || $line =3D~ /^\s*$/) {
+ next;
+ } elsif ($line =3D~ /^\s*vgopts:\s*(.*)$/) {
+ $vgopts =3D $1;
+ } elsif ($line =3D~ /^\s*prog:\s*(.*)$/) {
+ $prog =3D validate_program(".", $1, 0, 0);
+ } elsif ($line =3D~ /^\s*tools:\s*(.*)$/) {
+ @tools =3D validate_tools($1);
+ } elsif ($line =3D~ /^\s*args:\s*(.*)$/) {
+ $args =3D $1;
+ } elsif ($line =3D~ /^\s*prereq:\s*(.*)$/) {
+ $prereq =3D $1;
+ } elsif ($line =3D~ /^\s*cleanup:\s*(.*)$/) {
+ $cleanup =3D $1;
+ } else {
+ die "Bad line in $f: $line\n";
+ }
+ }
+ close(INPUTFILE);
+
+ if (!defined $prog) {
+ $prog =3D ""; # allow no prog for testing error and --help c=
ases
+ }
+ if (0 =3D=3D @tools) {
+ die "vg_perf: missing 'tools' line in $f\n";
+ }
+}
+
+#-----------------------------------------------------------------------=
-----
+# Do one test
+#-----------------------------------------------------------------------=
-----
+# Since most of the program time is spent in system() calls, need this t=
o
+# propagate a Ctrl-C enabling us to quit.
+sub mysystem($)=20
+{
+ (system($_[0]) !=3D 2) or exit 1; # 2 is SIGINT
+}
+
+# Run program N times, return the best wall-clock time.
+sub time_prog($$)
+{
+ my ($cmd, $n) =3D @_;
+ my $tmin =3D 999999;
+ for (my $i =3D 0; $i < $n; $i++) {
+ my $out =3D `$cmd 2>&1 1>/dev/null`;
+ $out =3D~ /walltime: ([\d\.]+)s/;
+ $tmin =3D $1 if ($1 < $tmin);
+ }
+ return $tmin;
+}
+
+sub do_one_test($$)=20
+{
+ my ($dir, $vgperf) =3D @_;
+ $vgperf =3D~ /^(.*)\.vgperf/;
+ my $name =3D $1;
+
+ read_vgperf_file($vgperf);
+
+ if (defined $prereq) {
+ if (system("$prereq") !=3D 0) {
+ printf("%-16s (skipping, prereq failed: $prereq)\n", "$name:=
");
+ return;
+ }
+ }
+
+ printf("%-12s", "$name:");
+
+ my $timecmd =3D "/usr/bin/time -f 'walltime: %es'";
+
+ # Do the native run(s).
+ printf("nt:");
+ my $cmd =3D "$timecmd $prog $args";
+ my $tNative =3D time_prog($cmd, $n_runs);
+ printf("%4.1fs ", $tNative);
+
+ foreach my $tool (@tools) {
+ (defined $toolnames{$tool}) or=20
+ die "unknown tool $tool, please add to %toolnames\n";
+
+ # Do the tool run(s). Set both VALGRIND_LIB and VALGRIND_LIB_IN=
NER
+ # in case this Valgrind was configured with --enable-inner.
+ printf("%s:", $toolnames{$tool});
+ my $vgsetup =3D "VALGRIND_LIB=3D$vg_dir/.in_place "
+ . "VALGRIND_LIB_INNER=3D$vg_dir/.in_place ";
+ my $vgcmd =3D "$vg_dir/coregrind/valgrind "
+ . "--command-line-only=3Dyes --tool=3D$tool -q "
+ . "--memcheck:leak-check=3Dno --addrcheck:leak-check=
=3Dno "
+ . "$vgopts ";
+ my $cmd =3D "$vgsetup $timecmd $vgcmd $prog $args";
+ my $tTool =3D time_prog($cmd, $n_runs);
+ printf("%4.1fs (%4.1fx) ", $tTool, $tTool/$tNative);
+
+ $num_timings_done++;
+ }
+ printf("\n");
+
+ if (defined $cleanup) {
+ (system("$cleanup") =3D=3D 0) or=20
+ print(" ($name cleanup operation failed: $cleanup)\n");
+ }
+
+ $num_tests_done++;
+}
+
+#-----------------------------------------------------------------------=
-----
+# Test one directory (and any subdirs)
+#-----------------------------------------------------------------------=
-----
+sub test_one_dir($$); # forward declaration
+
+sub test_one_dir($$)=20
+{
+ my ($dir, $prev_dirs) =3D @_;
+ $dir =3D~ s/\/$//; # trim a trailing '/'
+
+ # Ignore dirs into which we should not recurse.
+ if ($dir =3D~ /^(BitKeeper|CVS|SCCS|docs|doc)$/) { return; }
+
+ chdir($dir) or die "Could not change into $dir\n";
+
+ # Nb: Don't prepend a '/' to the base directory
+ my $full_dir =3D $prev_dirs . ($prev_dirs eq "" ? "" : "/") . $dir;
+ my $dashes =3D "-" x (50 - length $full_dir);
+
+ my @fs =3D glob "*";
+ my $found_tests =3D (0 !=3D (grep { $_ =3D~ /\.vgperf$/ } @fs));
+
+ if ($found_tests) {
+ print "-- Running tests in $full_dir $dashes\n";
+ }
+ foreach my $f (@fs) {
+ if (-d $f) {
+ test_one_dir($f, $full_dir);
+ } elsif ($f =3D~ /\.vgperf$/) {
+ do_one_test($full_dir, $f);
+ }
+ }
+ if ($found_tests) {
+ print "-- Finished tests in $full_dir $dashes\n";
+ }
+
+ chdir("..");
+}
+
+#-----------------------------------------------------------------------=
-----
+# Summarise results
+#-----------------------------------------------------------------------=
-----
+sub summarise_results=20
+{
+ printf("\n=3D=3D %d programs, %d timings =3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D\n\n",=20
+ $num_tests_done, $num_timings_done);
+}
+
+#-----------------------------------------------------------------------=
-----
+# main()
+#-----------------------------------------------------------------------=
-----
+
+# nuke VALGRIND_OPTS
+$ENV{"VALGRIND_OPTS"} =3D "";
+
+my @fs =3D process_command_line();
+foreach my $f (@fs) {
+ if (-d $f) {
+ test_one_dir($f, "");
+ } else {=20
+ # Allow the .vgperf suffix to be given or omitted
+ if ($f =3D~ /.vgperf$/ && -r $f) {
+ # do nothing
+ } elsif (-r "$f.vgperf") {
+ $f =3D "$f.vgperf";
+ } else {
+ die "`$f' neither a directory nor a readable test file/name\=
n"
+ }
+ my $dir =3D `dirname $f`; chomp $dir;
+ my $file =3D `basename $f`; chomp $file;
+ chdir($dir) or die "Could not change into $dir\n";
+ do_one_test($dir, $file);
+ chdir($tests_dir);
+ }
+}
+summarise_results();
+
+##--------------------------------------------------------------------##
+##--- end ---##
+##--------------------------------------------------------------------##
|
|
From: Nicholas N. <nj...@cs...> - 2005-12-10 22:58:42
|
On Sat, 10 Dec 2005, Leo Savernik wrote: > Trying to compile valgrind-cvs as of today, I hit the following bug: > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../coregrind -I.. -I../coregrind/x86 > -I../coregrind/linux -I../coregrind/x86-linux -I../include -I../VEX/pub > -DVG_PLATFORM="\"x86-linux\"" -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 > -DVG_LIBDIR="\"/leo/apps/valgrind-cvs/lib/valgrind"\" > -mpreferred-stack-boundary=2 -O -g -Wmissing-prototypes -Winline -Wall > -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations > -Wno-long-long -c launcher.c > launcher.c: In function `select_platform': > launcher.c:157: `EM_X86_64' undeclared (first use in this function) > > grepping though valgrind-sources, EM_X86_64 is nowhere defined. Should > EM_X86_64 be supplied from the system? At least my system doesn't support > x86-64. It's in /usr/include/elf.h on my machine. How old is your system? You can workaround this by adding: #define EM_X86_64 62 somewhere in launcher.c. Nick |
|
From: Leo S. <l.s...@ao...> - 2005-12-10 15:15:55
|
Hello, Trying to compile valgrind-cvs as of today, I hit the following bug: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../coregrind -I.. -I../coregrind/x86=20 =2DI../coregrind/linux -I../coregrind/x86-linux -I../include -I../VEX/pub=20 =2DDVG_PLATFORM=3D"\"x86-linux\"" -DVGA_x86=3D1 -DVGO_linux=3D1 -DVGP_x86_l= inux=3D1=20 =2DDVG_LIBDIR=3D"\"/leo/apps/valgrind-cvs/lib/valgrind"\" =20 =2Dmpreferred-stack-boundary=3D2 -O -g -Wmissing-prototypes -Winline -Wall= =20 =2DWshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations=20 =2DWno-long-long -c launcher.c launcher.c: In function `select_platform': launcher.c:157: `EM_X86_64' undeclared (first use in this function) grepping though valgrind-sources, EM_X86_64 is nowhere defined. Should=20 EM_X86_64 be supplied from the system? At least my system doesn't support=20 x86-64. The same error occurs on the 3.1-branch as well. mfg Leo PS: Please CC me, I'm not subscribed. |
|
From: <js...@ac...> - 2005-12-10 03:53:55
|
Nightly build on phoenix ( SuSE 10.0 ) started at 2005-12-10 03:30:01 GMT Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 208 tests, 6 stderr failures, 1 stdout failure ================= memcheck/tests/leak-tree (stderr) memcheck/tests/mempool (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) none/tests/mremap2 (stdout) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: <js...@ac...> - 2005-12-10 03:47:03
|
Nightly build on g5 ( YDL 4.0, ppc970 ) started at 2005-12-10 04:40:00 CET Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 175 tests, 15 stderr failures, 0 stdout failures ================= memcheck/tests/badjump (stderr) memcheck/tests/badjump2 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/mempool (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/supp1 (stderr) memcheck/tests/supp_unknown (stderr) memcheck/tests/toobig-allocs (stderr) memcheck/tests/xml1 (stderr) massif/tests/toobig-allocs (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) |
|
From: Tom H. <to...@co...> - 2005-12-10 03:42:06
|
Nightly build on dunsmere ( athlon, Fedora Core 4 ) started at 2005-12-10 03:30:04 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 == 210 tests, 7 stderr failures, 1 stdout failure ================= memcheck/tests/leak-tree (stderr) memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) none/tests/mremap2 (stdout) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-12-10 03:30:25
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2005-12-10 03:15:06 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 == 209 tests, 17 stderr failures, 1 stdout failure ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/leakotron (stdout) memcheck/tests/match-overrun (stderr) memcheck/tests/mempool (stderr) memcheck/tests/partial_load_dflt (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-12-10 03:29:43
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2005-12-10 03:00:02 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 227 tests, 6 stderr failures, 1 stdout failure ================= memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) none/tests/amd64/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) none/tests/tls (stdout) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 227 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) none/tests/amd64/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sat Dec 10 03:13:27 2005 --- new.short Sat Dec 10 03:29:34 2005 *************** *** 8,10 **** ! == 227 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/mempool (stderr) --- 8,10 ---- ! == 227 tests, 6 stderr failures, 1 stdout failure ================= memcheck/tests/mempool (stderr) *************** *** 13,14 **** --- 13,15 ---- none/tests/fdleak_fcntl (stderr) + none/tests/tls (stdout) none/tests/x86/faultstatus (stderr) |
|
From: Tom H. <th...@cy...> - 2005-12-10 03:27:14
|
Nightly build on dellow ( x86_64, Fedora Core 4 ) started at 2005-12-10 03:10:14 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 == 227 tests, 5 stderr failures, 1 stdout failure ================= memcheck/tests/mempool (stderr) memcheck/tests/x86/scalar (stderr) none/tests/amd64/faultstatus (stderr) none/tests/mremap2 (stdout) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-12-10 03:24:52
|
Nightly build on aston ( x86_64, Fedora Core 3 ) started at 2005-12-10 03:05:13 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 227 tests, 7 stderr failures, 1 stdout failure ================= memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/amd64/faultstatus (stderr) none/tests/mremap2 (stdout) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 227 tests, 6 stderr failures, 1 stdout failure ================= memcheck/tests/mempool (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/amd64/faultstatus (stderr) none/tests/mremap2 (stdout) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sat Dec 10 03:16:56 2005 --- new.short Sat Dec 10 03:24:41 2005 *************** *** 8,11 **** ! == 227 tests, 6 stderr failures, 1 stdout failure ================= memcheck/tests/mempool (stderr) memcheck/tests/x86/scalar (stderr) --- 8,12 ---- ! == 227 tests, 7 stderr failures, 1 stdout failure ================= memcheck/tests/mempool (stderr) + memcheck/tests/pointer-trace (stderr) memcheck/tests/x86/scalar (stderr) |