Commit Graph

5426 Commits

Author SHA1 Message Date
Nicholas Nethercote
d17c45b9d1 Document flakiness of NON_SIMD_CALL* in comments and the manual.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7279
2007-12-05 21:51:50 +00:00
Julian Seward
5e06b17d65 Rename a header file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7278
2007-12-05 01:31:42 +00:00
Julian Seward
575143a24c Update expected outputs. Use new naming scheme now permitted by
tests/vg_regtest.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7277
2007-12-05 01:19:20 +00:00
Nicholas Nethercote
d603809d62 Minor Massif docs clarifications.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7276
2007-12-04 21:35:55 +00:00
Julian Seward
de4d2156cc DRD changes (Bart Van Assche)
* Add docs: exp-drd/docs/README.txt
* Added one drd suppression pattern, and cleaned up the suppression file.
* All regression tests now pass on x86_64 and i386, including sigalrm.
* Updated TODO.txt file.
* pth_create_chain test is now started with 100 threads instead of 10
  -- 10 was not enough.
* DRD no longer exits on PPC32 and PPC64 but just prints a warning
  message before it starts.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7275
2007-12-04 21:27:18 +00:00
Nicholas Nethercote
aac5718e0a Remove client requests that were deprecated in 3.2.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7274
2007-12-04 21:18:06 +00:00
Julian Seward
d03d7532bd Handle semaphore-related syscalls.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7273
2007-12-04 16:12:54 +00:00
Josef Weidendorfer
094c96388c Update old (and wrong) parts of callgrind documentation.
This obviously was already wrong in 3.2.x :-(

* Old --fn-recursion=... / --fn-caller=... options are called
  --separate-recs=... / --separate-callers=... since quite some
  time for consistency with e.g. --separate-threads=yes.
  Error noted from bug 153335.
* Function specifications support wildcards since quite some time;
  specification of a prefix only does not work, but the full
  function has to match. This was needed to allow to specify 'foo'
  without also specifying 'foo1'.
* The script 'callgrind' does not exist since merging into
  valgrind.
* Rename callgrind from being a 'heavyweight' to a 'call graph'
  profiler, similar to the description in the quick start overview.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7272
2007-12-04 10:09:24 +00:00
Nicholas Nethercote
45e64b14ea tweak message
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7271
2007-12-04 03:27:40 +00:00
Nicholas Nethercote
75c47cfb3c Two changes:
- Be more robust in the face of malformed stack traces.  This avoids some
  potential assertion errors (which have affected prior versions of Massif),
  but unfortunately reduces the amount of sanity-checking that can be done
  on XTrees.

- Get white-space printing right in output file.  Non-functional change,
  just makes output files easier to read.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7270
2007-12-04 03:15:23 +00:00
Nicholas Nethercote
1e1133b496 Comment-only change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7269
2007-12-03 21:29:22 +00:00
Julian Seward
5609ba2982 Finalise 3.3.0.RC1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7268
2007-12-02 22:15:31 +00:00
Julian Seward
06214b0c46 Back out r7210 ("Fix completely bogus implementation of
VG_(seginfo_sect_kind).") as it breaks DRD and possible Callgrind.

The segment kind identification code is basically broken for non-text
segments, but requires fixing at a higher level than this.  See
discussion on valgrind-developers, 20 March 07, "Bug in
VG_(seginfo_sect_kind) ?"



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7267
2007-12-02 22:03:43 +00:00
Julian Seward
bd3a25d576 Set version to 3.3.0-RC1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7266
2007-12-02 13:37:18 +00:00
Julian Seward
429fb7d45d Update release docs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7265
2007-12-02 02:08:17 +00:00
Julian Seward
d19b3f97a8 Futz with headers.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7264
2007-12-02 02:06:46 +00:00
Julian Seward
1a7c3b3407 Wibble.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7263
2007-12-02 02:05:23 +00:00
Julian Seward
59b2716959 * document gcc code generation shenanigans on ppc32-linux
* add docs for --malloc-fill and --free-fill


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7262
2007-12-02 02:01:09 +00:00
Julian Seward
9fbe42bfca Only pass valid ThreadIDs to VG_(record_ExeContext). (Bart Van Assche)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7261
2007-12-01 02:09:50 +00:00
Julian Seward
4d05588e59 Update contact details.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7260
2007-11-30 21:52:27 +00:00
Julian Seward
9ad4d494fa New options for Memcheck, --malloc-fill=<hexnumber> and
--fill-free=<hexnumber>, which cause malloc'd(etc) and free'd(etc)
blocks to be filled with the specified value.  This can apparently be
useful for shaking out hard-to-track-down memory corruption.  The
definedness/addressability of said areas is not affected -- only the
contents.  Documentation to follow.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7259
2007-11-30 21:41:40 +00:00
Julian Seward
e70c4211ff Marginally enhance help message.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7258
2007-11-30 21:24:05 +00:00
Julian Seward
f5adf7f83a Get rid of VG_NUMW_CLO, as it is pretty much identical to VG_NUM_CLO,
and only used in one place.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7257
2007-11-30 17:50:44 +00:00
Julian Seward
755bc0ea22 Make the freed-block-queue volume metrics 64-bit throughout, to avoid
any wierdness on very large machines in the future.  Also, double the
default size from 5MB to 10MB, on the basis that programs are now on
average twice as lardy as they were when it was set to 5MB, whenever
that was.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7256
2007-11-30 17:19:36 +00:00
Julian Seward
8d0427b2f4 Include headers in tarball.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7255
2007-11-30 15:28:13 +00:00
Julian Seward
2b2ea81f12 Add a test case for semaphores with nonzero initial values.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7254
2007-11-30 11:22:35 +00:00
Julian Seward
47680cfc98 Correctly handle semaphores with nonzero initial values. Fixes bug
observed by Matthieu Castet.  Also, add another sanity-check flag.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7253
2007-11-30 11:11:02 +00:00
Julian Seward
ec903846a6 Remove pthread_object_size.h and associated hardwired constants.
(Bart Van Assche)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7252
2007-11-30 08:30:29 +00:00
Julian Seward
3f55d3fa51 So much for C's "type system" (ha ha). Correct version of r7250.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7251
2007-11-29 13:04:03 +00:00
Julian Seward
dff66750ab Don't assert when destroying a locked rwlock.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7250
2007-11-29 12:53:25 +00:00
Julian Seward
953b8549d7 Changes to make Memcheck work sanely on recent incarnations of AIX 5.3:
* add a few more syscall wrappers, and fix a couple of buggy ones

* intercept strcmp et al in a few more libraries



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7249
2007-11-29 03:08:32 +00:00
Julian Seward
9d7f1c6a52 Don't be confused by archive (.a) files which contain both a 32-bit
and a 64-bit version of the same object (with the same name).  Prior
to this, it would sometimes attempt to read debug info from the wrong
version of the object, complain that the magic number wasn't right,
and so end up reading nothing at all for that object.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7248
2007-11-29 03:06:25 +00:00
Julian Seward
2fc4ae0c18 - Remove extraneous 'o' (will be stored in svn server for possible
future use)

- Fix tag

- Fix long line which wraps around in html output



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7247
2007-11-28 01:55:29 +00:00
Julian Seward
eadeac4197 Dump extraneous code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7246
2007-11-28 01:50:55 +00:00
Julian Seward
6b37c2e40e Make it compile on AIX, even if the result doesn't do anything useful.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7245
2007-11-28 01:27:03 +00:00
Julian Seward
f633404bb7 Fix compilation on older Linux distros (Bart Van Assche)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7244
2007-11-27 23:39:13 +00:00
Nicholas Nethercote
347873b9a4 Clarify peak-taking details.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7243
2007-11-27 21:38:14 +00:00
Nicholas Nethercote
3387ddba10 Massif doc fixes, mostly from Julian.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7242
2007-11-27 21:29:33 +00:00
Julian Seward
c7fbd65201 Make Memcheck work sanely on AIX5.3 (again):
* Don't intercept putenv/getenv/setenv.  Causes a lot of whinging
  about missing TOC pointers.

* Add 'strcmp' to the bundle of 4 functions intercepted in all
  objects.

* xlc now seems to route calls through to malloc_common, free_common,
  calloc_common, realloc_common, memalign_common in libc.  Intercept
  those names too.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7241
2007-11-27 11:42:47 +00:00
Julian Seward
dc96d0a97a Don't break the build on AIX5.3.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7240
2007-11-27 11:23:55 +00:00
Nicholas Nethercote
44e10a1a18 Minor updates.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7239
2007-11-27 02:03:44 +00:00
Julian Seward
2a219917db Translate the drd regtests from C++ to C. (Bart Van Assche).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7238
2007-11-27 01:59:38 +00:00
Nicholas Nethercote
5293c35183 Tweaked the tool-writing docs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7237
2007-11-27 01:59:02 +00:00
Nicholas Nethercote
537f6888e6 Add Massif bugs fixed by the rewrite. I added them to the top part of the
file, not the "after 3.2.3" section, I hope this is the right place for
them.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7236
2007-11-27 01:34:06 +00:00
Josef Weidendorfer
1752567fb4 callgrind: support for --callgrind-out-file
This removes the --base option, which is replaced by
--callgrind-out-file.
Plus manual update.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7235
2007-11-27 01:27:12 +00:00
Nicholas Nethercote
8905fb6038 This should have gone in with r7233.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7234
2007-11-27 00:59:17 +00:00
Nicholas Nethercote
ab36cf9dde Update test output for a recent graph-drawing change. Update some notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7233
2007-11-27 00:53:56 +00:00
Julian Seward
a60ad6740d AIX 5.3 build fixes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7232
2007-11-26 22:43:03 +00:00
Nicholas Nethercote
78e4acd024 Minor tweak to drawing of peak and detailed snapshot bars on the graph.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7231
2007-11-26 22:27:02 +00:00
Nicholas Nethercote
8d6ffee32a Minor tweak to x-axis positioning of bars.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7230
2007-11-26 22:17:19 +00:00