]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
18 years agoDisabled radiosity test because it seems to hang when p >= 2. Updated results.
Bart Van Assche [Fri, 20 Jun 2008 07:52:28 +0000 (07:52 +0000)] 
Disabled radiosity test because it seems to hang when p >= 2. Updated results.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8262

18 years agoMerge (from 3_3_BRANCH) some parts of r8168 (Fix up suppressions for Ubuntu 8.04.)
Julian Seward [Thu, 19 Jun 2008 16:24:49 +0000 (16:24 +0000)] 
Merge (from 3_3_BRANCH) some parts of r8168 (Fix up suppressions for Ubuntu 8.04.)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8261

18 years agoChanged cache size passed to FFT again to half of the real cache size such that the...
Bart Van Assche [Thu, 19 Jun 2008 16:14:30 +0000 (16:14 +0000)] 
Changed cache size passed to FFT again to half of the real cache size such that the test fits again in 2 GB RAM.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8260

18 years agoRestored option -room for radiosity, which had been left out accidentally.
Bart Van Assche [Thu, 19 Jun 2008 12:42:43 +0000 (12:42 +0000)] 
Restored option -room for radiosity, which had been left out accidentally.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8259

18 years ago- The water-n2 and water-sp tests read the number of threads
Bart Van Assche [Thu, 19 Jun 2008 07:49:49 +0000 (07:49 +0000)] 
- The water-n2 and water-sp tests read the number of threads
  from their input file. The input file for these tests is now
  generated and now contains the proper number of threads.
- Some SPLASH2 benchmarks accept the syntax -p${p} but not -p ${p},
  and some accept -p ${p} but not -p${p}.
- Commented out RAYTRACE benchmark because it seems to hang with p > 1.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8256

18 years agoSupport alternative locations for the pacct file.
Bart Van Assche [Wed, 18 Jun 2008 16:07:00 +0000 (16:07 +0000)] 
Support alternative locations for the pacct file.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8255

18 years agoVSZ statistics are now reported properly. Added legend for result tables.
Bart Van Assche [Wed, 18 Jun 2008 14:15:11 +0000 (14:15 +0000)] 
VSZ statistics are now reported properly. Added legend for result tables.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8254

18 years agoAverage and standard deviation are now rounded at two digits past the decimal point.
Bart Van Assche [Wed, 18 Jun 2008 14:14:03 +0000 (14:14 +0000)] 
Average and standard deviation are now rounded at two digits past the decimal point.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8253

18 years agoVirtual memory sizes are now printed too.
Bart Van Assche [Wed, 18 Jun 2008 13:31:05 +0000 (13:31 +0000)] 
Virtual memory sizes are now printed too.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8252

18 years agoFirst two arguments of print_runtime_ratio are now avg1 and stddev1. These are no...
Bart Van Assche [Wed, 18 Jun 2008 08:56:04 +0000 (08:56 +0000)] 
First two arguments of print_runtime_ratio are now avg1 and stddev1. These are no longer taken from the environment.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8250

18 years agoThe order in which the tests are run does now match the order of the columns in the...
Bart Van Assche [Wed, 18 Jun 2008 08:47:06 +0000 (08:47 +0000)] 
The order in which the tests are run does now match the order of the columns in the tables with results.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8249

18 years agoRenamed compile-gcc into download-and-build-gcc.
Bart Van Assche [Wed, 18 Jun 2008 08:26:45 +0000 (08:26 +0000)] 
Renamed compile-gcc into download-and-build-gcc.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8248

18 years agoRenamed download-and-build-splash2 to download-and-build-splash2.in.
Bart Van Assche [Tue, 17 Jun 2008 19:19:16 +0000 (19:19 +0000)] 
Renamed download-and-build-splash2 to download-and-build-splash2.in.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8246

18 years agoMake sure the splash2 binaries are always built in the same location (exp-drd/splash2).
Bart Van Assche [Tue, 17 Jun 2008 18:31:12 +0000 (18:31 +0000)] 
Make sure the splash2 binaries are always built in the same location (exp-drd/splash2).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8245

18 years agoAdded column for --tool=none ... -p1.
Bart Van Assche [Tue, 17 Jun 2008 15:00:55 +0000 (15:00 +0000)] 
Added column for --tool=none ... -p1.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8244

18 years agoAdded column for --tool=none ... -p4.
Bart Van Assche [Tue, 17 Jun 2008 14:20:26 +0000 (14:20 +0000)] 
Added column for --tool=none ... -p4.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8243

18 years agoUpdated to do list.
Bart Van Assche [Tue, 17 Jun 2008 14:19:04 +0000 (14:19 +0000)] 
Updated to do list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8242

18 years agoUpdated results after latest optimization.
Bart Van Assche [Tue, 17 Jun 2008 06:19:29 +0000 (06:19 +0000)] 
Updated results after latest optimization.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8241

18 years agoAdded entry for DRD manual.
Bart Van Assche [Mon, 16 Jun 2008 20:31:16 +0000 (20:31 +0000)] 
Added entry for DRD manual.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8238

18 years agoOnly retained the results obtained via gcc 4.3.1. Reran Core2 E6750 measurements...
Bart Van Assche [Mon, 16 Jun 2008 20:23:23 +0000 (20:23 +0000)] 
Only retained the results obtained via gcc 4.3.1. Reran Core2 E6750 measurements after latest optimization.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8237

18 years agoYet another optimization: do not instrument loads and stores that match the address...
Bart Van Assche [Mon, 16 Jun 2008 20:22:18 +0000 (20:22 +0000)] 
Yet another optimization: do not instrument loads and stores that match the address pattern (stack pointer + offset) when data race detection on stack variables is disabled.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8236

18 years agoContinued working on DRD's documentation.
Bart Van Assche [Sun, 15 Jun 2008 12:22:37 +0000 (12:22 +0000)] 
Continued working on DRD's documentation.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8235

18 years agoUpdated Testing.txt.
Bart Van Assche [Sun, 15 Jun 2008 12:21:55 +0000 (12:21 +0000)] 
Updated Testing.txt.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8234

18 years agoChanged script such that DRD times are compared to native -p4 time instead of native...
Bart Van Assche [Sun, 15 Jun 2008 09:13:28 +0000 (09:13 +0000)] 
Changed script such that DRD times are compared to native -p4 time instead of native -p1 time.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8231

18 years agoAdded more results.
Bart Van Assche [Fri, 13 Jun 2008 19:44:51 +0000 (19:44 +0000)] 
Added more results.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8230

18 years agoPropagate the error number in x86 signal contexts to the client.
Tom Hughes [Fri, 13 Jun 2008 08:37:49 +0000 (08:37 +0000)] 
Propagate the error number in x86 signal contexts to the client.
Fixes bug #163933.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8229

18 years agoget_otrack_shadow_offset_wrk: don't assert when handling 32 bit
Julian Seward [Fri, 13 Jun 2008 07:44:02 +0000 (07:44 +0000)] 
get_otrack_shadow_offset_wrk: don't assert when handling 32 bit
accesses to the x87 registers.  Fixes #163794.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8228

18 years agoStarted converting README.txt into drd-manual.xml.
Bart Van Assche [Thu, 12 Jun 2008 15:20:42 +0000 (15:20 +0000)] 
Started converting README.txt into drd-manual.xml.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8227

18 years agoAdded results obtained with gcc 4.3.1.
Bart Van Assche [Thu, 12 Jun 2008 13:50:40 +0000 (13:50 +0000)] 
Added results obtained with gcc 4.3.1.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8226

18 years agoReplaced gcc version 3.4.0 by 3.4.1. Set LC_ALL=C such that gcc's warning messages...
Bart Van Assche [Thu, 12 Jun 2008 13:49:49 +0000 (13:49 +0000)] 
Replaced gcc version 3.4.0 by 3.4.1. Set LC_ALL=C such that gcc's warning messages show up properly in emacs compile window.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8225

18 years agoDisabled bitmap cache rotation optimization because not all gcc versions compile...
Bart Van Assche [Thu, 12 Jun 2008 06:04:59 +0000 (06:04 +0000)] 
Disabled bitmap cache rotation optimization because not all gcc versions compile it correctly.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8224

18 years ago- Renamed s_bitmap2_creation_count into s_bitmap2_node_creation_count.
Bart Van Assche [Wed, 11 Jun 2008 19:17:01 +0000 (19:17 +0000)] 
- Renamed s_bitmap2_creation_count into s_bitmap2_node_creation_count.
- Bug fix: bm_get_bitmap2_node_creation_count() now returns the correct
  counter.
- More tl_assert() calls in drd_bitmap.h that were commented out are now
  surrounded by #ifdef ENABLE_DRD_CONSISTENCY_CHECKS / #endif.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8223

18 years agoUpdated to do list.
Bart Van Assche [Wed, 11 Jun 2008 18:38:20 +0000 (18:38 +0000)] 
Updated to do list.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8222

18 years agoFixed compiler warning.
Bart Van Assche [Wed, 11 Jun 2008 18:37:59 +0000 (18:37 +0000)] 
Fixed compiler warning.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8221

18 years agoUpdated after level-2 bitmap size change.
Bart Van Assche [Wed, 11 Jun 2008 18:37:34 +0000 (18:37 +0000)] 
Updated after level-2 bitmap size change.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8220

18 years ago- Reduced level two bitmap size from 2**16 to 2**14 addresses. This
Bart Van Assche [Wed, 11 Jun 2008 13:17:56 +0000 (13:17 +0000)] 
- Reduced level two bitmap size from 2**16 to 2**14 addresses. This
  improves the performance of exp-drd (with default settings) for
  some tests.
- Some consistency checks were commented out via #if 0 / #endif because
  of performance reasons. Replaced #if 0 by
  #ifdef ENABLE_DRD_CONSISTENCY_CHECKS.
- Enabled -DENABLE_DRD_CONSISTENCY_CHECKS for the drd_bitmap_test
  regression test.
- Updated performance measurements.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8219

18 years agoUpdated results after latest optimizations.
Bart Van Assche [Wed, 11 Jun 2008 06:31:43 +0000 (06:31 +0000)] 
Updated results after latest optimizations.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8218

18 years agoUpdated results after latest optimizations.
Bart Van Assche [Wed, 11 Jun 2008 06:30:13 +0000 (06:30 +0000)] 
Updated results after latest optimizations.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8217

18 years agoUpdated after latest optimizations.
Bart Van Assche [Tue, 10 Jun 2008 19:32:20 +0000 (19:32 +0000)] 
Updated after latest optimizations.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8216

18 years agoAnother small optimization: moved code for printing memory accesses from run-time...
Bart Van Assche [Tue, 10 Jun 2008 13:55:13 +0000 (13:55 +0000)] 
Another small optimization: moved code for printing memory accesses from run-time to instrumentation-time.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8215

18 years agoReworked code for memory tracing.
Bart Van Assche [Tue, 10 Jun 2008 12:51:51 +0000 (12:51 +0000)] 
Reworked code for memory tracing.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8214

18 years agoUpdated results after last optimization.
Bart Van Assche [Tue, 10 Jun 2008 11:27:07 +0000 (11:27 +0000)] 
Updated results after last optimization.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8213

18 years agoOnly enable the cache rotation optimization for gcc 4.2 and later.
Bart Van Assche [Tue, 10 Jun 2008 06:32:49 +0000 (06:32 +0000)] 
Only enable the cache rotation optimization for gcc 4.2 and later.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8212

18 years agoRun test only with one thread and with ten threads -- skip values inbetween.
Bart Van Assche [Mon, 9 Jun 2008 19:52:37 +0000 (19:52 +0000)] 
Run test only with one thread and with ten threads -- skip values inbetween.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8211

18 years agoCorrected rounding.
Bart Van Assche [Mon, 9 Jun 2008 19:51:41 +0000 (19:51 +0000)] 
Corrected rounding.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8210

18 years agoImplemented cache rotation.
Bart Van Assche [Mon, 9 Jun 2008 19:50:51 +0000 (19:50 +0000)] 
Implemented cache rotation.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8209

18 years agoMemory tracing now also works while not recording memory accesses for conflict analys...
Bart Van Assche [Mon, 9 Jun 2008 15:18:59 +0000 (15:18 +0000)] 
Memory tracing now also works while not recording memory accesses for conflict analysis. Added branch prediction hints.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8208

18 years agoCommented out assert statements because of performance reasons.
Bart Van Assche [Mon, 9 Jun 2008 15:08:22 +0000 (15:08 +0000)] 
Commented out assert statements because of performance reasons.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8207

18 years agoReran benchmark after latest optimizations.
Bart Van Assche [Mon, 9 Jun 2008 12:43:20 +0000 (12:43 +0000)] 
Reran benchmark after latest optimizations.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8206

18 years agoUpdated results.
Bart Van Assche [Sun, 8 Jun 2008 14:44:41 +0000 (14:44 +0000)] 
Updated results.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8205

18 years agoOnly run tests with -p4 -- omitted -p1 and -p2.
Bart Van Assche [Sun, 8 Jun 2008 11:22:23 +0000 (11:22 +0000)] 
Only run tests with -p4 -- omitted -p1 and -p2.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8204

18 years agoMore maual inlining.
Bart Van Assche [Sun, 8 Jun 2008 11:21:34 +0000 (11:21 +0000)] 
More maual inlining.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8203

18 years agoMoved shell commands for running matinv to a separate file.
Bart Van Assche [Sun, 8 Jun 2008 08:09:50 +0000 (08:09 +0000)] 
Moved shell commands for running matinv to a separate file.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8202

18 years agoDeclared more inline functions static, such that the compiler can omit the out-of...
Bart Van Assche [Sun, 8 Jun 2008 08:08:31 +0000 (08:08 +0000)] 
Declared more inline functions static, such that the compiler can omit the out-of-line code.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8201

18 years agoReorganized SPLASH-2 benchmarking script.
Bart Van Assche [Sat, 7 Jun 2008 11:40:14 +0000 (11:40 +0000)] 
Reorganized SPLASH-2 benchmarking script.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8200

18 years agoSplit long line.
Bart Van Assche [Sat, 7 Jun 2008 10:43:26 +0000 (10:43 +0000)] 
Split long line.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8199

18 years ago- Output is now saved in a ${PROGRAM}.out file.
Bart Van Assche [Sat, 7 Jun 2008 10:42:52 +0000 (10:42 +0000)] 
- Output is now saved in a ${PROGRAM}.out file.
- Next to --check-stack-var=no, DRD with --check-stack-var=yes is also
  timed.
- Added timing results for DRD compiled with gcc 4.2.1.
- Cache size specified to SPLASH-2 programs is now half of the CPU L2
  cache instead of the whole cache.
- Removed command-line argument from CHOLESKY run that was not
  understood by that program.
- Changed FFT problem size from -m20 to -m18 such that it fits in 2 GB
  RAM.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8198

18 years agoEnabled more inlining.
Bart Van Assche [Sat, 7 Jun 2008 10:26:31 +0000 (10:26 +0000)] 
Enabled more inlining.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8197

18 years agoSpeed up analysis of programs that access the thread stack intensively.
Bart Van Assche [Fri, 6 Jun 2008 14:31:36 +0000 (14:31 +0000)] 
Speed up analysis of programs that access the thread stack intensively.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8196

18 years agoEnable more optimization opportunities.
Bart Van Assche [Fri, 6 Jun 2008 10:18:24 +0000 (10:18 +0000)] 
Enable more optimization opportunities.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8195

18 years agoThe run-splash2 script now works regardless from which directory it is started in.
Bart Van Assche [Fri, 6 Jun 2008 10:17:26 +0000 (10:17 +0000)] 
The run-splash2 script now works regardless from which directory it is started in.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8194

18 years agoRemoved duplicate invocation of radiosity. Updated results after optimizations.
Bart Van Assche [Thu, 5 Jun 2008 13:47:15 +0000 (13:47 +0000)] 
Removed duplicate invocation of radiosity. Updated results after optimizations.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8193

18 years agoUse same inputs as in ITC paper for water-nsquared and water-spatial.
Bart Van Assche [Thu, 5 Jun 2008 10:14:53 +0000 (10:14 +0000)] 
Use same inputs as in ITC paper for water-nsquared and water-spatial.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8192

18 years agoJoined if-statements.
Bart Van Assche [Thu, 5 Jun 2008 09:01:52 +0000 (09:01 +0000)] 
Joined if-statements.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8191

18 years agoManual inlining.
Bart Van Assche [Thu, 5 Jun 2008 08:53:42 +0000 (08:53 +0000)] 
Manual inlining.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8190

18 years agoIntroduced bm_access_*_triggers_conflict() functions.
Bart Van Assche [Thu, 5 Jun 2008 08:29:53 +0000 (08:29 +0000)] 
Introduced bm_access_*_triggers_conflict() functions.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8189

18 years agoEnabled parallel compilation.
Bart Van Assche [Wed, 4 Jun 2008 18:57:08 +0000 (18:57 +0000)] 
Enabled parallel compilation.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8188

18 years agoDocumentation updates.
Bart Van Assche [Wed, 4 Jun 2008 18:08:10 +0000 (18:08 +0000)] 
Documentation updates.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8187

18 years agoAdded more SPLASH-2 tests.
Bart Van Assche [Wed, 4 Jun 2008 13:02:22 +0000 (13:02 +0000)] 
Added more SPLASH-2 tests.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8186

18 years agoSync with 3_3_BRANCH.
Julian Seward [Wed, 4 Jun 2008 11:47:51 +0000 (11:47 +0000)] 
Sync with 3_3_BRANCH.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8185

18 years agoTry to make this test more consistent across different machines.
Nicholas Nethercote [Wed, 4 Jun 2008 09:41:53 +0000 (09:41 +0000)] 
Try to make this test more consistent across different machines.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8182

18 years agoTranslate "fnstsw %ax" in a slightly different way, which plays better
Julian Seward [Wed, 4 Jun 2008 09:10:38 +0000 (09:10 +0000)] 
Translate "fnstsw %ax" in a slightly different way, which plays better
with Memcheck's origin tracking stuff.  a.k.a. a lame kludge.  See
comments in source.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1855

18 years agoFollowup to r8178: don't segfault if VG_(clo_log_name) is NULL.
Julian Seward [Wed, 4 Jun 2008 09:07:36 +0000 (09:07 +0000)] 
Followup to r8178: don't segfault if VG_(clo_log_name) is NULL.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8181

18 years agoReinstate printing of log-file-qualifiers in XML output (Ashley Pittman).
Julian Seward [Wed, 4 Jun 2008 06:51:58 +0000 (06:51 +0000)] 
Reinstate printing of log-file-qualifiers in XML output (Ashley Pittman).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8178

18 years agoAdd '*flags |= SfMayBlock' to PRE(sys_sync_file_range).
Julian Seward [Wed, 4 Jun 2008 06:49:56 +0000 (06:49 +0000)] 
Add '*flags |= SfMayBlock' to PRE(sys_sync_file_range).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8177

18 years agoImport recent suppression upgrades from 3_3_BRANCH:
Julian Seward [Tue, 3 Jun 2008 20:58:46 +0000 (20:58 +0000)] 
Import recent suppression upgrades from 3_3_BRANCH:
revs 8163 8166 8167 8168.

Also, mention glibc-2.X.supp.in in Makefile.am so it gets included
in the distro tarball.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8176

18 years agoAdded Cholesky and FFT.
Bart Van Assche [Tue, 3 Jun 2008 15:12:59 +0000 (15:12 +0000)] 
Added Cholesky and FFT.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8175

18 years agoMade script more robusts. Ratio is now always computed relative to the non-Valgrind...
Bart Van Assche [Tue, 3 Jun 2008 11:41:19 +0000 (11:41 +0000)] 
Made script more robusts. Ratio is now always computed relative to the non-Valgrind single-CPU run.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8174

18 years agoModified TLS-test slightly: the program checking for TLS support is now compiled...
Bart Van Assche [Mon, 2 Jun 2008 07:14:20 +0000 (07:14 +0000)] 
Modified TLS-test slightly: the program checking for TLS support is now compiled, linked and run when compiling natively and compiled and linked only when cross-compiling. Before it was compiled and linked only, both for native and cross-compilation.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8172

18 years agoTry to make these tests more reliable for different machines.
Nicholas Nethercote [Sun, 1 Jun 2008 22:49:25 +0000 (22:49 +0000)] 
Try to make these tests more reliable for different machines.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8171

18 years agoChanged _Spec::mandatory from HChar* into const HChar*. If no symbol information...
Bart Van Assche [Sun, 1 Jun 2008 16:33:37 +0000 (16:33 +0000)] 
Changed _Spec::mandatory from HChar* into const HChar*. If no symbol information is found in ld.so during startup of the exp-drd tool, let Valgrind abort and print an informative error message.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8170

18 years agoAdded intercepts for strlen() and strnlen().
Bart Van Assche [Sun, 1 Jun 2008 08:48:48 +0000 (08:48 +0000)] 
Added intercepts for strlen() and strnlen().

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8165

18 years agoFixed typo.
Bart Van Assche [Sun, 1 Jun 2008 07:33:14 +0000 (07:33 +0000)] 
Fixed typo.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8164

18 years agoUpdate.
Julian Seward [Sat, 31 May 2008 08:33:59 +0000 (08:33 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8161

18 years ago- Replaced algorithm for suppressing false positives on symbol
Bart Van Assche [Sat, 31 May 2008 07:55:51 +0000 (07:55 +0000)] 
- Replaced algorithm for suppressing false positives on symbol
  relocations: instead of not instrumenting code in .plt sections (which
  is x86 specific), suppress all data accesses to .plt and .got.plt
  sections (which works both on x86 and on PowerPC).
- A warning is now printed upon startup to inform users about false
  positives which will be reported on PowerPC because with the current
  version of VEX it is impossible for tools to recognize atomic PowerPC
  instructions as such.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8160

18 years agoIn some obscure circumstances, the allocator would incorrectly omit a
Julian Seward [Fri, 30 May 2008 22:58:07 +0000 (22:58 +0000)] 
In some obscure circumstances, the allocator would incorrectly omit a
spill store on the basis that the register being spilled had the same
value as the spill slot being written to.  This change is believed to
make the equals-spill-slot optimisation correct.  Fixes a bug first
observed by Nuno Lopes and later by Marc-Oliver Straub.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1853

18 years agoDon't complain on .got.plt sections of size zero. Apparently such
Bart Van Assche [Fri, 30 May 2008 13:21:13 +0000 (13:21 +0000)] 
Don't complain on .got.plt sections of size zero. Apparently such
sections are generated by older toolchains (binutils 2.15.90.0.3 ?)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8158

18 years agoUpdated scripts for running SPLASH-2.
Bart Van Assche [Fri, 30 May 2008 09:52:13 +0000 (09:52 +0000)] 
Updated scripts for running SPLASH-2.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8157

18 years agoupdate
Nicholas Nethercote [Thu, 29 May 2008 23:18:18 +0000 (23:18 +0000)] 
update

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8156

18 years agoFix a bug in Massif and Cachegrind, whereby if program's forked, the child
Nicholas Nethercote [Thu, 29 May 2008 23:09:52 +0000 (23:09 +0000)] 
Fix a bug in Massif and Cachegrind, whereby if program's forked, the child
wrote into the parent's output file even if %p was specified.

Josef, I think Callgrind does not have this bug, but you might want to say
something about forking in the manual, as I have done for Massif and
Cachegrind.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8154

18 years agoAllow 64-byte line sizes (PA6T cpu).
Julian Seward [Thu, 29 May 2008 16:39:57 +0000 (16:39 +0000)] 
Allow 64-byte line sizes (PA6T cpu).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8151

18 years agoAllow 64-byte line sizes (PA6T cpu).
Julian Seward [Thu, 29 May 2008 16:39:21 +0000 (16:39 +0000)] 
Allow 64-byte line sizes (PA6T cpu).

git-svn-id: svn://svn.valgrind.org/vex/trunk@1851

18 years agoMake the size calculations inside VG_(mallinfo) 64-bit clean.
Julian Seward [Thu, 29 May 2008 13:45:49 +0000 (13:45 +0000)] 
Make the size calculations inside VG_(mallinfo) 64-bit clean.

I don't really understand how 'struct mallinfo' makes any sense on a
64-bit platform given that all the field sizes are 32-bit ints, and
surely at least .arena and .uordblocks and probably others could
easily exceed 32-bit range.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8149

18 years agoMore fiddling with the sys_signalfd wrapper.
Julian Seward [Thu, 29 May 2008 12:56:08 +0000 (12:56 +0000)] 
More fiddling with the sys_signalfd wrapper.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8147

18 years agoIn the leak checker, don't assert when there are multiple identical
Julian Seward [Thu, 29 May 2008 12:23:24 +0000 (12:23 +0000)] 
In the leak checker, don't assert when there are multiple identical
blocks in the lc_shadows array.  Such a situation could arise from
incorrect use of VALGRIND_MALLOCLIKE_BLOCK, and has been observed to
cause assertion failures for some runs of Wine on Valgrind.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8144

18 years agoMake sure the debug information is read before a tool is notified about an mmap(...
Bart Van Assche [Thu, 29 May 2008 08:52:44 +0000 (08:52 +0000)] 
Make sure the debug information is read before a tool is notified about an mmap() system call.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8142

18 years agoAdded to repository.
Bart Van Assche [Thu, 29 May 2008 08:34:27 +0000 (08:34 +0000)] 
Added to repository.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8141

18 years agoAdd initial glibc-2.8 support for Helgrind.
Julian Seward [Thu, 29 May 2008 07:26:28 +0000 (07:26 +0000)] 
Add initial glibc-2.8 support for Helgrind.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8140

18 years agoRefinements: added check for /usr/include/tiffio.h and added compiler flag -g3.
Bart Van Assche [Wed, 28 May 2008 13:38:15 +0000 (13:38 +0000)] 
Refinements: added check for /usr/include/tiffio.h and added compiler flag -g3.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8139

18 years agoTidy up timerfd wrapper stuff a bit:
Julian Seward [Wed, 28 May 2008 11:06:08 +0000 (11:06 +0000)] 
Tidy up timerfd wrapper stuff a bit:

* make linux_kernel_2_6_22 return Bool

* linux_kernel_2_6_22: don't assert if /proc/sys/kernel/osrelease
  can't be opened

* PRE(sys_timerfd_create), PRE(sys_signalfd):
  use %ld for Word arguments, and use house types

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8138