61 Commits

Author SHA1 Message Date
Mark Wielaard
4facc497bd doc/Makefile.am: Turn valid-manual and valid-manpages into real targets
Make valid-manual and valid-manpages real, separate make targets.
This means they can be run in parallel and they will only be run
once when doing make check, unless one of the manual and manpages
files has been touched.
2020-06-08 15:14:04 +02:00
Mark Wielaard
a2ef3fcf6a Explicitly set stylesheet to use with xmlto. 2020-05-15 12:30:00 +02:00
Mark Wielaard
5f4a5783aa Move to xmlto with fop for print-docs.
Default to using fop for pdf generation.
pdfxmltex is known to be broken by default.
xmlto can also use pdfxmltex or dblatex if available.
2020-05-15 01:12:44 +02:00
Mark Wielaard
052cc97416 Run xmllint on make check.
Now that we have valid docbookx xml lets try to keep it that way.
If the user has xmllint installed then run it on make check.
2020-05-15 00:44:52 +02:00
Mark Wielaard
28b8d8b5a1 Turn manpages-index.xml into a "real" book, so it can be validated.
manpages-index.xml is just to easily get at each individual man page
with xsltproc. It wasn't a complete docbookx xml file. Now that it is
we can validate it with xmllint. It doesn't fully validate, but we
are close.
2020-05-14 16:10:27 +02:00
Mark Wielaard
555ddc4753 Use DTD DocBook XML V4.5 everywhere.
This makes the rule for xmllint easier since it doesn't need to
override the DTD to validate against. It also helps with other tools
tryinf to process the docbookx xml files.
2020-05-14 15:12:02 +02:00
Julian Seward
867dc25599 Create docs/internals/3_15_BUGSTATUS.txt, as-yet empty. 2019-12-27 16:22:25 +01:00
Julian Seward
dffe3a2d1b Add a 3_14_BUGSTATUS.txt file and add to it all bugs reported since 3.14 was release.
At least, the bugs are post-triaged ones, so some have been removed.
2019-03-10 11:11:16 +01:00
Nicholas Nethercote
441bfc5f51 Overhaul DHAT.
This commit thoroughly overhauls DHAT, moving it out of the
"experimental" ghetto. It makes moderate changes to DHAT itself,
including dumping profiling data to a JSON format output file. It also
implements a new data viewer (as a web app, in dhat/dh_view.html).

The main benefits over the old DHAT are as follows.

- The separation of data collection and presentation means you can run a
  program once under DHAT and then sort the data in various ways. Also,
  full data is in the output file, and the viewer chooses what to omit.

- The data can be sorted in more ways than previously. Some of these
  sorts involve useful filters such as "short-lived" and "zero reads or
  zero writes".

- The tree structure view avoids the need to choose stack trace depth.
  This avoids both the problem of not enough depth (when records that
  should be distinct are combined, and may not contain enough
  information to be actionable) and the problem of too much depth (when
  records that should be combined are separated, making them seem less
  important than they really are).

- Byte and block measures are shown with a percentage relative to the
  global count, which helps gauge relative significance of different
  parts of the profile.

- Byte and blocks measures are also shown with an allocation rate
  (bytes and blocks per million instructions), which enables comparisons
  across multiple profiles, even if those profiles represent different
  workloads.

- Both global and per-node measurements are taken at the global heap
  peak ("At t-gmax"), which gives Massif-like insight into the point of
  peak memory use.

- The final/liftimes stats are a bit more useful than the old deaths
  stats. (E.g. the old deaths stats didn't take into account lifetimes
  of unfreed blocks.)

- The handling of realloc() has changed. The sequence `p = malloc(100);
  realloc(p, 200);` now increases the total block count by 2 and the
  total byte count by 300. Previously it increased them by 1 and 200.
  The new handling is a more operational view that better reflects the
  effect of allocations on performance. It makes a significant
  difference in the results, giving paths involving reallocation (e.g.
  repeated pushing to a growing vector) more prominence.

Other things of note:

- There is now testing, both regression tests that run within the
  standard test suite, and viewer-specific tests that cannot run within
  the standard test suite. The latter are run by loading
  dh_view.html?test=1 in a web browser.

- The commit puts all tool lists in Makefiles (and similar files) in the
  following consistent order: memcheck, cachegrind, callgrind, helgrind,
  drd, massif, dhat, lackey, none; exp-sgcheck, exp-bbv.

- A lot of fields in dh_main.c have been given more descriptive names.
  Those names now match those used in dh_view.js.
2019-02-01 14:54:34 +11:00
Julian Seward
e3033e8908 Add 3_13_BUGSTATUS.txt to EXTRA_DIST. 2018-07-25 06:54:59 +02:00
Julian Seward
f3144ff5ff Add a tracking file for bugs in 3.12.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16150
2016-11-21 12:18:29 +00:00
Philippe Waroquiers
3be4b5ba1c Update documentation and NEWS for xtree concept.
Final patch of the xtree serie, which provides the documentation.

The xtree concept was committed in the revisions
16120 : Support pool of unique string in pub_tool_deduppoolalloc.h
16121 : Implement a cache 'address -> symbol name' in m_debuginfo.c
16122 : Add VG_(strIsMemberXA) in pub_tool_xarray.h
16123 : Addition of the pub_tool_xtree.h and pub_tool_xtmemory.h modules, and of the --xtree-memory* options
16124 : Addition of the options --xtree-memory and --xtree-memory-file
16125 : Small changes in callgrind_annotate and callgrind manual
16126 : Locally define vgPlain_scrcmp in 2 unit tests
16127 : Support for xtree memory profiling and xtmemory gdbsrv monitor command in helgrind
16128 : Support for xtree memory profiling and xtmemory gdbsrv monitor command in memcheck
16129 : Update massif implementation to xtree

Some smaller follow-up patches to be expected to add some regtests,
and refine documentation.

Thanks to Ivo, Julian and Josef for the review comments.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16131
2016-11-11 15:11:49 +00:00
Julian Seward
f356d4e5ad Create 3_11_BUGSTATUS.txt.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15724
2015-11-09 20:35:51 +00:00
Julian Seward
fda6609964 Add a new howto for running mips64-linux on QEMU.
Rename the aarch64-linux howto accordingly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15178
2015-05-04 08:40:11 +00:00
Julian Seward
e6e2211dc8 Add a HOWTO on how to build and install aarch64-linux on QEMU,
primarily for testing convenience.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15159
2015-04-30 11:06:00 +00:00
Julian Seward
1b244c0a22 Add a file tracking the 3.10.x merge status.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14789
2014-11-25 23:19:24 +00:00
Julian Seward
d05ae2a6a9 Create 3_10_BUGSTATUS.txt.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14496
2014-09-08 11:22:52 +00:00
Florian Krohm
02e0bd5aa0 Revert an accidentally checked in change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14460
2014-09-04 18:37:56 +00:00
Florian Krohm
b0353a1486 Add a few more tasks to consider.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14459
2014-09-04 18:37:02 +00:00
Mark Wielaard
895f25f4a2 Add uninstall-local rules to make distcheck happy.
Also remove generated FAQ.txt in docs distclean-local rule.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13950
2014-05-09 14:25:39 +00:00
Julian Seward
5194dedac4 Create a list of all bugs reported after the 3.9.0 release
(I think).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13789
2014-02-05 14:00:16 +00:00
Julian Seward
aeaf0db271 Update bug tracking status post release.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12876
2012-08-17 09:10:37 +00:00
Julian Seward
c7dcb22a6b Add a text file giving a top-level summary of all bugs reported since
3.7.0 was released, that have not been fixed.  (Old habits die hard!)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12689
2012-06-30 16:51:00 +00:00
Julian Seward
8ebb8c30e5 Add initial support for Intel AVX instructions (Valgrind side).
Tracker bug is #273475.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12569
2012-05-21 10:18:10 +00:00
Julian Seward
8b6f93641c Add translation chaining support for amd64, x86 and ARM
(Valgrind side).  See #296422.



git-svn-id: svn://svn.valgrind.org/valgrind/branches/TCHAIN@12484
2012-04-02 21:56:03 +00:00
Florian Krohm
c87d506673 Add some more missing files to the tarball.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12218
2011-10-23 14:30:08 +00:00
Julian Seward
141e66b02a Cause the build to fail when man pages aren't built properly. At
present that doesn't happen.  #272967, which is Debian bug 599563.
(Pierre Habouzit, madcoder@debian.org)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12186
2011-10-21 06:16:27 +00:00
Florian Krohm
738a4307c2 Fix a comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12169
2011-10-19 20:48:45 +00:00
Tom Hughes
ca3f9b5321 Include the standard Fedora location in the list of places where
we look for the docbook stylesheet for manual pages.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11978
2011-08-15 08:20:23 +00:00
Julian Seward
d2a4c327d0 Add file missing from r11791 due to insufficient coffee.
#214909 c 101.  (Philippe Waroquiers, philippe.waroquiers@skynet.be)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11792
2011-05-31 07:14:42 +00:00
Julian Seward
c3ce1ffa17 Add a file to keep track of stuff that we currently can't/don't in
bugzilla.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10883
2009-09-03 10:45:03 +00:00
Nicholas Nethercote
7c5dac3dcf Install all the new man pages. Include them in 'make dist' too (even if
BUILD_ALL_DOCS is false;  we've built them anyway).  Delete them with 'make
distclean' too (and FAQ.txt).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10745
2009-08-07 08:31:58 +00:00
Nicholas Nethercote
6fcbcab519 Add a manpage for cg_annotate. Now only valgrind-listener and cg_merge lack
a manpage, and they're so simple I can't be bothered doing ones for them
(they don't even have sections in the manual).

Also fixed a few minor things relating to manpages.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10744
2009-08-07 07:56:20 +00:00
Nicholas Nethercote
e06f6f7164 Manpage improvements:
- Added a manpage for ms_print.

- Added docs/xml/manpages-index.xml, which is just used as a convenient
  single file to hang all the man pages off so they can be generated in a
  single command.

- Added facility whereby manpage generation will attempt to find the
  stylesheet in multiple places.  This means I don't have to constantly edit
  XSL_MAN_STYLE to build manpages on my machine.

- Changed vg-docs-path to start with $INSTALL instead of /usr/, because we
  can't assume that's the installation dir.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10740
2009-08-07 06:54:44 +00:00
Nicholas Nethercote
3514eb673b Various docs build tweaks:
- Remove roadmap.txt, as we haven't used it for a while and Bugzilla does it
  better.

- Inline docs/{internals,images,xml,lib}/Makefile.am into docs/Makefile.am,
  because they're very simple.  Fewer Makefile.am files is good.

- Remove the dead docs/images/massif*.png files and all references to them.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10720
2009-08-05 07:39:45 +00:00
Julian Seward
841265804c Don't hardwire the docbook version.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6059
2006-09-12 22:36:55 +00:00
Julian Seward
06f53b15e8 Now that the man page is built from the XML documentation masters, it
has to have the same status as the HTML/PDF/PS docs, that is, not
built by default because it depends on the ultra-fragile XML
toolchain.  So make it use the same hacks, that is, build only at
'make dist' time.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5279
2005-12-04 15:00:06 +00:00
Donna Robinson
e53a6fba14 The valgrind manpage is now auto-generated directly from the
*.xml docs.  No more groffly/nroffly editing.
How cool is docbook ?



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5276
2005-12-03 22:33:29 +00:00
Donna Robinson
c2aa0a5eea Post-release changes:
- removed a reference to cachegrind dot org from mc-tech-docs.xml
- in an effort to simplify future borked links, replaced all valgrind 
  website urls with entities so now we just have to change one string.
- new stylesheet to create the docs to 'fit' into the website
- added build rules 'make website-docs' + make download-docs
  to /docs/Makefile.am




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5239
2005-11-27 04:10:00 +00:00
Donna Robinson
2022dbf52c Due to package upgrades (docbook, passivetex), removed some
bug-patches and created some new ones in the stylesheets.
Also tweaked some files to structure the xml properly.
The FAQ and the Quick-Start are now 'articles' inside a book-wrapper,
which is as it should be.

FAQ.xml
- due to various passivetex bug fixes, the faq is now a properly 
  structured xml qandaset document

quick-start-guide.xml:
manual.xml
- Fixed some passivetex-workaround kludges:
  legalnotice -> author

manual-core.xml:
For readability, added '<command>' to varlistentry items 
since passivetex (sigh) will no longer indent the para text.

index.xml:
- loads of white-space readability tweaks here and there.

tech-docs.xml
dist-docs.xml
manual.xml
- additional entries to <bookinfo> for compatability with
  the rest of the docs.

/docs/Makefile.am
- added stuff to use the new vg-faq2txt.xsl stylesheet

/docs/lib/Makefile.am
- updated to reflect current contents of /docs/lib/
- removed refs to vg-html-single as is never ever used

/docs/lib/vg-fo.xsl
- massively updated to reflect losing old bugs and gaining new ones

/docs/lib/vg-common.xsl
- deleted as only contained two lines common to html and fo,
  so not worth the bother of hauling around

/docs/lib/vg-html-chunk.xsl
- added what was in vg-common.xsl

/docs/lib/line-wrap.xsl
/docs/lib/faq2text.xsl
- two new stylesheet files for transforming FAQ.xml to FAQ.txt



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5234
2005-11-25 05:36:48 +00:00
Julian Seward
dd977b0ffa If pdfxmltex bombs, as it so often does, at least cause the build to
come to a halt rather than just hanging.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4975
2005-11-01 03:08:41 +00:00
Nicholas Nethercote
1805172055 whoops
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4833
2005-09-30 02:17:40 +00:00
Nicholas Nethercote
e41c7abfe2 Commit Jeroen Witmond's xml-to-text translator, and use it for the FAQ.
Less double maintenance, hoorah!



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4830
2005-09-30 01:43:32 +00:00
Nicholas Nethercote
cd5e4b47db Fix "make distcheck".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4633
2005-09-13 04:10:45 +00:00
Julian Seward
d9135e872b In the final install, copy the documentation .pdf/.ps to files with a
bit of a more sensible name.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4262
2005-07-25 23:36:58 +00:00
Julian Seward
104ccad880 Build the .ps/.pdf documentation by default when doing 'make dist'.
Because this means installing lots of XML processing tools and
supporting gunk, there is a hack at the top of docs/Makefile.am for
disabling the .pdf/.ps build.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4257
2005-07-25 23:01:43 +00:00
Nicholas Nethercote
d0aac31dac Make it more obvious if something fails when making HTML or PS/PDF docs.
Also put the output of all pfdxmltex runs in the logfile, not just the
last run's output.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4255
2005-07-25 21:12:40 +00:00
Julian Seward
00c4434760 I think && might be a better statement-joiner than ; -- the pdfxmltex
runs can easily die silently.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4252
2005-07-25 17:53:46 +00:00
Nicholas Nethercote
61448c507d We have a nice little collection of text files describing various high
level things.  But they're all over the place.  This commits moves
them all to the new docs/internals/ directory, and gives them 
a consistent naming scheme.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4196
2005-07-19 21:46:19 +00:00
Dirk Mueller
7e74189e60 allow to be build in a buildroot
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4171
2005-07-18 23:56:46 +00:00