Bart Van Assche
0d37e7cf29
Move --child-silent-after-fork=yes from drd/tests/threaded-fork.vgtest to drd/tests/verify-xml-output
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12161
2011-10-15 07:27:56 +00:00
Bart Van Assche
a110d56510
drd/tests/threaded-fork: Make sure that the generated XML output is valid
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12159
2011-10-14 18:02:21 +00:00
Bart Van Assche
077d9ba4c2
drd, XML testing: trigger more XMLcode
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12158
2011-10-14 18:01:18 +00:00
Bart Van Assche
66ba22b5a4
drd, XML: more xsd refinements
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12157
2011-10-14 18:00:06 +00:00
Bart Van Assche
8a25238262
drd: Add drd/docs/drd-xml-output.xsd to the distribution tarball
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12156
2011-10-14 17:53:30 +00:00
Bart Van Assche
6145f83cda
Document command-line switches new in version 3.7.0
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12149
2011-10-13 18:51:47 +00:00
Bart Van Assche
221abe7451
Document command-line switches new in version 3.7.0
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12148
2011-10-13 18:50:15 +00:00
Bart Van Assche
7ee7cc8779
drd, XML: add xsd schema description and a script to verify the DRD XML output against the xsd
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12147
2011-10-13 18:16:29 +00:00
Bart Van Assche
45e4d0e7ee
drd, XML tracing: move newline generation into DRD_(trace_msg)() / change tracing output format slightly.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12146
2011-10-13 18:04:30 +00:00
Bart Van Assche
a1bf83f581
drd, XML: more XML output consistency improvements
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12145
2011-10-13 16:47:53 +00:00
Bart Van Assche
ef91802c74
drd, XML: make the XML output a little easier to parse
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12144
2011-10-13 16:42:49 +00:00
Bart Van Assche
8aa868f0d7
drd/tests/filter_stderr: Don't touch XML tags
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12142
2011-10-13 16:30:05 +00:00
Bart Van Assche
539cdca4a5
drd, XML: Use proper XML syntax
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12140
2011-10-13 16:10:49 +00:00
Bart Van Assche
ca5c77ac7e
Set svn:executable property
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12138
2011-10-12 06:01:39 +00:00
Bart Van Assche
b7a5b789ef
drd: Enable XML output. See also #282949 . To do: document the output format.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12137
2011-10-11 19:08:39 +00:00
Bart Van Assche
75ef4aad27
Update expected output - the ppc output changed due to r12038.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12132
2011-10-10 06:10:11 +00:00
Bart Van Assche
92017bcd59
drd: Use Vg_DebugMsg for debug messages
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12122
2011-10-08 08:56:27 +00:00
Bart Van Assche
c05ada3180
drd: Convert a few VG_(message)() calls into VG_(maybe_record_error)() calls
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12121
2011-10-08 08:54:57 +00:00
Bart Van Assche
9d1823dac9
DRD, refactoring: Introduce DRD_(trace_msg)()
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12120
2011-10-08 08:29:29 +00:00
Florian Krohm
3d2244f569
Fix GCC warnings about incompatible pointer assignments.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12105
2011-10-05 14:49:12 +00:00
Bart Van Assche
58b046b78d
drd, s390: Make the annotate_ignore_* and the pth_barrier* tests produce
...
the same output on s390 as on other systems (not tested yet).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12103
2011-10-05 13:10:30 +00:00
Bart Van Assche
83f6f0137f
Make drd/drd_pthread_intercepts.c compile again on Linux systems without usable <linux/futex.h> header
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12035
2011-09-17 06:24:49 +00:00
Florian Krohm
1423416745
Add exp files for s390x. GCC's use of the MVC insn causes
...
duplicate errors and a different memory access pattern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12034
2011-09-13 16:00:38 +00:00
Julian Seward
4bc0e6e01e
For intercepts in libc and the dynamic linker (ld.so or dyld), split
...
the Linux and Darwin definitions so they are in completely separate
ifdefs -- iow, remove any definitions that are common to both. This
gives some duplication, but the upside is that it is now possible to
edit the Darwin intercepts without fear of breaking the Linux ones.
This will be important when it comes to supporting OSX 10.7.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12009
2011-09-05 20:39:57 +00:00
Bart Van Assche
0213090306
drd: Yet another regression test reliability improvement.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12004
2011-08-30 15:09:37 +00:00
Bart Van Assche
5547d1545e
drd: Avoid reporting false positive race reports inside pthread_join().
...
Note: I haven't analyzed yet since which commit these false positives
started to appear but it's most likely a commit applied after the 3.6
release.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12003
2011-08-24 15:02:21 +00:00
Bart Van Assche
7f6fd2519e
Remove the svn:executable property from a source file
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11999
2011-08-22 14:35:04 +00:00
Bart Van Assche
e6b3e4178d
drd/tests/pth_barrier: Reduce stack usage
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11968
2011-08-12 15:21:31 +00:00
Florian Krohm
5800c7271c
Check return code of pthread_create and bail out if
...
the function failed. This helps on systems which don't
have lots of memory.
Suggested by Christian Borntraeger.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11967
2011-08-12 15:07:10 +00:00
Bart Van Assche
a99feb5763
Yet another thread test scheduler sensitivity fix
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11953
2011-07-30 16:50:33 +00:00
Bart Van Assche
93234dd711
drd: Make racing pthread_barrier_wait() calls trigger an error message instead
...
of an assertion failure. Also, make barrier tracing output more detailed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11951
2011-07-30 09:35:56 +00:00
Bart Van Assche
e8285a3968
drd/tests/pth_barrier_thr_cr: Suppress pthread_barrier_wait() race reports since these are triggered intentionally.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11950
2011-07-30 09:29:20 +00:00
Bart Van Assche
5a2a69e658
drd/tests/pth_barrier_thr_cr: Add more error checking.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11949
2011-07-30 09:28:13 +00:00
Bart Van Assche
ff483e0d84
drd/tests/tc21_pthonce: Eliminate output variation
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11947
2011-07-29 14:23:23 +00:00
Bart Van Assche
ab40e94dad
drd: Fix a race condition in the barrier implementation that could result in false positives.
...
What could occur before this fix is:
- The pthread_barrier() call in a first thread finishes.
- Another thread invokes pthread_join() on that thread, causing the information
associated with that thread to be removed from the barrier object.
- The pthread_barrier() call in another thread finishes. Because some
thread information has already been removed from the barrier object, the
per-thread vector clock "last" won't be computed correctly by
DRD_(barrier_post_wait)().
- Because of the above false positives could be reported.
This resulted in sporadic failure of the drd/tests/matinv regression test, and
should now be fixed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11945
2011-07-29 12:39:44 +00:00
Bart Van Assche
5c64e2ce11
drd: Add a stress test for the barrier implementation
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11944
2011-07-29 12:32:53 +00:00
Bart Van Assche
26c2208f48
drd: Remove an unused member variable from the barrier implementation
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11943
2011-07-29 12:31:33 +00:00
Bart Van Assche
0230aa2ac2
drd: drd_thread.c source code cleanup
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11942
2011-07-29 12:30:43 +00:00
Bart Van Assche
d9e5622baf
drd, bitmap node allocator: recognize root node size properly
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11941
2011-07-29 07:26:01 +00:00
Bart Van Assche
174c18de1d
drd/tests/pth_barrier[23]: Filter output such that only the error count is kept
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11940
2011-07-29 07:22:29 +00:00
Bart Van Assche
ea04ec55b6
Yet another thread test scheduler sensitivity fix
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11939
2011-07-29 06:58:16 +00:00
Bart Van Assche
d290f025a1
drd/tests/pth_once: Restrict the number of callers to three.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11938
2011-07-29 06:54:22 +00:00
Bart Van Assche
85a61a6c6f
drd: Remove a too strict assert() statement
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11937
2011-07-29 06:30:23 +00:00
Bart Van Assche
fe979eb8e9
Yet another thread test scheduler sensitivity fix
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11936
2011-07-29 06:12:51 +00:00
Bart Van Assche
01e205cfc3
drd/tests/pth_detached_sem: Send regression test output to stderr instead of stdout
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11935
2011-07-29 05:44:38 +00:00
Bart Van Assche
259006daec
Verify drd/tests/pth_detached stderr output instead of the stdout output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11933
2011-07-28 18:06:44 +00:00
Bart Van Assche
19cbbaf2ae
Two more scheduler sensitivity fixes for thread tool regression tests
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11931
2011-07-28 17:41:49 +00:00
Bart Van Assche
f396bddd5c
Micro-optimize the matinv regression test
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11930
2011-07-28 17:40:49 +00:00
Bart Van Assche
08eecbf85d
drd: Make drd_pthread_intercepts.c compile again on systems where
...
FUTEX_PRIVATE_FLAG has not been defined in <linux/futex.h>, e.g. older System z
systems.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11929
2011-07-28 15:04:08 +00:00
Bart Van Assche
bce3207562
Make test 1 output independent of scheduler variations.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11928
2011-07-28 15:01:01 +00:00