Commit Graph

6152 Commits

Author SHA1 Message Date
Bart Van Assche
d6bb5c34d0 DRD now prints where a mutex appeared for the first time in addition to
the mutex address when an error message is printed for condition
variables.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8296
2008-06-28 13:40:41 +00:00
Bart Van Assche
806d5abe6d Some time ago reporting sending POSIX signals where the mutex associated
with the signal via pthread_cond_wait()/pthread_cond_timedwait() was
disabled. Reenabled this report, made it configurable, and added a
regression test for the new command line option.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8295
2008-06-28 13:01:30 +00:00
Bart Van Assche
58985b01c3 Delayed thread termination such that the "other segment" information is included in the data race reports.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8294
2008-06-28 11:53:01 +00:00
Bart Van Assche
0ea6042a1d Moved shell statements for building Firefox to a separate file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8293
2008-06-28 10:00:37 +00:00
Bart Van Assche
28af04a202 Swapped two mkdir statements.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8292
2008-06-28 09:59:35 +00:00
Bart Van Assche
ce8fccbac1 Renamed "danger set" into "conflict set".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8291
2008-06-28 07:19:56 +00:00
Bart Van Assche
a82e55b5c2 Fixed typo.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8290
2008-06-27 19:25:35 +00:00
Bart Van Assche
3211ffbf8f Moved --trace-segment from regular to debugging options.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8289
2008-06-27 15:00:07 +00:00
Bart Van Assche
9d908446bc Added a reference to a paper about data race detection.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8288
2008-06-27 14:56:48 +00:00
Bart Van Assche
af97950f23 Continued working on the DRD documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8287
2008-06-27 14:56:06 +00:00
Bart Van Assche
57e17d3ef7 Fixed filter.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8286
2008-06-27 07:50:11 +00:00
Bart Van Assche
9c5e7c6670 Added extra filtering for the stderr output of malloc_free_fill such that the output of this test becomes independent of the Linux distribution the test is run on. Should fix #162819.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8285
2008-06-27 07:33:18 +00:00
Bart Van Assche
8a111b33ff Let the compiler print a comprehensible error message if it does not provide built-in functions for atomic memory access.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8284
2008-06-26 08:58:25 +00:00
Bart Van Assche
15b27d8ff0 Added configure test for the gcc/icc built-in functions for atomic memory access (__sync_bool_compare_and_swap() a.o.).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8283
2008-06-26 08:43:12 +00:00
Bart Van Assche
1af3a135df Added ppc implementation of atomic compare and swap.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8282
2008-06-26 08:34:53 +00:00
Bart Van Assche
6c54624109 Use same flags for OpenMP regression tests as for the other regression tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8281
2008-06-26 07:31:15 +00:00
Bart Van Assche
c2cfeda8fe Minor change of the help text.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8280
2008-06-26 07:30:32 +00:00
Bart Van Assche
b3013e9de9 Reworked test such that file locking is now triggered from two different processes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8277
2008-06-24 09:54:05 +00:00
Julian Seward
9263da368a Handle apparently-bogus DW_TAG_compilation_unit DIE that shows up in
gcc-4.3 output.  My reading of the DWARF3 standard is that a
DW_TAG_compilation_unit should have either DW_AT_ranges or a
(DW_AT_low_pc, DW_AT_high_pc) pair, but not both.  So I think this is
a gcc bug.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8276
2008-06-24 09:51:55 +00:00
Julian Seward
5187274475 Suppress false positives in Memcheck caused by very clever coding in zlib.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8275
2008-06-24 09:48:39 +00:00
Bart Van Assche
f15fefe571 Added missing mode_t argument to open() system call.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8274
2008-06-23 18:57:48 +00:00
Bart Van Assche
a2422543c7 Changed the unusual "%s", "" back to "".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8273
2008-06-23 12:41:00 +00:00
Bart Van Assche
b2389ef1a1 Fixed mismatches between format string and argument list. Output should be binary identical to the output before this patch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8272
2008-06-23 12:29:53 +00:00
Bart Van Assche
bad4b265c9 Result of timerfd() syscall is no longer printed to stdout, which should make this regression test more reproducible.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8271
2008-06-23 12:25:12 +00:00
Bart Van Assche
8cf513b069 Pass the flag -Wno-format-zero-length to gcc (if supported by gcc) while compiling tools. This flag only affects those tools for which -Wformat is enabled (at this time only exp-drd).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8270
2008-06-23 12:11:49 +00:00
Bart Van Assche
857eaf6fdb Added regression test for POSIX advisory locking (fcntl(..., F_SETFL, ...)).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8269
2008-06-23 11:43:28 +00:00
Bart Van Assche
4b1b317c6c Eliminated out-of-line copy of vc_lte().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8268
2008-06-22 13:05:00 +00:00
Bart Van Assche
938e9d01c7 Updated results.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8267
2008-06-21 18:16:40 +00:00
Bart Van Assche
bd28f145d5 Moved support for Linux-specific system call sys_init_module from generic to Linux wrappers. Added wrapper for sys_delete_module system call.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8266
2008-06-21 16:28:24 +00:00
Bart Van Assche
c279a0ffc9 Works now with older kernels too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8265
2008-06-21 08:07:40 +00:00
Bart Van Assche
3c637bfefd Re-enabled raytrace.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8264
2008-06-20 12:37:41 +00:00
Bart Van Assche
e3ebca1d59 Enabled support for the init_module() system call on amd64. Should fix #164476.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8263
2008-06-20 10:41:12 +00:00
Bart Van Assche
5a37590fbb Disabled radiosity test because it seems to hang when p >= 2. Updated results.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8262
2008-06-20 07:52:28 +00:00
Julian Seward
f2b962ebbd 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
2008-06-19 16:24:49 +00:00
Bart Van Assche
31754e41fc 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
2008-06-19 16:14:30 +00:00
Bart Van Assche
512f8c64e6 Restored option -room for radiosity, which had been left out accidentally.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8259
2008-06-19 12:42:43 +00:00
Bart Van Assche
078fb260d9 - 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
2008-06-19 07:49:49 +00:00
Bart Van Assche
9e3684c505 Support alternative locations for the pacct file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8255
2008-06-18 16:07:00 +00:00
Bart Van Assche
25ab5b9219 VSZ statistics are now reported properly. Added legend for result tables.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8254
2008-06-18 14:15:11 +00:00
Bart Van Assche
d1fe3e0bc2 Average and standard deviation are now rounded at two digits past the decimal point.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8253
2008-06-18 14:14:03 +00:00
Bart Van Assche
769e39671c Virtual memory sizes are now printed too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8252
2008-06-18 13:31:05 +00:00
Bart Van Assche
4db86b0c4d 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
2008-06-18 08:56:04 +00:00
Bart Van Assche
17419023dd 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
2008-06-18 08:47:06 +00:00
Bart Van Assche
20f13cbcc9 Renamed compile-gcc into download-and-build-gcc.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8248
2008-06-18 08:26:45 +00:00
Bart Van Assche
3f7ea77263 Renamed download-and-build-splash2 to download-and-build-splash2.in.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8246
2008-06-17 19:19:16 +00:00
Bart Van Assche
6a3cfea056 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
2008-06-17 18:31:12 +00:00
Bart Van Assche
5b66ef4936 Added column for --tool=none ... -p1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8244
2008-06-17 15:00:55 +00:00
Bart Van Assche
389ac8ea37 Added column for --tool=none ... -p4.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8243
2008-06-17 14:20:26 +00:00
Bart Van Assche
45f04281f7 Updated to do list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8242
2008-06-17 14:19:04 +00:00
Bart Van Assche
fc652b8ed4 Updated results after latest optimization.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8241
2008-06-17 06:19:29 +00:00