You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(3) |
|
2
(8) |
3
(19) |
4
(24) |
5
(23) |
6
(16) |
7
(33) |
8
(5) |
|
9
(4) |
10
(23) |
11
(22) |
12
(40) |
13
(30) |
14
(31) |
15
(17) |
|
16
(18) |
17
(20) |
18
(41) |
19
(36) |
20
(25) |
21
(8) |
22
(9) |
|
23
(17) |
24
(12) |
25
(15) |
26
(15) |
27
(16) |
28
(22) |
29
(6) |
|
30
(7) |
31
(10) |
|
|
|
|
|
|
From: <sv...@va...> - 2009-08-07 23:19:26
|
Author: weidendo
Date: 2009-08-08 00:19:09 +0100 (Sat, 08 Aug 2009)
New Revision: 10754
Log:
callgrind_control: be strict on parsing options
Get rid of "-v" as short form of "--version".
Also, help text for dumps/instrumentation shows only the long
versions now. However, '-i on' or '-d dump now!' is still possible.
Modified:
trunk/callgrind/callgrind_control.in
trunk/callgrind/docs/cl-manual.xml
Modified: trunk/callgrind/callgrind_control.in
===================================================================
--- trunk/callgrind/callgrind_control.in 2009-08-07 22:01:49 UTC (rev 10753)
+++ trunk/callgrind/callgrind_control.in 2009-08-07 23:19:09 UTC (rev 10754)
@@ -84,21 +84,21 @@
sub printHelp {
printHeader;
- print "Usage: callgrind_control [options] [ <PID>|<Name> ...]\n\n";
- print "If no PIDs/Names are given, an action is applied to all currently\n";
+ print "Usage: callgrind_control [options] [<pid>|<name> ...]\n\n";
+ print "If no pids/names are given, an action is applied to all currently\n";
print "active Callgrind runs. Default action is printing short information.\n\n";
print "Options:\n";
- print " -h --help Show this help text\n";
- print " -v --version Show version\n";
- print " -l --long Show more information\n";
- print " -s --stat Show statistics\n";
- print " -b --back Show stack/back trace\n";
- print " -e [A, ...] Show event counters for A, ... (default: all)\n";
- print " -d --dump [s] Request a profile dump using <s> as description\n";
- print " -z --zero Zero all event counters\n";
- print " -k --kill Kill\n";
- print " -i [on|off] Switch instrumentation state on/off (default: on)\n";
- print " -w <dir> Specify the startup directory of an active callgrind run\n";
+ print " -h --help Show this help text\n";
+ print " --version Show version\n";
+ print " -l --long Show more information\n";
+ print " -s --stat Show statistics\n";
+ print " -b --back Show stack/back trace\n";
+ print " -e [<A>,...] Show event counters for <A>,... (default: all)\n";
+ print " --dump[=<s>] Request a dump optionally using <s> as description\n";
+ print " -z --zero Zero all event counters\n";
+ print " -k --kill Kill\n";
+ print " --instr=<on|off> Switch instrumentation state on/off\n";
+ print " -w=<dir> Specify the startup directory of an active Callgrind run\n";
print "\n";
exit;
}
@@ -223,20 +223,76 @@
if ($requestEvents == 1) { $requestEvents = 2; }
if ($gotW == 1) { $gotW = 2; }
- if ($arg =~ /^-?-h/) { printHelp; }
- if ($arg =~ /^-?-v/) { printVersion; }
- if ($arg =~ /^-?-l/) { $printLong = 1; next; }
- if ($arg =~ /^-?-s/) { $printStatus = 1; next; }
- if ($arg =~ /^-?-b/) { $printBacktrace = 1; next; }
- if ($arg =~ /^-e/) { $requestEvents = 1; next; }
- if ($arg =~ /^-?-d/) { $requestDump = 1; next; }
- if ($arg =~ /^-?-z/) { $requestZero = 1; next; }
- if ($arg =~ /^-?-k/) { $requestKill = 1; next; }
- if ($arg =~ /^-?-i/) { $switchInstr = 1; $switchInstrMode = "+"; next; }
- if ($arg =~ /^-w/) { $gotW = 1; next; }
-
- print "Error: unknown command line option '$arg'.\n";
- shortHelp;
+ if ($arg =~ /^(-h|--help)$/) {
+ printHelp;
+ }
+ elsif ($arg =~ /^--version$/) {
+ printVersion;
+ }
+ elsif ($arg =~ /^(-l|--long)$/) {
+ $printLong = 1;
+ next;
+ }
+ elsif ($arg =~ /^(-s|--stat)$/) {
+ $printStatus = 1;
+ next;
+ }
+ elsif ($arg =~ /^(-b|--back)$/) {
+ $printBacktrace = 1;
+ next;
+ }
+ elsif ($arg =~ /^-e$/) {
+ $requestEvents = 1;
+ next;
+ }
+ elsif ($arg =~ /^(-d|--dump)(|=.*)$/) {
+ if ($2 ne "") {
+ $requestDump = 2;
+ $dumpHint = substr($2,1);
+ }
+ else {
+ # take next argument as dump hint
+ $requestDump = 1;
+ }
+ next;
+ }
+ elsif ($arg =~ /^(-z|--zero)$/) {
+ $requestZero = 1;
+ next;
+ }
+ elsif ($arg =~ /^(-k|--kill)$/) {
+ $requestKill = 1;
+ next;
+ }
+ elsif ($arg =~ /^(-i|--instr)(|=on|=off)$/) {
+ $switchInstr = 2;
+ if ($2 eq "=on") {
+ $switchInstrMode = "+";
+ }
+ elsif ($2 eq "=off") {
+ $switchInstrMode = "-";
+ }
+ else {
+ # check next argument for "on" or "off"
+ $switchInstr = 1;
+ }
+ next;
+ }
+ elsif ($arg =~ /^-w(|=.*)$/) {
+ if ($1 ne "") {
+ $gotW = 2;
+ $workingDir = substr($1,1);
+ }
+ else {
+ # take next argument as working directory
+ $gotW = 1;
+ }
+ next;
+ }
+ else {
+ print "Error: unknown command line option '$arg'.\n";
+ shortHelp;
+ }
}
if ($arg =~ /^[A-Za-z_]/) {
@@ -255,9 +311,16 @@
if ($switchInstr == 1) {
$switchInstr = 2;
- if (($arg eq "off") || ($arg eq "no")) {
- $switchInstrMode = "-";
+ if ($arg eq "on") {
+ $switchInstrMode = "+";
}
+ elsif ($arg eq "off") {
+ $switchInstrMode = "-";
+ }
+ else {
+ print "Error: need to specify 'on' or 'off' after '-i'.\n";
+ shortHelp;
+ }
next;
}
}
@@ -265,10 +328,6 @@
if ($gotW == 1) {
$gotW = 2;
$workingDir = $arg;
- if (!-d $workingDir) {
- print "Error: directory '$workingDir' does not exist.\n";
- shortHelp;
- }
next;
}
@@ -287,11 +346,21 @@
}
if ($gotW == 1) {
- print "Error: no directory specified after -w.\n";
+ print "Error: no directory specified after '-w'.\n";
shortHelp;
}
+if ($switchInstr == 1) {
+ print "Error: need to specify 'on' or 'off' after '-i'.\n";
+ shortHelp;
+}
+
if ($workingDir ne "") {
+ if (!-d $workingDir) {
+ print "Error: directory '$workingDir' does not exist.\n";
+ shortHelp;
+ }
+
# Generate dummy information for dummy pid 0
$pid = "0";
$mversion{$pid} = "1.0";
Modified: trunk/callgrind/docs/cl-manual.xml
===================================================================
--- trunk/callgrind/docs/cl-manual.xml 2009-08-07 22:01:49 UTC (rev 10753)
+++ trunk/callgrind/docs/cl-manual.xml 2009-08-07 23:19:09 UTC (rev 10754)
@@ -1227,7 +1227,7 @@
</varlistentry>
<varlistentry>
- <term><option>-v --version</option></term>
+ <term><option>--version</option></term>
<listitem>
<para>Show version of callgrind_control.</para>
</listitem>
@@ -1260,7 +1260,7 @@
</varlistentry>
<varlistentry>
- <term><option>-e [A, B, ...]</option> (default: all)</term>
+ <term><option><![CDATA[-e [A,B,...] ]]></option> (default: all)</term>
<listitem>
<para>Show the current per-thread, exclusive cost values of event
counters. If no explicit event names are given, figures for all event
@@ -1273,17 +1273,17 @@
</varlistentry>
<varlistentry>
- <term><option>-d --dump [desc]</option> (default: empty description)</term>
+ <term><option><![CDATA[--dump[=<desc>] ]]></option> (default: no description)</term>
<listitem>
<para>Request the dumping of profile information. Optionally, a
- description can be specified which is written into the dump as part of
+ description can be specified which is written into the dump as part of
the information giving the reason which triggered the dump action. This
can be used to distinguish multiple dumps.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-z --zero </option></term>
+ <term><option>-z --zero</option></term>
<listitem>
<para>Zero all event counters.</para>
</listitem>
@@ -1297,7 +1297,7 @@
</varlistentry>
<varlistentry>
- <term><option>-i --instr [on|off]</option> (default: on)</term>
+ <term><option><![CDATA[--instr=<on|off>]]></option></term>
<listitem>
<para>Switch instrumentation mode on or off. If a Callgrind run has
instrumentation disabled, no simulation is done and no events are
@@ -1308,7 +1308,7 @@
</varlistentry>
<varlistentry>
- <term><option>-w directory</option></term>
+ <term><option><![CDATA[-w=<dir>]]></option></term>
<listitem>
<para>Specify the startup directory of an active Callgrind run. On some
systems, active Callgrind runs can not be detected. To be able to
|
|
From: <sv...@va...> - 2009-08-07 22:02:02
|
Author: njn
Date: 2009-08-07 23:01:49 +0100 (Fri, 07 Aug 2009)
New Revision: 10753
Log:
Remove commas, for consistency with other parts of the manual.
Modified:
trunk/callgrind/docs/cl-manual.xml
Modified: trunk/callgrind/docs/cl-manual.xml
===================================================================
--- trunk/callgrind/docs/cl-manual.xml 2009-08-07 21:00:05 UTC (rev 10752)
+++ trunk/callgrind/docs/cl-manual.xml 2009-08-07 22:01:49 UTC (rev 10753)
@@ -1220,21 +1220,21 @@
<variablelist id="callgrind_control.opts.list">
<varlistentry>
- <term><option>-h, --help</option></term>
+ <term><option>-h --help</option></term>
<listitem>
<para>Show a short description, usage, and summary of options.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-v, --version</option></term>
+ <term><option>-v --version</option></term>
<listitem>
<para>Show version of callgrind_control.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-l, --long</option></term>
+ <term><option>-l --long</option></term>
<listitem>
<para>Show also the working directory, in addition to the brief
information given by default.
@@ -1243,14 +1243,14 @@
</varlistentry>
<varlistentry>
- <term><option>-s, --stat</option></term>
+ <term><option>-s --stat</option></term>
<listitem>
<para>Show statistics information about active Callgrind runs.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-b, --back</option></term>
+ <term><option>-b --back</option></term>
<listitem>
<para>Show stack/back traces of each thread in active Callgrind runs. For
each active function in the stack trace, also the number of invocations
@@ -1273,7 +1273,7 @@
</varlistentry>
<varlistentry>
- <term><option>-d, --dump [desc]</option> (default: empty description)</term>
+ <term><option>-d --dump [desc]</option> (default: empty description)</term>
<listitem>
<para>Request the dumping of profile information. Optionally, a
description can be specified which is written into the dump as part of
@@ -1283,21 +1283,21 @@
</varlistentry>
<varlistentry>
- <term><option>-z, --zero </option></term>
+ <term><option>-z --zero </option></term>
<listitem>
<para>Zero all event counters.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-k, --kill</option></term>
+ <term><option>-k --kill</option></term>
<listitem>
<para>Force a Callgrind run to be terminated.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-i, --instr [on|off]</option> (default: on)</term>
+ <term><option>-i --instr [on|off]</option> (default: on)</term>
<listitem>
<para>Switch instrumentation mode on or off. If a Callgrind run has
instrumentation disabled, no simulation is done and no events are
|
|
From: <sv...@va...> - 2009-08-07 21:00:20
|
Author: vince
Date: 2009-08-07 22:00:05 +0100 (Fri, 07 Aug 2009)
New Revision: 10752
Log:
Add some clarifications to the exp-bbv manual.
Modified:
trunk/exp-bbv/docs/bbv-manual.xml
Modified: trunk/exp-bbv/docs/bbv-manual.xml
===================================================================
--- trunk/exp-bbv/docs/bbv-manual.xml 2009-08-07 20:28:58 UTC (rev 10751)
+++ trunk/exp-bbv/docs/bbv-manual.xml 2009-08-07 21:00:05 UTC (rev 10752)
@@ -14,13 +14,13 @@
<para>
A basic block is a linear section of code with one entry point and one exit
- point. A <emphasis>basic blocks vector</emphasis> (BBV) is a list of all
+ point. A <emphasis>basic block vector</emphasis> (BBV) is a list of all
basic blocks entered during program execution, and a count of how many
times each basic block was run.
</para>
<para>
- BBV is tool that generates basic block vectors for use with the
+ BBV is a tool that generates basic block vectors for use with the
<ulink url="http://www.cse.ucsd.edu/~calder/simpoint/">SimPoint</ulink>
analysis tool.
The SimPoint methodology enables speeding up architectural
@@ -214,19 +214,32 @@
T:18:45 :12:135353 :56:78 314:4324263]]></programlisting>
<para>
- Each new interval starts with a T. This is followed by a colon,
- then by a unique number identifying the basic block. This is followed
- by another colon, then followed by the frequency (which is scaled
- by the number of instructions in the basic block).
+ Each new interval starts with a T. This is followed on the same line
+ by a series of basic block and frequency pairs, one for each
+ basic block that was entered during the interval. The format for
+ each block/frequency pair is a colon, followed by a number that
+ uniquely identifies the basic block, another colon, and then
+ the frequency (which is the number of times the block was entered,
+ multiplied by the number of instructions in the block). The
+ pairs are separated from each other by a space.
</para>
<para>
- The entry count is multiplied by the number of instructions that are
+ The frequency count is multiplied by the number of instructions that are
in the basic block, in order to weigh the count so that instructions in
small basic blocks aren't counted as more important than instructions
in large basic blocks.
</para>
+<para>
+ The SimPoint program only processes lines that start with a "T". All
+ other lines are ignored. Traditionally comments are indicated by
+ starting a line with a "#" character. Some other BBV generation tools,
+ such as PinPoints, generate lines beginning with letters other than "T"
+ to indicate more information about the program being run. We do
+ not generate these, as the SimPoint utility ignores them.
+</para>
+
</sect1>
<sect1 id="bbv-manual.implementation" xreflabel="Implementation">
@@ -257,38 +270,50 @@
<para>
When a superblock is run for the first time, it is instrumented
- with our BBV routine. This adds a call to our instruction
- counting function for each original instruction.
- The current superblock is looked up in an ordered set to find
- a structure that holds block-specific statistics (the entry point
- address is the index into the ordered set). We increment the
- instruction count for this superblock and
- also update the master instruction count.
- If the master count overflows the interval size
- then we print out the basic block statistics for the current interval
- to disk, and then reset all the superblock counters to zero.
+ with our BBV routine. A block info (bbInfo) structure is allocated
+ which holds the various information and statistics for the block.
+ A unique block ID is assigned to the block, and then the
+ structure is placed into an ordered set.
+ Then each native instruction in the block is instrumented to
+ call an instruction counting routine with a pointer to the block
+ info structure as an argument.
</para>
<para>
- On the x86 and amd64 architectures the code takes special
- care with rep-prefixed string instructions. This is because
+ At run-time, our instruction counting routines are called once
+ per native instruction. The relevant block info structure is accessed
+ and the block count and total instruction count is updated.
+ If the total instruction count overflows the interval size
+ then we walk the ordered set, writing out the statistics for
+ any block that was accessed in the interval, then resetting the
+ block counters to zero.
+</para>
+
+<para>
+ On the x86 and amd64 architectures the counting code has extra
+ code to handle rep-prefixed string instructions. This is because
actual hardware counts a rep-prefixed instruction
as one instruction, while a naive Valgrind implementation
would count it as many (possibly hundreds, thousands or even millions)
- of instructions. We have special code to handle
- this properly, which makes the results match hardware performance
- counter results.
+ of instructions. We handle rep-prefixed instructions specially,
+ in order to make the results match those obtained with hardware performance
+ counters.
</para>
<para>
- BBV also counts the fldcw instruction. This
- instruction is used on x86 machines when converting numbers
- from floating point to integer (among other uses).
+ BBV also counts the fldcw instruction. This instruction is used on
+ x86 machines in various ways; it is most commonly found when converting
+ floating point values into integers.
On Pentium 4 systems the retired instruction performance
- counter counts this instruction as two
- instructions (all other known processors only count it as one).
- This can affect results when using SimPoint on Pentium 4 systems,
- so we provide the count for use in mitigating this at analysis time.
+ counter counts this instruction as two instructions (all other
+ known processors only count it as one).
+ This can affect results when using SimPoint on Pentium 4 systems.
+ We provide the fldcw count so that users can evaluate whether it
+ will impact their results enough to avoid using Pentium 4 machines
+ for their experiments. It would be possible to add an option to
+ this tool that mimics the double-counting so that the generated BBV
+ files would be usable for experiments using hardware performance
+ counters on Pentium 4 systems.
</para>
</sect1>
|
|
From: <sv...@va...> - 2009-08-07 20:29:18
|
Author: sewardj
Date: 2009-08-07 21:28:58 +0100 (Fri, 07 Aug 2009)
New Revision: 10751
Log:
Resync after {wq,p}thread_hijack rather than merely doing a check.
Believed to help with, although not fix, the underlying problem in
#192634.
Modified:
trunk/coregrind/m_syswrap/priv_syswrap-darwin.h
trunk/coregrind/m_syswrap/syswrap-darwin.c
trunk/coregrind/m_syswrap/syswrap-x86-darwin.c
Modified: trunk/coregrind/m_syswrap/priv_syswrap-darwin.h
===================================================================
--- trunk/coregrind/m_syswrap/priv_syswrap-darwin.h 2009-08-07 20:20:41 UTC (rev 10750)
+++ trunk/coregrind/m_syswrap/priv_syswrap-darwin.h 2009-08-07 20:28:58 UTC (rev 10751)
@@ -50,6 +50,8 @@
void VG_(show_open_ports)(void);
+void ML_(sync_mappings)(const HChar *when, const HChar *where, Int num);
+
// Unix syscalls.
// GEN = it uses the generic wrapper
// NYI = wrapper not yet implemented in Valgrind
Modified: trunk/coregrind/m_syswrap/syswrap-darwin.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-darwin.c 2009-08-07 20:20:41 UTC (rev 10750)
+++ trunk/coregrind/m_syswrap/syswrap-darwin.c 2009-08-07 20:28:58 UTC (rev 10751)
@@ -593,7 +593,7 @@
sync_mappings
------------------------------------------------------------------ */
-static void sync_mappings(const HChar *when, const HChar *where, Int num)
+void ML_(sync_mappings)(const HChar *when, const HChar *where, Int num)
{
// Usually the number of segments added/removed in a single calls is very
// small e.g. 1. But it sometimes gets up to at least 100 or so (eg. for
@@ -6263,7 +6263,7 @@
// PRINT("UNHANDLED reply %d", mh->msgh_id);
// Assume the call may have mapped or unmapped memory
- sync_mappings("after", "mach_msg_receive", 0);
+ ML_(sync_mappings)("after", "mach_msg_receive", 0);
}
PRE(mach_msg_receive)
@@ -6674,7 +6674,7 @@
POST(mach_msg_unhandled)
{
- sync_mappings("after", "mach_msg_unhandled", 0);
+ ML_(sync_mappings)("after", "mach_msg_unhandled", 0);
}
@@ -6973,7 +6973,7 @@
POST(iokit_user_client_trap)
{
- sync_mappings("after", "iokit_user_client_trap", ARG2);
+ ML_(sync_mappings)("after", "iokit_user_client_trap", ARG2);
}
Modified: trunk/coregrind/m_syswrap/syswrap-x86-darwin.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-x86-darwin.c 2009-08-07 20:20:41 UTC (rev 10750)
+++ trunk/coregrind/m_syswrap/syswrap-x86-darwin.c 2009-08-07 20:28:58 UTC (rev 10751)
@@ -332,7 +332,7 @@
// client allocated stack
find_stack_segment(tst->tid, sp);
}
- VG_(am_do_sync_check)("after", "pthread_hijack", 0);
+ ML_(sync_mappings)("after", "pthread_hijack", 0);
// DDD: should this be here rather than in POST(sys_bsdthread_create)?
// But we don't have ptid here...
@@ -478,7 +478,7 @@
stack-VKI_PAGE_SIZE, VKI_PAGE_SIZE,
0, VKI_MAP_PRIVATE, -1, 0);
- VG_(am_do_sync_check)("after", "wqthread_hijack", 0);
+ ML_(sync_mappings)("after", "wqthread_hijack", 0);
// Go!
/* Same comments as the 'release' in the then-clause.
|
|
From: <sv...@va...> - 2009-08-07 20:20:54
|
Author: weidendo
Date: 2009-08-07 21:20:41 +0100 (Fri, 07 Aug 2009)
New Revision: 10750
Log:
callgrind_control: sync manual/man page and script help output.
Modified:
trunk/callgrind/callgrind_control.in
trunk/callgrind/docs/cl-manual.xml
Modified: trunk/callgrind/callgrind_control.in
===================================================================
--- trunk/callgrind/callgrind_control.in 2009-08-07 19:47:29 UTC (rev 10749)
+++ trunk/callgrind/callgrind_control.in 2009-08-07 20:20:41 UTC (rev 10750)
@@ -66,7 +66,6 @@
sub printHeader {
if ($headerPrinted) { return; }
$headerPrinted = 1;
- if ($beQuiet) { return; }
print "Observe the status and control currently active callgrind runs.\n";
print "(C) 2003-2005, Josef Weidendorfer (Josef.Weidendorfer\@gmx.de)\n\n";
@@ -77,6 +76,11 @@
exit;
}
+sub shortHelp {
+ print "See '$0 -h' for help.\n";
+ exit;
+}
+
sub printHelp {
printHeader;
@@ -84,18 +88,17 @@
print "If no PIDs/Names are given, an action is applied to all currently\n";
print "active Callgrind runs. Default action is printing short information.\n\n";
print "Options:\n";
- print " -h Print this help text\n";
- print " -v Print version\n";
- print " -q Be quiet\n";
- print " -l Print more information\n";
- print " -s Print status information\n";
- print " -b Print backtrace information\n";
- print " -e [A,..] Print event counters for A,.. [default: all]\n";
- print " -d [str] Request a profile dump, include <str> as trigger hint\n";
- print " -z Zero all cost counters\n";
- print " -k Kill\n";
- print " -i on/off Switch instrumentation state on/off\n";
- print " -w <dir> Manually specify the working directory of a callgrind run\n";
+ print " -h --help Show this help text\n";
+ print " -v --version Show version\n";
+ print " -l --long Show more information\n";
+ print " -s --stat Show statistics\n";
+ print " -b --back Show stack/back trace\n";
+ print " -e [A, ...] Show event counters for A, ... (default: all)\n";
+ print " -d --dump [s] Request a profile dump using <s> as description\n";
+ print " -z --zero Zero all event counters\n";
+ print " -k --kill Kill\n";
+ print " -i [on|off] Switch instrumentation state on/off (default: on)\n";
+ print " -w <dir> Specify the startup directory of an active callgrind run\n";
print "\n";
exit;
}
@@ -209,7 +212,6 @@
$requestDump = 0;
$switchInstr = 0;
$headerPrinted = 0;
-$beQuiet = 0;
$dumpHint = "";
$gotW = 0;
$workingDir = "";
@@ -223,20 +225,18 @@
if ($arg =~ /^-?-h/) { printHelp; }
if ($arg =~ /^-?-v/) { printVersion; }
- if ($arg =~ /^-q/) { $beQuiet = 1; next; }
- if ($arg =~ /^-l/) { $printLong = 1; next; }
- if ($arg =~ /^-s/) { $printStatus = 1; next; }
- if ($arg =~ /^-b/) { $printBacktrace = 1; next; }
- if ($arg =~ /^-d/) { $requestDump = 1; next; }
- if ($arg =~ /^-z/) { $requestZero = 1; next; }
- if ($arg =~ /^-k/) { $requestKill = 1; next; }
+ if ($arg =~ /^-?-l/) { $printLong = 1; next; }
+ if ($arg =~ /^-?-s/) { $printStatus = 1; next; }
+ if ($arg =~ /^-?-b/) { $printBacktrace = 1; next; }
if ($arg =~ /^-e/) { $requestEvents = 1; next; }
- if ($arg =~ /^-i/) { $switchInstr = 1; next; }
+ if ($arg =~ /^-?-d/) { $requestDump = 1; next; }
+ if ($arg =~ /^-?-z/) { $requestZero = 1; next; }
+ if ($arg =~ /^-?-k/) { $requestKill = 1; next; }
+ if ($arg =~ /^-?-i/) { $switchInstr = 1; $switchInstrMode = "+"; next; }
if ($arg =~ /^-w/) { $gotW = 1; next; }
- printHeader;
- print "Unknown option '$arg'.\n\n";
- printHelp;
+ print "Error: unknown command line option '$arg'.\n";
+ shortHelp;
}
if ($arg =~ /^[A-Za-z_]/) {
@@ -255,7 +255,6 @@
if ($switchInstr == 1) {
$switchInstr = 2;
- $switchInstrMode = "+";
if (($arg eq "off") || ($arg eq "no")) {
$switchInstrMode = "-";
}
@@ -268,7 +267,7 @@
$workingDir = $arg;
if (!-d $workingDir) {
print "Error: directory '$workingDir' does not exist.\n";
- printHelp;
+ shortHelp;
}
next;
}
@@ -283,11 +282,15 @@
}
if ($nameFound) { next; }
- printHeader;
- print "Non-existent Callgrind task with PID/Name '$arg'.\n\n";
- printHelp;
+ print "Error: Callgrind task with PID/name '$arg' not detected.\n";
+ shortHelp;
}
+if ($gotW == 1) {
+ print "Error: no directory specified after -w.\n";
+ shortHelp;
+}
+
if ($workingDir ne "") {
# Generate dummy information for dummy pid 0
$pid = "0";
Modified: trunk/callgrind/docs/cl-manual.xml
===================================================================
--- trunk/callgrind/docs/cl-manual.xml 2009-08-07 19:47:29 UTC (rev 10749)
+++ trunk/callgrind/docs/cl-manual.xml 2009-08-07 20:20:41 UTC (rev 10750)
@@ -1206,69 +1206,116 @@
<sect1 id="cl-manual.callgrind_control-options" xreflabel="callgrind_control Options">
-<title>callgrind_control Options</title>
+<title>Description and options of callgrind_control</title>
+<para>The command <command>callgrind_control</command> allows to control
+ programs being run by the Valgrind tool Callgrind. By default, it acts
+ on all programs detected to be run by the current user via Callgrind.
+ It is possible to limit the actions to specified Callgrind runs by
+ providing a list of pids or program names as argument.
+ The default action is to give some brief information about the applications
+ being run by Callgrind.</para>
+
<!-- start of xi:include in the manpage -->
<variablelist id="callgrind_control.opts.list">
<varlistentry>
- <term><option>-h --help</option></term>
+ <term><option>-h, --help</option></term>
<listitem>
- <para>Show summary of options.</para>
+ <para>Show a short description, usage, and summary of options.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--version</option></term>
+ <term><option>-v, --version</option></term>
<listitem>
<para>Show version of callgrind_control.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-s</option></term>
+ <term><option>-l, --long</option></term>
<listitem>
- <para>Show statistics.</para>
+ <para>Show also the working directory, in addition to the brief
+ information given by default.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-b</option></term>
+ <term><option>-s, --stat</option></term>
<listitem>
- <para>Show stack trace.</para>
+ <para>Show statistics information about active Callgrind runs.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-e [A,B,C] [default: all] </option></term>
+ <term><option>-b, --back</option></term>
<listitem>
- <para>Only show figures for events A,B,C.</para>
+ <para>Show stack/back traces of each thread in active Callgrind runs. For
+ each active function in the stack trace, also the number of invocations
+ since program start (or last dump) is shown. This option can be
+ combined with -e to show inclusive cost of active functions.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-z</option></term>
+ <term><option>-e [A, B, ...]</option> (default: all)</term>
<listitem>
- <para>Zero cost counters.</para>
+ <para>Show the current per-thread, exclusive cost values of event
+ counters. If no explicit event names are given, figures for all event
+ types which are collected in the given Callgrind run are
+ shown. Otherwise, only figures for event types A, B, ... are shown. If
+ this option is combined with -b, inclusive cost for the functions of
+ each active stack frame is provided, too.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-d, --dump [hint]</option></term>
+ <term><option>-d, --dump [desc]</option> (default: empty description)</term>
<listitem>
<para>Request the dumping of profile information. Optionally, a
- string can be specified which is written into the dump as part of
- the Trigger reason. This can be used to distinguish multiple dumps.</para>
+ description can be specified which is written into the dump as part of
+ the information giving the reason which triggered the dump action. This
+ can be used to distinguish multiple dumps.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-k</option></term>
+ <term><option>-z, --zero </option></term>
<listitem>
- <para>Kill.</para>
+ <para>Zero all event counters.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>-k, --kill</option></term>
+ <listitem>
+ <para>Force a Callgrind run to be terminated.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-i, --instr [on|off]</option> (default: on)</term>
+ <listitem>
+ <para>Switch instrumentation mode on or off. If a Callgrind run has
+ instrumentation disabled, no simulation is done and no events are
+ counted. This is useful to skip uninteresting program parts, as there
+ is much less slowdown (same as with the Valgrind tool "none"). See also
+ the Callgrind option <option>--instr-atstart</option>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-w directory</option></term>
+ <listitem>
+ <para>Specify the startup directory of an active Callgrind run. On some
+ systems, active Callgrind runs can not be detected. To be able to
+ control these, the failed auto-detection can be worked around by
+ specifying the directory where a Callgrind run was started.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
<!-- end of xi:include in the manpage -->
|
|
From: <sv...@va...> - 2009-08-07 19:47:42
|
Author: sewardj
Date: 2009-08-07 20:47:29 +0100 (Fri, 07 Aug 2009)
New Revision: 10749
Log:
Update Memcheck expected outputs following r10746 (Darwin variants only).
Modified:
trunk/memcheck/tests/darwin/aio.stderr.exp
trunk/memcheck/tests/sigkill.stderr.exp-darwin
Modified: trunk/memcheck/tests/darwin/aio.stderr.exp
===================================================================
--- trunk/memcheck/tests/darwin/aio.stderr.exp 2009-08-07 19:26:41 UTC (rev 10748)
+++ trunk/memcheck/tests/darwin/aio.stderr.exp 2009-08-07 19:47:29 UTC (rev 10749)
@@ -11,9 +11,11 @@
...
Address 0x........ is not stack'd, malloc'd or (recently) free'd
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
+Use --track-origins=yes to see where uninitialised values come from
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
-Use --track-origins=yes to see where uninitialised values come from
Modified: trunk/memcheck/tests/sigkill.stderr.exp-darwin
===================================================================
--- trunk/memcheck/tests/sigkill.stderr.exp-darwin 2009-08-07 19:26:41 UTC (rev 10748)
+++ trunk/memcheck/tests/sigkill.stderr.exp-darwin 2009-08-07 19:47:29 UTC (rev 10749)
@@ -185,8 +185,10 @@
getting signal 65: Invalid argument
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
|
|
From: <sv...@va...> - 2009-08-07 19:27:02
|
Author: sewardj
Date: 2009-08-07 20:26:41 +0100 (Fri, 07 Aug 2009)
New Revision: 10748
Log:
Update Memcheck expected outputs following r10746 (32-bit variants only).
Modified:
trunk/memcheck/tests/partial_load_dflt.stderr.exp
trunk/memcheck/tests/partial_load_ok.stderr.exp
Modified: trunk/memcheck/tests/partial_load_dflt.stderr.exp
===================================================================
--- trunk/memcheck/tests/partial_load_dflt.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
+++ trunk/memcheck/tests/partial_load_dflt.stderr.exp 2009-08-07 19:26:41 UTC (rev 10748)
@@ -23,8 +23,10 @@
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:36)
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/partial_load_ok.stderr.exp
===================================================================
--- trunk/memcheck/tests/partial_load_ok.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
+++ trunk/memcheck/tests/partial_load_ok.stderr.exp 2009-08-07 19:26:41 UTC (rev 10748)
@@ -17,8 +17,10 @@
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:36)
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
|
|
From: <sv...@va...> - 2009-08-07 17:47:55
|
Author: sewardj
Date: 2009-08-07 18:47:42 +0100 (Fri, 07 Aug 2009)
New Revision: 10747
Log:
Update Memcheck expected outputs following r10746 (64-bit variants only).
Modified:
trunk/memcheck/tests/addressable.stderr.exp
trunk/memcheck/tests/amd64/xor-undef-amd64.stderr.exp
trunk/memcheck/tests/badjump.stderr.exp
trunk/memcheck/tests/brk2.stderr.exp
trunk/memcheck/tests/describe-block.stderr.exp
trunk/memcheck/tests/erringfds.stderr.exp
trunk/memcheck/tests/leak-pool-0.stderr.exp
trunk/memcheck/tests/leak-pool-1.stderr.exp
trunk/memcheck/tests/leak-pool-2.stderr.exp
trunk/memcheck/tests/leak-pool-3.stderr.exp
trunk/memcheck/tests/leak-pool-4.stderr.exp
trunk/memcheck/tests/leak-pool-5.stderr.exp
trunk/memcheck/tests/linux-syscalls-2007.stderr.exp
trunk/memcheck/tests/linux-syslog-syscall.stderr.exp
trunk/memcheck/tests/linux/brk.stderr.exp
trunk/memcheck/tests/linux/capget.stderr.exp
trunk/memcheck/tests/linux/lsframe1.stderr.exp
trunk/memcheck/tests/linux/lsframe2.stderr.exp
trunk/memcheck/tests/linux/timerfd-syscall.stderr.exp
trunk/memcheck/tests/mallinfo.stderr.exp
trunk/memcheck/tests/new_override.stderr.exp
trunk/memcheck/tests/noisy_child.stderr.exp
trunk/memcheck/tests/partial_load_dflt.stderr.exp64
trunk/memcheck/tests/partial_load_ok.stderr.exp64
trunk/memcheck/tests/partiallydefinedeq.stderr.exp
trunk/memcheck/tests/sigkill.stderr.exp
Modified: trunk/memcheck/tests/addressable.stderr.exp
===================================================================
--- trunk/memcheck/tests/addressable.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/addressable.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,10 +1,12 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Unaddressable byte(s) found during client check request
at 0x........: test2 (addressable.c:48)
by 0x........: main (addressable.c:125)
@@ -25,28 +27,34 @@
main thread stack using the --main-stacksize= flag.
The main thread stack size used in this run was ....
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Process terminating with default action of signal N (SIGSEGV or SIGBUS)
Bad memory (SIGSEGV or SIGBUS) at address 0x........
at 0x........: test4 (addressable.c:74)
by 0x........: main (addressable.c:125)
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Uninitialised byte(s) found during client check request
at 0x........: test5 (addressable.c:85)
by 0x........: main (addressable.c:125)
@@ -57,15 +65,19 @@
by 0x........: main (addressable.c:125)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
+Use --track-origins=yes to see where uninitialised values come from
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
-Use --track-origins=yes to see where uninitialised values come from
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/amd64/xor-undef-amd64.stderr.exp
===================================================================
--- trunk/memcheck/tests/amd64/xor-undef-amd64.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/amd64/xor-undef-amd64.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -14,9 +14,11 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (xor-undef-amd64.c:117)
+HEAP SUMMARY:
+ in use at exit: 0 bytes in 0 blocks.
+ total heap usage: 1 allocs, 1 frees, 48 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
+Use --track-origins=yes to see where uninitialised values come from
ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 1 allocs, 1 frees, 48 bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
-Use --track-origins=yes to see where uninitialised values come from
Modified: trunk/memcheck/tests/badjump.stderr.exp
===================================================================
--- trunk/memcheck/tests/badjump.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/badjump.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -14,8 +14,10 @@
main thread stack using the --main-stacksize= flag.
The main thread stack size used in this run was ....
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/brk2.stderr.exp
===================================================================
--- trunk/memcheck/tests/brk2.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/brk2.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/describe-block.stderr.exp
===================================================================
--- trunk/memcheck/tests/describe-block.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/describe-block.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -4,8 +4,10 @@
Address 0x........ is 0 bytes inside a magic foople zone of size 4,096 client-defined
at 0x........: main (describe-block.c:6)
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/erringfds.stderr.exp
===================================================================
--- trunk/memcheck/tests/erringfds.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/erringfds.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,8 +1,10 @@
Warning: invalid file descriptor -1 in syscall read()
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-0.stderr.exp
===================================================================
--- trunk/memcheck/tests/leak-pool-0.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/leak-pool-0.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-1.stderr.exp
===================================================================
--- trunk/memcheck/tests/leak-pool-1.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/leak-pool-1.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-2.stderr.exp
===================================================================
--- trunk/memcheck/tests/leak-pool-2.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/leak-pool-2.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-3.stderr.exp
===================================================================
--- trunk/memcheck/tests/leak-pool-3.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/leak-pool-3.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-4.stderr.exp
===================================================================
--- trunk/memcheck/tests/leak-pool-4.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/leak-pool-4.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-5.stderr.exp
===================================================================
--- trunk/memcheck/tests/leak-pool-5.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/leak-pool-5.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/linux/brk.stderr.exp
===================================================================
--- trunk/memcheck/tests/linux/brk.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/linux/brk.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/linux/capget.stderr.exp
===================================================================
--- trunk/memcheck/tests/linux/capget.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/linux/capget.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -4,8 +4,10 @@
permitted 0
inheritable 0
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/linux/lsframe1.stderr.exp
===================================================================
--- trunk/memcheck/tests/linux/lsframe1.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/linux/lsframe1.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -2,8 +2,10 @@
lsframe1: start
lsframe1: done, result is -8388608
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/linux/lsframe2.stderr.exp
===================================================================
--- trunk/memcheck/tests/linux/lsframe2.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/linux/lsframe2.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -2,8 +2,10 @@
lsframe2: start
lsframe2: done, result is -272629760
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/linux/timerfd-syscall.stderr.exp
===================================================================
--- trunk/memcheck/tests/linux/timerfd-syscall.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/linux/timerfd-syscall.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: 0 bytes in 0 blocks.
+ total heap usage: 0 allocs, 0 frees, 0 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/linux-syscalls-2007.stderr.exp
===================================================================
--- trunk/memcheck/tests/linux-syscalls-2007.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/linux-syscalls-2007.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/linux-syslog-syscall.stderr.exp
===================================================================
--- trunk/memcheck/tests/linux-syslog-syscall.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/linux-syslog-syscall.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,8 +1,10 @@
Done.
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/mallinfo.stderr.exp
===================================================================
--- trunk/memcheck/tests/mallinfo.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/mallinfo.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,8 +1,10 @@
Success.
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/new_override.stderr.exp
===================================================================
--- trunk/memcheck/tests/new_override.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/new_override.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -1,7 +1,9 @@
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/noisy_child.stderr.exp
===================================================================
--- trunk/memcheck/tests/noisy_child.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/noisy_child.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -12,8 +12,10 @@
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (noisy_child.c:24)
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/partial_load_dflt.stderr.exp64
===================================================================
--- trunk/memcheck/tests/partial_load_dflt.stderr.exp64 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/partial_load_dflt.stderr.exp64 2009-08-07 17:47:42 UTC (rev 10747)
@@ -23,8 +23,10 @@
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:36)
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/partial_load_ok.stderr.exp64
===================================================================
--- trunk/memcheck/tests/partial_load_ok.stderr.exp64 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/partial_load_ok.stderr.exp64 2009-08-07 17:47:42 UTC (rev 10747)
@@ -17,8 +17,10 @@
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:36)
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/partiallydefinedeq.stderr.exp
===================================================================
--- trunk/memcheck/tests/partiallydefinedeq.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/partiallydefinedeq.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -7,9 +7,11 @@
at 0x........: foo (partiallydefinedeq.c:15)
by 0x........: main (partiallydefinedeq.c:52)
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
+Use --track-origins=yes to see where uninitialised values come from
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
-Use --track-origins=yes to see where uninitialised values come from
Modified: trunk/memcheck/tests/sigkill.stderr.exp
===================================================================
--- trunk/memcheck/tests/sigkill.stderr.exp 2009-08-07 15:46:56 UTC (rev 10746)
+++ trunk/memcheck/tests/sigkill.stderr.exp 2009-08-07 17:47:42 UTC (rev 10747)
@@ -189,8 +189,10 @@
Invalid argument
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks.
+ total heap usage: ... allocs, ... frees, ... bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+
+For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: ... bytes in ... blocks.
-malloc/free: ... allocs, ... frees, ... bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
|
Author: sewardj
Date: 2009-08-07 16:46:56 +0100 (Fri, 07 Aug 2009)
New Revision: 10746
Log:
Tidy up of messaging:
* For all tools and the core, don't show statistics when -v is in
effect. Instead, try to restrict -v to mostly user-useful
stuff.
* A new flag --stats=no|yes [no] produces statistics output instead.
* Fix longstanding problem in that Memcheck's leak checker ran after
the core's error manager module shut down, thereby not showing use
counts of leak suppressions. This fixes #186790.
* As a consequence, the leak checker text output of Memcheck has
changed a bit -- leak check is done before the final error
summary is done (much more logical), and the output has been
tidied up a bit.
* Helgrind, Drd and Ptrcheck now also print "For counts of
detected and suppressed errors, rerun with: -v", which makes
them consistent with Memcheck in this regard. These are
filtered out by the regtest filter scripts.
For all tools except Memcheck, the regtests are unchanged. On
Memcheck regtests still fail due to rearrangements of the leak
checker output. This will be fixed by a followup commit.
Modified:
trunk/cachegrind/cg_main.c
trunk/callgrind/main.c
trunk/coregrind/m_errormgr.c
trunk/coregrind/m_main.c
trunk/coregrind/m_options.c
trunk/drd/drd_main.c
trunk/drd/tests/filter_stderr
trunk/exp-ptrcheck/h_main.c
trunk/exp-ptrcheck/sg_main.c
trunk/exp-ptrcheck/tests/filter_stderr
trunk/helgrind/hg_main.c
trunk/helgrind/tests/filter_stderr
trunk/include/pub_tool_options.h
trunk/massif/ms_main.c
trunk/massif/tests/culling1.vgtest
trunk/massif/tests/culling2.vgtest
trunk/massif/tests/deep-B.vgtest
trunk/massif/tests/deep-C.vgtest
trunk/massif/tests/peak2.vgtest
trunk/massif/tests/realloc.vgtest
trunk/memcheck/mc_leakcheck.c
trunk/memcheck/mc_main.c
trunk/memcheck/mc_malloc_wrappers.c
trunk/memcheck/tests/filter_allocs
trunk/none/tests/cmdline1.stdout.exp
trunk/none/tests/cmdline2.stdout.exp
Modified: trunk/cachegrind/cg_main.c
===================================================================
--- trunk/cachegrind/cg_main.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/cachegrind/cg_main.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -1591,7 +1591,7 @@
}
// Various stats
- if (VG_(clo_verbosity) > 1) {
+ if (VG_(clo_stats)) {
Int debug_lookups = full_debugs + fn_debugs +
file_line_debugs + no_debugs;
Modified: trunk/callgrind/main.c
===================================================================
--- trunk/callgrind/main.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/callgrind/main.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -1190,7 +1190,7 @@
if (VG_(clo_verbosity) == 0) return;
/* Hash table stats */
- if (VG_(clo_verbosity) > 1) {
+ if (VG_(clo_stats)) {
int BB_lookups =
CLG_(stat).full_debug_BBs +
CLG_(stat).fn_name_debug_BBs +
Modified: trunk/coregrind/m_errormgr.c
===================================================================
--- trunk/coregrind/m_errormgr.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/coregrind/m_errormgr.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -806,7 +806,6 @@
for (su = suppressions; su != NULL; su = su->next) {
if (su->count <= 0)
continue;
- any_supp = True;
if (VG_(clo_xml)) {
VG_(printf_xml_no_f_c)( " <pair>\n"
" <count>%d</count>\n"
@@ -814,8 +813,12 @@
" </pair>\n",
su->count, su->sname );
} else {
- VG_(dmsg)("supp: %6d %s\n", su->count, su->sname);
+ // blank line before the first shown suppression, if any
+ if (!any_supp)
+ VG_(dmsg)("\n");
+ VG_(dmsg)("used_suppression: %6d %s\n", su->count, su->sname);
}
+ any_supp = True;
}
if (VG_(clo_xml))
@@ -866,6 +869,9 @@
if (VG_(clo_verbosity) <= 1)
return;
+ // We do the following only at -v or above, and only in non-XML
+ // mode
+
/* Print the contexts in order of increasing error count. */
for (i = 0; i < n_err_contexts; i++) {
n_min = (1 << 30) - 1;
@@ -898,19 +904,16 @@
p_min->count = 1 << 30;
}
- if (n_supp_contexts > 0)
- VG_(umsg)("\n");
any_supp = show_used_suppressions();
- if (n_err_contexts > 0) {
- if (any_supp)
- VG_(umsg)("\n");
- VG_(umsg)("IN SUMMARY: "
- "%d errors from %d contexts (suppressed: %d from %d)\n",
- n_errs_found, n_err_contexts, n_errs_suppressed,
- n_supp_contexts );
+ if (any_supp)
VG_(umsg)("\n");
- }
+ // reprint this, so users don't have to scroll way up to find
+ // the first printing
+ VG_(umsg)("ERROR SUMMARY: "
+ "%d errors from %d contexts (suppressed: %d from %d)\n",
+ n_errs_found, n_err_contexts, n_errs_suppressed,
+ n_supp_contexts );
}
Modified: trunk/coregrind/m_main.c
===================================================================
--- trunk/coregrind/m_main.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/coregrind/m_main.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -119,7 +119,7 @@
" --help-debug show this message, plus debugging options\n"
" --version show version\n"
" -q --quiet run silently; only print error msgs\n"
-" -v --verbose be more verbose, incl counts of errors\n"
+" -v --verbose be more verbose -- show misc extra info\n"
" --trace-children=no|yes Valgrind-ise child processes (follow execve)? [no]\n"
" --child-silent-after-fork=no|yes omit child output between fork & exec? [no]\n"
" --track-fds=no|yes track open file descriptors? [no]\n"
@@ -171,6 +171,7 @@
Char* usage2 =
"\n"
" debugging options for all Valgrind tools:\n"
+" --stats=no|yes show tool and core statistics [no]\n"
" -d show verbose debugging output\n"
" --sanity-level=<number> level of sanity checking to do [1]\n"
" --trace-flags=<XXXXXXXX> show generated code? (X = 0|1) [00000000]\n"
@@ -437,6 +438,7 @@
VG_STREQ(arg, "--quiet"))
VG_(clo_verbosity)--;
+ else if VG_BOOL_CLO(arg, "--stats", VG_(clo_stats)) {}
else if VG_BOOL_CLO(arg, "--xml", VG_(clo_xml)) {}
else if VG_BOOL_CLO(arg, "--db-attach", VG_(clo_db_attach)) {}
else if VG_BOOL_CLO(arg, "--demangle", VG_(clo_demangle)) {}
@@ -2411,36 +2413,22 @@
if (VG_(clo_track_fds))
VG_(show_open_fds)();
- /* ** HACK ALERT ** HACK ALERT ** HACK ALERT ** HACK ALERT ** */
- if (VG_(clo_xml)) {
- /* THIS IS WHAT WE SHOULD CHANGE IT TO */
- /* For the moment, do it like this (the "right way") in XML
- mode, so that output is as described in XML Protocol 4. */
- /* A good test is memcheck/tests/amd64/defcfaexpr; ensure
- the output does not change */
- VG_TDICT_CALL(tool_fini, 0/*exitcode*/);
+ /* Call the tool's finalisation function. This makes Memcheck's
+ leak checker run, and possibly chuck a bunch of leak errors into
+ the error management machinery. */
+ VG_TDICT_CALL(tool_fini, 0/*exitcode*/);
- /* Show the error counts. */
- if (VG_(needs).core_errors || VG_(needs).tool_errors) {
- VG_(printf_xml)( "\n" );
- VG_(show_error_counts_as_XML)();
- VG_(printf_xml)( "\n" );
- }
-
- /* In XML mode, this merely prints the used suppressions. */
- if (VG_(needs).core_errors || VG_(needs).tool_errors)
- VG_(show_all_errors)();
-
- } else {
- /* THIS IS WHAT IT HAS ALWAYS BEEN,
- resulting in https://bugs.kde.org/show_bug.cgi?id=186790 */
- if (VG_(needs).core_errors || VG_(needs).tool_errors)
- VG_(show_all_errors)();
-
- VG_TDICT_CALL(tool_fini, 0/*exitcode*/);
+ /* Show the error counts. */
+ if (VG_(needs).core_errors || VG_(needs).tool_errors) {
+ VG_(printf_xml)( "\n" );
+ VG_(show_error_counts_as_XML)();
+ VG_(printf_xml)( "\n" );
}
- /* END ** HACK ALERT ** HACK ALERT ** HACK ALERT ** HACK ALERT ** */
+ /* In XML mode, this merely prints the used suppressions. */
+ if (VG_(needs).core_errors || VG_(needs).tool_errors)
+ VG_(show_all_errors)();
+
if (VG_(clo_xml)) {
VG_(printf_xml)("\n");
VG_(printf_xml)("</valgrindoutput>\n");
@@ -2449,7 +2437,7 @@
VG_(sanity_check_general)( True /*include expensive checks*/ );
- if (VG_(clo_verbosity) > 1)
+ if (VG_(clo_stats))
print_all_stats();
/* Show a profile of the heap(s) at shutdown. Optionally, first
Modified: trunk/coregrind/m_options.c
===================================================================
--- trunk/coregrind/m_options.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/coregrind/m_options.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -51,6 +51,7 @@
Int VG_(clo_gen_suppressions) = 0;
Int VG_(clo_sanity_level) = 1;
Int VG_(clo_verbosity) = 1;
+Bool VG_(clo_stats) = False;
Bool VG_(clo_xml) = False;
HChar* VG_(clo_xml_user_comment) = NULL;
Bool VG_(clo_demangle) = True;
Modified: trunk/drd/drd_main.c
===================================================================
--- trunk/drd/drd_main.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/drd/drd_main.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -568,7 +568,13 @@
static void DRD_(fini)(Int exitcode)
{
// thread_print_all();
- if (VG_(clo_verbosity) > 1 || DRD_(s_print_stats))
+ if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) {
+ VG_(message)(Vg_UserMsg,
+ "For counts of detected and suppressed errors, "
+ "rerun with: -v\n");
+ }
+
+ if (VG_(clo_stats) || DRD_(s_print_stats))
{
ULong pu = DRD_(thread_get_update_conflict_set_count)();
ULong pu_seg_cr = DRD_(thread_get_update_conflict_set_new_sg_count)();
Modified: trunk/drd/tests/filter_stderr
===================================================================
--- trunk/drd/tests/filter_stderr 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/drd/tests/filter_stderr 2009-08-07 15:46:56 UTC (rev 10746)
@@ -28,7 +28,8 @@
-e "s/[@\$*]* (drd_pthread_intercepts.c:/ (drd_pthread_intercepts.c:/" \
-e "s/ (\([a-zA-Z_]*\.c\):[0-9]*)/ (\1:?)/" \
-e "s/ (\([a-zA-Z_]*\.h\):[0-9]*)/ (\1:?)/" \
--e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" |
+-e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" \
+-e "/^For counts of detected and suppressed errors, rerun with: -v$/d" |
# Remove the message that more than hundred errors have been detected
# (consists of two lines) and also the empty line above it.
Modified: trunk/exp-ptrcheck/h_main.c
===================================================================
--- trunk/exp-ptrcheck/h_main.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/exp-ptrcheck/h_main.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -5328,7 +5328,13 @@
void h_fini ( Int exitcode )
{
- if (VG_(clo_verbosity) >= 2) {
+ if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) {
+ VG_(message)(Vg_UserMsg,
+ "For counts of detected and suppressed errors, "
+ "rerun with: -v\n");
+ }
+
+ if (VG_(clo_stats)) {
VG_(message)(Vg_DebugMsg,
" h_: %'10llu client allocs, %'10llu client frees\n",
stats__client_mallocs, stats__client_frees);
Modified: trunk/exp-ptrcheck/sg_main.c
===================================================================
--- trunk/exp-ptrcheck/sg_main.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/exp-ptrcheck/sg_main.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -2452,7 +2452,7 @@
void sg_fini(Int exitcode)
{
- if (VG_(clo_verbosity) >= 2) {
+ if (VG_(clo_stats)) {
VG_(message)(Vg_DebugMsg,
" sg_: %'llu total accesses, of which:\n", stats__total_accesses);
VG_(message)(Vg_DebugMsg,
Modified: trunk/exp-ptrcheck/tests/filter_stderr
===================================================================
--- trunk/exp-ptrcheck/tests/filter_stderr 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/exp-ptrcheck/tests/filter_stderr 2009-08-07 15:46:56 UTC (rev 10746)
@@ -14,11 +14,12 @@
# Anonymise paths like "__libc_start_main (../foo/bar/libc-quux.c:129)"
sed "s/__libc_\(.*\) (.*)$/__libc_\1 (...libc...)/" |
-# Remove preambly stuff
+# Remove preambly stuff; also postambly stuff
sed \
-e "/^exp-ptrcheck, a heap, stack & global array overrun detector\.$/d" \
-e "/^NOTE: This is an Experimental-Class Valgrind Tool.$/d" \
--e "/^Copyright (C) 2003-200., and GNU GPL'd, by OpenWorks Ltd et al.$/d" |
+-e "/^Copyright (C) 2003-200., and GNU GPL'd, by OpenWorks Ltd et al.$/d" \
+-e "/^For counts of detected and suppressed errors, rerun with: -v$/d" |
# Tidy up in cases where glibc (+ libdl + libpthread + ld) have
# been built with debugging information, hence source locs are present.
Modified: trunk/helgrind/hg_main.c
===================================================================
--- trunk/helgrind/hg_main.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/helgrind/hg_main.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -4240,12 +4240,26 @@
static void hg_fini ( Int exitcode )
{
+ if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) {
+ VG_(message)(Vg_UserMsg,
+ "For counts of detected and suppressed errors, "
+ "rerun with: -v\n");
+ }
+
+ if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)
+ && HG_(clo_history_level) >= 2) {
+ VG_(umsg)(
+ "Use --history-level=approx or =none to gain increased speed, at\n" );
+ VG_(umsg)(
+ "the cost of reduced accuracy of conflicting-access information\n");
+ }
+
if (SHOW_DATA_STRUCTURES)
pp_everything( PP_ALL, "SK_(fini)" );
if (HG_(clo_sanity_flags))
all__sanity_check("SK_(fini)");
- if (VG_(clo_verbosity) >= 2) {
+ if (VG_(clo_stats)) {
if (1) {
VG_(printf)("\n");
Modified: trunk/helgrind/tests/filter_stderr
===================================================================
--- trunk/helgrind/tests/filter_stderr 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/helgrind/tests/filter_stderr 2009-08-07 15:46:56 UTC (rev 10746)
@@ -7,8 +7,13 @@
# Anonymise addresses
$dir/../../tests/filter_addresses |
-# Remove "Helgrind, ..." line and the following copyright line.
-sed "/^Helgrind, a thread error detector/ , /./ d" |
+# Remove "Helgrind, ..." line and the following copyright line;
+# also the standard postamble (does such a word exist?)
+sed \
+ -e "/^Helgrind, a thread error detector/ , /./ d" \
+ -e "/^For counts of detected and suppressed errors, rerun with: -v$/d" \
+ -e "/^Use --history-level=approx or =none to gain increased speed, at$/d" \
+ -e "/^the cost of reduced accuracy of conflicting-access information$/d" |
# Anonymise line numbers in hg_intercepts.c
sed "s/hg_intercepts.c:[0-9]*/hg_intercepts.c:.../g" |
Modified: trunk/include/pub_tool_options.h
===================================================================
--- trunk/include/pub_tool_options.h 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/include/pub_tool_options.h 2009-08-07 15:46:56 UTC (rev 10746)
@@ -142,6 +142,9 @@
/* Verbosity level: 0 = silent, 1 (default), > 1 = more verbose. */
extern Int VG_(clo_verbosity);
+/* Show tool and core statistics */
+extern Bool VG_(clo_stats);
+
/* Emit all messages as XML? default: NO */
/* If clo_xml is set, various other options are set in a non-default
way. See vg_main.c and mc_main.c. */
Modified: trunk/massif/ms_main.c
===================================================================
--- trunk/massif/ms_main.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/massif/ms_main.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -220,6 +220,12 @@
VG_(dmsg)("Massif: " format, ##args); \
}
+// Used for printing stats when clo_stats == True.
+#define STATS(format, args...) \
+ if (VG_(clo_stats)) { \
+ VG_(dmsg)("Massif: " format, ##args); \
+ }
+
//------------------------------------------------------------//
//--- Statistics ---//
//------------------------------------------------------------//
@@ -2225,28 +2231,28 @@
// Stats
tl_assert(n_xpts > 0); // always have alloc_xpt
- VERB(1, "heap allocs: %u\n", n_heap_allocs);
- VERB(1, "heap reallocs: %u\n", n_heap_reallocs);
- VERB(1, "heap frees: %u\n", n_heap_frees);
- VERB(1, "ignored heap allocs: %u\n", n_ignored_heap_allocs);
- VERB(1, "ignored heap frees: %u\n", n_ignored_heap_frees);
- VERB(1, "ignored heap reallocs: %u\n", n_ignored_heap_reallocs);
- VERB(1, "stack allocs: %u\n", n_stack_allocs);
- VERB(1, "stack frees: %u\n", n_stack_frees);
- VERB(1, "XPts: %u\n", n_xpts);
- VERB(1, "top-XPts: %u (%d%%)\n",
+ STATS("heap allocs: %u\n", n_heap_allocs);
+ STATS("heap reallocs: %u\n", n_heap_reallocs);
+ STATS("heap frees: %u\n", n_heap_frees);
+ STATS("ignored heap allocs: %u\n", n_ignored_heap_allocs);
+ STATS("ignored heap frees: %u\n", n_ignored_heap_frees);
+ STATS("ignored heap reallocs: %u\n", n_ignored_heap_reallocs);
+ STATS("stack allocs: %u\n", n_stack_allocs);
+ STATS("stack frees: %u\n", n_stack_frees);
+ STATS("XPts: %u\n", n_xpts);
+ STATS("top-XPts: %u (%d%%)\n",
alloc_xpt->n_children,
( n_xpts ? alloc_xpt->n_children * 100 / n_xpts : 0));
- VERB(1, "XPt init expansions: %u\n", n_xpt_init_expansions);
- VERB(1, "XPt later expansions: %u\n", n_xpt_later_expansions);
- VERB(1, "SXPt allocs: %u\n", n_sxpt_allocs);
- VERB(1, "SXPt frees: %u\n", n_sxpt_frees);
- VERB(1, "skipped snapshots: %u\n", n_skipped_snapshots);
- VERB(1, "real snapshots: %u\n", n_real_snapshots);
- VERB(1, "detailed snapshots: %u\n", n_detailed_snapshots);
- VERB(1, "peak snapshots: %u\n", n_peak_snapshots);
- VERB(1, "cullings: %u\n", n_cullings);
- VERB(1, "XCon redos: %u\n", n_XCon_redos);
+ STATS("XPt init expansions: %u\n", n_xpt_init_expansions);
+ STATS("XPt later expansions: %u\n", n_xpt_later_expansions);
+ STATS("SXPt allocs: %u\n", n_sxpt_allocs);
+ STATS("SXPt frees: %u\n", n_sxpt_frees);
+ STATS("skipped snapshots: %u\n", n_skipped_snapshots);
+ STATS("real snapshots: %u\n", n_real_snapshots);
+ STATS("detailed snapshots: %u\n", n_detailed_snapshots);
+ STATS("peak snapshots: %u\n", n_peak_snapshots);
+ STATS("cullings: %u\n", n_cullings);
+ STATS("XCon redos: %u\n", n_XCon_redos);
}
Modified: trunk/massif/tests/culling1.vgtest
===================================================================
--- trunk/massif/tests/culling1.vgtest 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/massif/tests/culling1.vgtest 2009-08-07 15:46:56 UTC (rev 10746)
@@ -1,5 +1,5 @@
prog: culling1
-vgopts: -v -v --stacks=no --time-unit=B --heap-admin=16 --massif-out-file=massif.out
+vgopts: -v -v --stats=yes --stacks=no --time-unit=B --heap-admin=16 --massif-out-file=massif.out
vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
stderr_filter: filter_verbose
cleanup: rm massif.out
Modified: trunk/massif/tests/culling2.vgtest
===================================================================
--- trunk/massif/tests/culling2.vgtest 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/massif/tests/culling2.vgtest 2009-08-07 15:46:56 UTC (rev 10746)
@@ -1,5 +1,5 @@
prog: culling2
-vgopts: -v -v --stacks=no --time-unit=B --heap-admin=16 --massif-out-file=massif.out
+vgopts: -v -v --stats=yes --stacks=no --time-unit=B --heap-admin=16 --massif-out-file=massif.out
vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
stderr_filter: filter_verbose
cleanup: rm massif.out
Modified: trunk/massif/tests/deep-B.vgtest
===================================================================
--- trunk/massif/tests/deep-B.vgtest 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/massif/tests/deep-B.vgtest 2009-08-07 15:46:56 UTC (rev 10746)
@@ -1,5 +1,5 @@
prog: deep
-vgopts: --stacks=no --time-unit=B --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 -v -v --depth=8 --massif-out-file=massif.out
+vgopts: --stats=yes --stacks=no --time-unit=B --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 -v -v --depth=8 --massif-out-file=massif.out
vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
stderr_filter: filter_verbose
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
Modified: trunk/massif/tests/deep-C.vgtest
===================================================================
--- trunk/massif/tests/deep-C.vgtest 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/massif/tests/deep-C.vgtest 2009-08-07 15:46:56 UTC (rev 10746)
@@ -1,5 +1,5 @@
prog: deep
-vgopts: --stacks=no --time-unit=B --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 -v -v --depth=8 --massif-out-file=massif.out
+vgopts: --stacks=no --time-unit=B --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 -v -v --stats=yes --depth=8 --massif-out-file=massif.out
vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
stderr_filter: filter_verbose
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
Modified: trunk/massif/tests/peak2.vgtest
===================================================================
--- trunk/massif/tests/peak2.vgtest 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/massif/tests/peak2.vgtest 2009-08-07 15:46:56 UTC (rev 10746)
@@ -1,5 +1,5 @@
prog: peak
-vgopts: --stacks=no --time-unit=B -v -v --peak-inaccuracy=10.0 --heap-admin=128 --massif-out-file=massif.out
+vgopts: --stacks=no --time-unit=B -v -v --stats=yes --peak-inaccuracy=10.0 --heap-admin=128 --massif-out-file=massif.out
vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
stderr_filter: filter_verbose
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
Modified: trunk/massif/tests/realloc.vgtest
===================================================================
--- trunk/massif/tests/realloc.vgtest 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/massif/tests/realloc.vgtest 2009-08-07 15:46:56 UTC (rev 10746)
@@ -1,5 +1,5 @@
prog: realloc
-vgopts: -v -v --stacks=no --heap-admin=0 --time-unit=B --threshold=0 --massif-out-file=massif.out
+vgopts: -v -v --stats=yes --stacks=no --heap-admin=0 --time-unit=B --threshold=0 --massif-out-file=massif.out
vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
stderr_filter: filter_verbose
post: perl ../../massif/ms_print --threshold=0 massif.out | ../../tests/filter_addresses
Modified: trunk/memcheck/mc_leakcheck.c
===================================================================
--- trunk/memcheck/mc_leakcheck.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/memcheck/mc_leakcheck.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -918,6 +918,7 @@
if (lc_n_chunks == 0) {
tl_assert(lc_chunks == NULL);
if (VG_(clo_verbosity) >= 1 && !VG_(clo_xml)) {
+ VG_(umsg)("\n");
VG_(umsg)("All heap blocks were freed -- no leaks are possible.\n");
}
return;
@@ -969,9 +970,11 @@
lc_markstack_top = -1;
// Verbosity.
- if (VG_(clo_verbosity) > 0 && !VG_(clo_xml))
- VG_(umsg)( "searching for pointers to %'d not-freed blocks.\n",
+ if (VG_(clo_verbosity) > 1 && !VG_(clo_xml)) {
+ VG_(umsg)( "\n" );
+ VG_(umsg)( "Searching for pointers to %'d not-freed blocks.\n",
lc_n_chunks );
+ }
// Scan the memory root-set, pushing onto the mark stack any blocks
// pointed to.
@@ -1029,8 +1032,8 @@
// from the root-set has been traced.
lc_process_markstack(/*clique*/-1);
- if (VG_(clo_verbosity) > 0 && !VG_(clo_xml))
- VG_(umsg)("checked %'lu bytes.\n", lc_scanned_szB);
+ if (VG_(clo_verbosity) > 1 && !VG_(clo_xml))
+ VG_(umsg)("Checked %'lu bytes.\n", lc_scanned_szB);
// Trace all the leaked blocks to determine which are directly leaked and
// which are indirectly leaked. For each Unreached block, push it onto
Modified: trunk/memcheck/mc_main.c
===================================================================
--- trunk/memcheck/mc_main.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/memcheck/mc_main.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -5569,16 +5569,25 @@
{
MC_(print_malloc_stats)();
- if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) {
- if (MC_(clo_leak_check) == LC_Off)
- VG_(message)(Vg_UserMsg,
- "For a detailed leak analysis, rerun with: --leak-check=yes\n");
+ if (MC_(clo_leak_check) != LC_Off) {
+ MC_(detect_memory_leaks)(1/*bogus ThreadId*/, MC_(clo_leak_check));
+ }
+ if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)
+ && MC_(clo_leak_check) == LC_Off) {
VG_(message)(Vg_UserMsg,
- "For counts of detected errors, rerun with: -v\n");
+ "For a detailed leak analysis, rerun with: --leak-check=yes\n");
}
+ if (VG_(clo_verbosity) >= 1 && !VG_(clo_xml)) {
+ VG_(message)(Vg_UserMsg, "\n");
+ }
+ if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) {
+ VG_(message)(Vg_UserMsg,
+ "For counts of detected and suppressed errors, rerun with: -v\n");
+ }
+
if (MC_(any_value_errors) && !VG_(clo_xml) && VG_(clo_verbosity) >= 1
&& MC_(clo_mc_level) == 2) {
VG_(message)(Vg_UserMsg,
@@ -5586,12 +5595,9 @@
"uninitialised values come from\n");
}
- if (MC_(clo_leak_check) != LC_Off)
- MC_(detect_memory_leaks)(1/*bogus ThreadId*/, MC_(clo_leak_check));
-
done_prof_mem();
- if (VG_(clo_verbosity) > 1) {
+ if (VG_(clo_stats)) {
SizeT max_secVBit_szB, max_SMs_szB, max_shmem_szB;
VG_(message)(Vg_DebugMsg,
Modified: trunk/memcheck/mc_malloc_wrappers.c
===================================================================
--- trunk/memcheck/mc_malloc_wrappers.c 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/memcheck/mc_malloc_wrappers.c 2009-08-07 15:46:56 UTC (rev 10746)
@@ -902,17 +902,19 @@
nbytes += (ULong)mc->szB;
}
- VG_(message)(Vg_UserMsg,
- "malloc/free: in use at exit: %'llu bytes in %'lu blocks.\n",
+ VG_(umsg)(
+ "HEAP SUMMARY:\n"
+ );
+ VG_(umsg)(
+ " in use at exit: %'llu bytes in %'lu blocks.\n",
nbytes, nblocks
);
- VG_(message)(Vg_UserMsg,
- "malloc/free: %'lu allocs, %'lu frees, %'llu bytes allocated.\n",
+ VG_(umsg)(
+ " total heap usage: %'lu allocs, %'lu frees, "
+ "%'llu bytes allocated.\n",
cmalloc_n_mallocs,
cmalloc_n_frees, cmalloc_bs_mallocd
);
- if (VG_(clo_verbosity) > 1)
- VG_(message)(Vg_UserMsg, "\n");
}
/*--------------------------------------------------------------------*/
Modified: trunk/memcheck/tests/filter_allocs
===================================================================
--- trunk/memcheck/tests/filter_allocs 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/memcheck/tests/filter_allocs 2009-08-07 15:46:56 UTC (rev 10746)
@@ -1,6 +1,6 @@
#! /bin/sh
./filter_stderr |
-sed -e "s/malloc\/free: in use at exit: [0-9,]* bytes in [0-9,]* blocks./malloc\/free: in use at exit: ... bytes in ... blocks./" \
- -e "s/malloc.free: [0-9,]* allocs, [0-9,]* frees, [0-9,]* bytes allocated./malloc\/free: ... allocs, ... frees, ... bytes allocated./"
+sed -e "s/in use at exit: [0-9,]* bytes in [0-9,]* blocks./in use at exit: ... bytes in ... blocks./" \
+ -e "s/total heap usage: [0-9,]* allocs, [0-9,]* frees, [0-9,]* bytes allocated./total heap usage: ... allocs, ... frees, ... bytes allocated./"
Modified: trunk/none/tests/cmdline1.stdout.exp
===================================================================
--- trunk/none/tests/cmdline1.stdout.exp 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/none/tests/cmdline1.stdout.exp 2009-08-07 15:46:56 UTC (rev 10746)
@@ -8,7 +8,7 @@
--help-debug show this message, plus debugging options
--version show version
-q --quiet run silently; only print error msgs
- -v --verbose be more verbose, incl counts of errors
+ -v --verbose be more verbose -- show misc extra info
--trace-children=no|yes Valgrind-ise child processes (follow execve)? [no]
--child-silent-after-fork=no|yes omit child output between fork & exec? [no]
--track-fds=no|yes track open file descriptors? [no]
Modified: trunk/none/tests/cmdline2.stdout.exp
===================================================================
--- trunk/none/tests/cmdline2.stdout.exp 2009-08-07 08:31:58 UTC (rev 10745)
+++ trunk/none/tests/cmdline2.stdout.exp 2009-08-07 15:46:56 UTC (rev 10746)
@@ -8,7 +8,7 @@
--help-debug show this message, plus debugging options
--version show version
-q --quiet run silently; only print error msgs
- -v --verbose be more verbose, incl counts of errors
+ -v --verbose be more verbose -- show misc extra info
--trace-children=no|yes Valgrind-ise child processes (follow execve)? [no]
--child-silent-after-fork=no|yes omit child output between fork & exec? [no]
--track-fds=no|yes track open file descriptors? [no]
@@ -60,6 +60,7 @@
(none)
debugging options for all Valgrind tools:
+ --stats=no|yes show tool and core statistics [no]
-d show verbose debugging output
--sanity-level=<number> level of sanity checking to do [1]
--trace-flags=<XXXXXXXX> show generated code? (X = 0|1) [00000000]
|
|
From: Rich C. <Ric...@me...> - 2009-08-07 13:58:28
|
Nightly build on macbook ( Darwin 9.7.0 i386 )
Started at 2009-08-06 23:05:00 CDT
Ended at 2009-08-06 23:29:56 CDT
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 378 tests, 6 stderr failures, 2 stdout failures, 0 post failures ==
memcheck/tests/null_socket (stdout)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/vcpu_fnfns (stdout)
none/tests/async-sigs (stderr)
none/tests/faultstatus (stderr)
none/tests/pth_blockedsig (stderr)
=================================================
./valgrind-new/memcheck/tests/null_socket.stdout.diff
=================================================
--- /dev/null 2009-08-06 23:23:27.000000000 -0500
+++ null_socket.stdout.out 2009-08-06 23:23:44.000000000 -0500
@@ -0,0 +1 @@
+recvfrom succeeded?
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2009-08-06 23:17:55.000000000 -0500
+++ origin5-bz2.stderr.out 2009-08-06 23:23:59.000000000 -0500
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -49,8 +49,8 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2854)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2855)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
@@ -60,8 +60,8 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2858)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2859)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -93,7 +93,18 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
+ by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
+ by 0x........: handle_compress (origin5-bz2.c:4753)
+ by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
+ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
+ by 0x........: main (origin5-bz2.c:6484)
+ Uninitialised value was created by a client request
+ at 0x........: main (origin5-bz2.c:6479)
+
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -104,7 +115,7 @@
Uninitialised value was created by a client request
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2009-08-06 23:17:56.000000000 -0500
+++ origin5-bz2.stderr.out 2009-08-06 23:23:59.000000000 -0500
@@ -28,7 +28,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -38,7 +39,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -48,7 +50,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2855)
+ at 0x........: mainSort (origin5-bz2.c:2855)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -58,7 +61,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2859)
+ at 0x........: mainSort (origin5-bz2.c:2859)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -68,7 +72,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -78,7 +83,19 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2964)
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
+ by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
+ by 0x........: handle_compress (origin5-bz2.c:4753)
+ by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
+ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
+ by 0x........: main (origin5-bz2.c:6484)
+ Uninitialised value was created by a client request
+ at 0x........: main (origin5-bz2.c:6479)
+
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2009-08-06 23:17:55.000000000 -0500
+++ origin5-bz2.stderr.out 2009-08-06 23:23:59.000000000 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,85 +9,102 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2854)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2855)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2858)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2859)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/varinfo3.stderr.diff
=================================================
--- varinfo3.stderr.exp 2009-08-06 23:17:55.000000000 -0500
+++ varinfo3.stderr.out 2009-08-06 23:24:55.000000000 -0500
@@ -31,7 +31,7 @@
by 0x........: bar (varinfo3.c:42)
by 0x........: foo (varinfo3.c:58)
by 0x........: main (varinfo3.c:66)
- Address 0x........ is 5 bytes inside data symbol "static_local_def.XXXX"
+ Address 0x........ is in the Data segment of ./varinfo3
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo3.c:28)
@@ -46,7 +46,7 @@
by 0x........: bar (varinfo3.c:44)
by 0x........: foo (varinfo3.c:58)
by 0x........: main (varinfo3.c:66)
- Address 0x........ is 7 bytes inside data symbol "static_local_undef.XXXX"
+ Address 0x........ is in the Data segment of ./varinfo3
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo3.c:28)
=================================================
./valgrind-new/memcheck/tests/varinfo5.stderr.diff
=================================================
--- varinfo5.stderr.exp 2009-08-06 23:17:56.000000000 -0500
+++ varinfo5.stderr.out 2009-08-06 23:24:57.000000000 -0500
@@ -119,7 +119,7 @@
by 0x........: varinfo3_main (varinfo5so.c:118)
by 0x........: varinfo5_main (varinfo5so.c:156)
by 0x........: main (varinfo5.c:5)
- Address 0x........ is 5 bytes inside data symbol "static_local_def.XXXX"
+ Address 0x........ is in the Data segment of /Users/minime/src/vg/nightly/valgrind-new/memcheck/tests/varinfo5so.so
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo5so.c:29)
@@ -138,7 +138,7 @@
by 0x........: varinfo3_main (varinfo5so.c:118)
by 0x........: varinfo5_main (varinfo5so.c:156)
by 0x........: main (varinfo5.c:5)
- Address 0x........ is 7 bytes inside data symbol "static_local_undef.XXXX"
+ Address 0x........ is in the Data segment of /Users/minime/src/vg/nightly/valgrind-new/memcheck/tests/varinfo5so.so
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo5so.c:29)
=================================================
./valgrind-new/memcheck/tests/vcpu_fnfns.stdout.diff
=================================================
--- vcpu_fnfns.stdout.exp 2009-08-06 23:17:55.000000000 -0500
+++ vcpu_fnfns.stdout.out 2009-08-06 23:25:05.000000000 -0500
@@ -91,16 +91,16 @@
ceilD(-1.2000000008000e+00) = -1.0000000000000e+00
ceilD(-1.1000000009000e+00) = -1.0000000000000e+00
ceilD(-1.0000000010000e+00) = -1.0000000000000e+00
- ceilD(-9.0000000110000e-01) = -0.0000000000000e+00
- ceilD(-8.0000000120000e-01) = -0.0000000000000e+00
- ceilD(-7.0000000130000e-01) = -0.0000000000000e+00
- ceilD(-6.0000000140000e-01) = -0.0000000000000e+00
- ceilD(-5.0000000150000e-01) = -0.0000000000000e+00
- ceilD(-4.0000000160000e-01) = -0.0000000000000e+00
- ceilD(-3.0000000170000e-01) = -0.0000000000000e+00
- ceilD(-2.0000000180000e-01) = -0.0000000000000e+00
- ceilD(-1.0000000190000e-01) = -0.0000000000000e+00
- ceilD(-1.9999992495467e-09) = -0.0000000000000e+00
+ ceilD(-9.0000000110000e-01) = +0.0000000000000e+00
+ ceilD(-8.0000000120000e-01) = +0.0000000000000e+00
+ ceilD(-7.0000000130000e-01) = +0.0000000000000e+00
+ ceilD(-6.0000000140000e-01) = +0.0000000000000e+00
+ ceilD(-5.0000000150000e-01) = +0.0000000000000e+00
+ ceilD(-4.0000000160000e-01) = +0.0000000000000e+00
+ ceilD(-3.0000000170000e-01) = +0.0000000000000e+00
+ ceilD(-2.0000000180000e-01) = +0.0000000000000e+00
+ ceilD(-1.0000000190000e-01) = +0.0000000000000e+00
+ ceilD(-1.9999992495467e-09) = +0.0000000000000e+00
ceilD(+9.9999997900001e-02) = +1.0000000000000e+00
ceilD(+1.9999999780000e-01) = +1.0000000000000e+00
ceilD(+2.9999999770000e-01) = +1.0000000000000e+00
@@ -132,16 +132,16 @@
ceilF( -1.2008e+00) = -1.0000e+00
ceilF( -1.1009e+00) = -1.0000e+00
ceilF( -1.0010e+00) = -1.0000e+00
- ceilF( -9.0110e-01) = -0.0000e+00
- ceilF( -8.0120e-01) = -0.0000e+00
- ceilF( -7.0130e-01) = -0.0000e+00
- ceilF( -6.0140e-01) = -0.0000e+00
- ceilF( -5.0150e-01) = -0.0000e+00
- ceilF( -4.0160e-01) = -0.0000e+00
- ceilF( -3.0170e-01) = -0.0000e+00
- ceilF( -2.0180e-01) = -0.0000e+00
- ceilF( -1.0190e-01) = -0.0000e+00
- ceilF( -1.9999e-03) = -0.0000e+00
+ ceilF( -9.0110e-01) = +0.0000e+00
+ ceilF( -8.0120e-01) = +0.0000e+00
+ ceilF( -7.0130e-01) = +0.0000e+00
+ ceilF( -6.0140e-01) = +0.0000e+00
+ ceilF( -5.0150e-01) = +0.0000e+00
+ ceilF( -4.0160e-01) = +0.0000e+00
+ ceilF( -3.0170e-01) = +0.0000e+00
+ ceilF( -2.0180e-01) = +0.0000e+00
+ ceilF( -1.0190e-01) = +0.0000e+00
+ ceilF( -1.9999e-03) = +0.0000e+00
ceilF( +9.7900e-02) = +1.0000e+00
ceilF( +1.9780e-01) = +1.0000e+00
ceilF( +2.9770e-01) = +1.0000e+00
@@ -305,7 +305,7 @@
cosF( -3.0170e-01) = +9.5483e-01
cosF( -2.0180e-01) = +9.7971e-01
cosF( -1.0190e-01) = +9.9481e-01
- cosF( -1.9999e-03) = +1.0000e-00
+ cosF( -1.9999e-03) = +1.0000e+00
cosF( +9.7900e-02) = +9.9521e-01
cosF( +1.9780e-01) = +9.8050e-01
cosF( +2.9770e-01) = +9.5601e-01
@@ -536,7 +536,7 @@
logD(+9.9999999900000e-02) = -2.3025850939940e+00
logD(+1.9999999980000e-01) = -1.6094379134341e+00
logD(+2.9999999970000e-01) = -1.2039728053259e+00
- logD(+3.9999999960000e-01) = -9.1629073287415e-01
+ logD(+3.9999999960000e-01) = -9.1629073287416e-01
logD(+4.9999999950000e-01) = -6.9314718155995e-01
logD(+5.9999999940000e-01) = -5.1082562476599e-01
logD(+6.9999999930000e-01) = -3.5667494493873e-01
@@ -617,7 +617,7 @@
log10F( +1.8981e+00) = +2.7832e-01
log10F( +1.9980e+00) = +3.0060e-01
asinD(-1.0000000000000e+00) = -1.5707963267949e+00
- asinD(-9.0000000010000e-01) = -1.1197695152281e+00
+ asinD(-9.0000000010000e-01) = -1.1197695152280e+00
asinD(-8.0000000020000e-01) = -9.2729521833495e-01
asinD(-7.0000000030000e-01) = -7.7539749703084e-01
asinD(-6.0000000040000e-01) = -6.4350110929328e-01
=================================================
./valgrind-new/memcheck/tests/vcpu_fnfns.stdout.diff-glibc28-amd64
=================================================
--- vcpu_fnfns.stdout.exp-glibc28-amd64 2009-08-06 23:17:56.000000000 -0500
+++ vcpu_fnfns.stdout.out 2009-08-06 23:25:05.000000000 -0500
@@ -91,16 +91,16 @@
ceilD(-1.2000000008000e+00) = -1.0000000000000e+00
ceilD(-1.1000000009000e+00) = -1.0000000000000e+00
ceilD(-1.0000000010000e+00) = -1.0000000000000e+00
- ceilD(-9.0000000110000e-01) = -0.0000000000000e+00
- ceilD(-8.0000000120000e-01) = -0.0000000000000e+00
- ceilD(-7.0000000130000e-01) = -0.0000000000000e+00
- ceilD(-6.0000000140000e-01) = -0.0000000000000e+00
- ceilD(-5.0000000150000e-01) = -0.0000000000000e+00
- ceilD(-4.0000000160000e-01) = -0.0000000000000e+00
- ceilD(-3.0000000170000e-01) = -0.0000000000000e+00
- ceilD(-2.0000000180000e-01) = -0.0000000000000e+00
- ceilD(-1.0000000190000e-01) = -0.0000000000000e+00
- ceilD(-1.9999992495467e-09) = -0.0000000000000e+00
+ ceilD(-9.0000000110000e-01) = +0.0000000000000e+00
+ ceilD(-8.0000000120000e-01) = +0.0000000000000e+00
+ ceilD(-7.0000000130000e-01) = +0.0000000000000e+00
+ ceilD(-6.0000000140000e-01) = +0.0000000000000e+00
+ ceilD(-5.0000000150000e-01) = +0.0000000000000e+00
+ ceilD(-4.0000000160000e-01) = +0.0000000000000e+00
+ ceilD(-3.0000000170000e-01) = +0.0000000000000e+00
+ ceilD(-2.0000000180000e-01) = +0.0000000000000e+00
+ ceilD(-1.0000000190000e-01) = +0.0000000000000e+00
+ ceilD(-1.9999992495467e-09) = +0.0000000000000e+00
ceilD(+9.9999997900001e-02) = +1.0000000000000e+00
ceilD(+1.9999999780000e-01) = +1.0000000000000e+00
ceilD(+2.9999999770000e-01) = +1.0000000000000e+00
@@ -132,16 +132,16 @@
ceilF( -1.2008e+00) = -1.0000e+00
ceilF( -1.1009e+00) = -1.0000e+00
ceilF( -1.0010e+00) = -1.0000e+00
- ceilF( -9.0110e-01) = -0.0000e+00
- ceilF( -8.0120e-01) = -0.0000e+00
- ceilF( -7.0130e-01) = -0.0000e+00
- ceilF( -6.0140e-01) = -0.0000e+00
- ceilF( -5.0150e-01) = -0.0000e+00
- ceilF( -4.0160e-01) = -0.0000e+00
- ceilF( -3.0170e-01) = -0.0000e+00
- ceilF( -2.0180e-01) = -0.0000e+00
- ceilF( -1.0190e-01) = -0.0000e+00
- ceilF( -1.9999e-03) = -0.0000e+00
+ ceilF( -9.0110e-01) = +0.0000e+00
+ ceilF( -8.0120e-01) = +0.0000e+00
+ ceilF( -7.0130e-01) = +0.0000e+00
+ ceilF( -6.0140e-01) = +0.0000e+00
+ ceilF( -5.0150e-01) = +0.0000e+00
+ ceilF( -4.0160e-01) = +0.0000e+00
+ ceilF( -3.0170e-01) = +0.0000e+00
+ ceilF( -2.0180e-01) = +0.0000e+00
+ ceilF( -1.0190e-01) = +0.0000e+00
+ ceilF( -1.9999e-03) = +0.0000e+00
ceilF( +9.7900e-02) = +1.0000e+00
ceilF( +1.9780e-01) = +1.0000e+00
ceilF( +2.9770e-01) = +1.0000e+00
@@ -536,7 +536,7 @@
logD(+9.9999999900000e-02) = -2.3025850939940e+00
logD(+1.9999999980000e-01) = -1.6094379134341e+00
logD(+2.9999999970000e-01) = -1.2039728053259e+00
- logD(+3.9999999960000e-01) = -9.1629073287415e-01
+ logD(+3.9999999960000e-01) = -9.1629073287416e-01
logD(+4.9999999950000e-01) = -6.9314718155995e-01
logD(+5.9999999940000e-01) = -5.1082562476599e-01
logD(+6.9999999930000e-01) = -3.5667494493873e-01
@@ -617,7 +617,7 @@
log10F( +1.8981e+00) = +2.7832e-01
log10F( +1.9980e+00) = +3.0060e-01
asinD(-1.0000000000000e+00) = -1.5707963267949e+00
- asinD(-9.0000000010000e-01) = -1.1197695152281e+00
+ asinD(-9.0000000010000e-01) = -1.1197695152280e+00
asinD(-8.0000000020000e-01) = -9.2729521833495e-01
asinD(-7.0000000030000e-01) = -7.7539749703084e-01
asinD(-6.0000000040000e-01) = -6.4350110929328e-01
=================================================
./valgrind-new/none/tests/async-sigs.stderr.diff
=================================================
--- async-sigs.stderr.exp 2009-08-06 23:18:05.000000000 -0500
+++ async-sigs.stderr.out 2009-08-06 23:26:23.000000000 -0500
@@ -1,8 +1,57 @@
-testing: blocking=0 caught=11 fatal=7... PASSED
+testing: blocking=0 caught=11 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: test (async-sigs.c:94)
+ by 0x........: main (async-sigs.c:129)
+PASSED
testing: blocking=0 caught=11 fatal=1... PASSED
-testing: blocking=0 caught=10 fatal=7... PASSED
-testing: blocking=0 caught=10 fatal=1... PASSED
-testing: blocking=1 caught=11 fatal=7... PASSED
+testing: blocking=0 caught=30 fatal=10... VALGRIND INTERNAL ERROR: Valgrind received a signal 10 (SIGBUS) - exiting
+si_code=2; Faulting address: 0x........; sp: 0x........
+
+valgrind: the 'impossible' happened:
+ Killed by fatal signal
+ at 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=0
+
+Thread 1: status = VgTs_Yielding
+ at 0x........: test (async-sigs.c:94)
+ by 0x........: main (async-sigs.c:131)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
+
+FAILED: child exited with unexpected status exit 1
+testing: blocking=0 caught=30 fatal=1... PASSED
+testing: blocking=1 caught=11 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: __sigsuspend (in /...libc...)
+ by 0x........: test (async-sigs.c:95)
+ by 0x........: main (async-sigs.c:133)
+PASSED
testing: blocking=1 caught=11 fatal=1... PASSED
-testing: blocking=1 caught=10 fatal=7... PASSED
-testing: blocking=1 caught=10 fatal=1... PASSED
+testing: blocking=1 caught=30 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: __sigsuspend (in /...libc...)
+ by 0x........: test (async-sigs.c:95)
+ by 0x........: main (async-sigs.c:135)
+PASSED
+testing: blocking=1 caught=30 fatal=1... PASSED
=================================================
./valgrind-new/none/tests/faultstatus.stderr.diff
=================================================
--- faultstatus.stderr.exp 2009-08-06 23:18:06.000000000 -0500
+++ faultstatus.stderr.out 2009-08-06 23:26:29.000000000 -0500
@@ -1,6 +1,6 @@
-Test 1: PASS
-Test 2: PASS
-Test 3: PASS
-Test 4: PASS
+Test 1: FAIL: expected signal 11, not 10
+Test 2: FAIL: expected signal 11, not 10
+Test 3: FAIL: no fault, or handler returned
+Test 4: FAIL: expected si_code==7, not 0
=================================================
./valgrind-new/none/tests/pth_blockedsig.stderr.diff
=================================================
--- pth_blockedsig.stderr.exp 2009-08-06 23:18:05.000000000 -0500
+++ pth_blockedsig.stderr.out 2009-08-06 23:27:32.000000000 -0500
@@ -1,2 +1,4 @@
+UNKNOWN __pthread_sigmask is unsupported. This warning will not be repeated.
+SHOULD NOT BE HERE (SIGUSR1)!!!!
=================================================
./valgrind-old/memcheck/tests/null_socket.stdout.diff
=================================================
--- /dev/null 2009-08-06 23:11:13.000000000 -0500
+++ null_socket.stdout.out 2009-08-06 23:11:30.000000000 -0500
@@ -0,0 +1 @@
+recvfrom succeeded?
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2009-08-06 23:05:29.000000000 -0500
+++ origin5-bz2.stderr.out 2009-08-06 23:11:46.000000000 -0500
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -49,8 +49,8 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2854)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2855)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
@@ -60,8 +60,8 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2858)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2859)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -93,7 +93,18 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
+ by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
+ by 0x........: handle_compress (origin5-bz2.c:4753)
+ by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
+ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
+ by 0x........: main (origin5-bz2.c:6484)
+ Uninitialised value was created by a client request
+ at 0x........: main (origin5-bz2.c:6479)
+
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -104,7 +115,7 @@
Uninitialised value was created by a client request
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2009-08-06 23:05:30.000000000 -0500
+++ origin5-bz2.stderr.out 2009-08-06 23:11:46.000000000 -0500
@@ -28,7 +28,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -38,7 +39,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -48,7 +50,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2855)
+ at 0x........: mainSort (origin5-bz2.c:2855)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -58,7 +61,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2859)
+ at 0x........: mainSort (origin5-bz2.c:2859)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -68,7 +72,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -78,7 +83,19 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2964)
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
+ by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
+ by 0x........: handle_compress (origin5-bz2.c:4753)
+ by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
+ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
+ by 0x........: main (origin5-bz2.c:6484)
+ Uninitialised value was created by a client request
+ at 0x........: main (origin5-bz2.c:6479)
+
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2009-08-06 23:05:29.000000000 -0500
+++ origin5-bz2.stderr.out 2009-08-06 23:11:46.000000000 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,85 +9,102 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2854)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2855)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2858)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2859)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/varinfo3.stderr.diff
=================================================
--- varinfo3.stderr.exp 2009-08-06 23:05:29.000000000 -0500
+++ varinfo3.stderr.out 2009-08-06 23:12:41.000000000 -0500
@@ -31,7 +31,7 @@
by 0x........: bar (varinfo3.c:42)
by 0x........: foo (varinfo3.c:58)
by 0x........: main (varinfo3.c:66)
- Address 0x........ is 5 bytes inside data symbol "static_local_def.XXXX"
+ Address 0x........ is in the Data segment of ./varinfo3
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo3.c:28)
@@ -46,7 +46,7 @@
by 0x........: bar (varinfo3.c:44)
by 0x........: foo (varinfo3.c:58)
by 0x........: main (varinfo3.c:66)
- Address 0x........ is 7 bytes inside data symbol "static_local_undef.XXXX"
+ Address 0x........ is in the Data segment of ./varinfo3
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo3.c:28)
=================================================
./valgrind-old/memcheck/tests/varinfo5.stderr.diff
=================================================
--- varinfo5.stderr.exp 2009-08-06 23:05:30.000000000 -0500
+++ varinfo5.stderr.out 2009-08-06 23:12:43.000000000 -0500
@@ -119,7 +119,7 @@
by 0x........: varinfo3_main (varinfo5so.c:118)
by 0x........: varinfo5_main (varinfo5so.c:156)
by 0x........: main (varinfo5.c:5)
- Address 0x........ is 5 bytes inside data symbol "static_local_def.XXXX"
+ Address 0x........ is in the Data segment of /Users/minime/src/vg/nightly/valgrind-old/memcheck/tests/varinfo5so.so
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo5so.c:29)
@@ -138,7 +138,7 @@
by 0x........: varinfo3_main (varinfo5so.c:118)
by 0x........: varinfo5_main (varinfo5so.c:156)
by 0x........: main (varinfo5.c:5)
- Address 0x........ is 7 bytes inside data symbol "static_local_undef.XXXX"
+ Address 0x........ is in the Data segment of /Users/minime/src/vg/nightly/valgrind-old/memcheck/tests/varinfo5so.so
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo5so.c:29)
=================================================
./valgrind-old/memcheck/tests/vcpu_fnfns.stdout.diff
=================================================
--- vcpu_fnfns.stdout.exp 2009-08-06 23:05:29.000000000 -0500
+++ vcpu_fnfns.stdout.out 2009-08-06 23:12:51.000000000 -0500
@@ -91,16 +91,16 @@
ceilD(-1.2000000008000e+00) = -1.0000000000000e+00
ceilD(-1.1000000009000e+00) = -1.0000000000000e+00
ceilD(-1.0000000010000e+00) = -1.0000000000000e+00
- ceilD(-9.0000000110000e-01) = -0.0000000000000e+00
- ceilD(-8.0000000120000e-01) = -0.0000000000000e+00
- ceilD(-7.0000000130000e-01) = -0.0000000000000e+00
- ceilD(-6.0000000140000e-01) = -0.0000000000000e+00
- ceilD(-5.0000000150000e-01) = -0.0000000000000e+00
- ceilD(-4.0000000160000e-01) = -0.0000000000000e+00
- ceilD(-3.0000000170000e-01) = -0.0000000000000e+00
- ceilD(-2.0000000180000e-01) = -0.0000000000000e+00
- ceilD(-1.0000000190000e-01) = -0.0000000000000e+00
- ceilD(-1.9999992495467e-09) = -0.0000000000000e+00
+ ceilD(-9.0000000110000e-01) = +0.0000000000000e+00
+ ceilD(-8.0000000120000e-01) = +0.0000000000000e+00
+ ceilD(-7.0000000130000e-01) = +0.0000000000000e+00
+ ceilD(-6.0000000140000e-01) = +0.0000000000000e+00
+ ceilD(-5.0000000150000e-01) = +0.0000000000000e+00
+ ceilD(-4.0000000160000e-01) = +0.0000000000000e+00
+ ceilD(-3.0000000170000e-01) = +0.0000000000000e+00
+ ceilD(-2.0000000180000e-01) = +0.0000000000000e+00
+ ceilD(-1.0000000190000e-01) = +0.0000000000000e+00
+ ceilD(-1.9999992495467e-09) = +0.0000000000000e+00
ceilD(+9.9999997900001e-02) = +1.0000000000000e+00
ceilD(+1.9999999780000e-01) = +1.0000000000000e+00
ceilD(+2.9999999770000e-01) = +1.0000000000000e+00
@@ -132,16 +132,16 @@
ceilF( -1.2008e+00) = -1.0000e+00
ceilF( -1.1009e+00) = -1.0000e+00
ceilF( -1.0010e+00) = -1.0000e+00
- ceilF( -9.0110e-01) = -0.0000e+00
- ceilF( -8.0120e-01) = -0.0000e+00
- ceilF( -7.0130e-01) = -0.0000e+00
- ceilF( -6.0140e-01) = -0.0000e+00
- ceilF( -5.0150e-01) = -0.0000e+00
- ceilF( -4.0160e-01) = -0.0000e+00
- ceilF( -3.0170e-01) = -0.0000e+00
- ceilF( -2.0180e-01) = -0.0000e+00
- ceilF( -1.0190e-01) = -0.0000e+00
- ceilF( -1.9999e-03) = -0.0000e+00
+ ceilF( -9.0110e-01) = +0.0000e+00
+ ceilF( -8.0120e-01) = +0.0000e+00
+ ceilF( -7.0130e-01) = +0.0000e+00
+ ceilF( -6.0140e-01) = +0.0000e+00
+ ceilF( -5.0150e-01) = +0.0000e+00
+ ceilF( -4.0160e-01) = +0.0000e+00
+ ceilF( -3.0170e-01) = +0.0000e+00
+ ceilF( -2.0180e-01) = +0.0000e+00
+ ceilF( -1.0190e-01) = +0.0000e+00
+ ceilF( -1.9999e-03) = +0.0000e+00
ceilF( +9.7900e-02) = +1.0000e+00
ceilF( +1.9780e-01) = +1.0000e+00
ceilF( +2.9770e-01) = +1.0000e+00
@@ -305,7 +305,7 @@
cosF( -3.0170e-01) = +9.5483e-01
cosF( -2.0180e-01) = +9.7971e-01
cosF( -1.0190e-01) = +9.9481e-01
- cosF( -1.9999e-03) = +1.0000e-00
+ cosF( -1.9999e-03) = +1.0000e+00
cosF( +9.7900e-02) = +9.9521e-01
cosF( +1.9780e-01) = +9.8050e-01
cosF( +2.9770e-01) = +9.5601e-01
@@ -536,7 +536,7 @@
logD(+9.9999999900000e-02) = -2.3025850939940e+00
logD(+1.9999999980000e-01) = -1.6094379134341e+00
logD(+2.9999999970000e-01) = -1.2039728053259e+00
- logD(+3.9999999960000e-01) = -9.1629073287415e-01
+ logD(+3.9999999960000e-01) = -9.1629073287416e-01
logD(+4.9999999950000e-01) = -6.9314718155995e-01
logD(+5.9999999940000e-01) = -5.1082562476599e-01
logD(+6.9999999930000e-01) = -3.5667494493873e-01
@@ -617,7 +617,7 @@
log10F( +1.8981e+00) = +2.7832e-01
log10F( +1.9980e+00) = +3.0060e-01
asinD(-1.0000000000000e+00) = -1.5707963267949e+00
- asinD(-9.0000000010000e-01) = -1.1197695152281e+00
+ asinD(-9.0000000010000e-01) = -1.1197695152280e+00
asinD(-8.0000000020000e-01) = -9.2729521833495e-01
asinD(-7.0000000030000e-01) = -7.7539749703084e-01
asinD(-6.0000000040000e-01) = -6.4350110929328e-01
=================================================
./valgrind-old/memcheck/tests/vcpu_fnfns.stdout.diff-glibc28-amd64
=================================================
--- vcpu_fnfns.stdout.exp-glibc28-amd64 2009-08-06 23:05:29.000000000 -0500
+++ vcpu_fnfns.stdout.out 2009-08-06 23:12:51.000000000 -0500
@@ -91,16 +91,16 @@
ceilD(-1.2000000008000e+00) = -1.0000000000000e+00
ceilD(-1.1000000009000e+00) = -1.0000000000000e+00
ceilD(-1.0000000010000e+00) = -1.0000000000000e+00
- ceilD(-9.0000000110000e-01) = -0.0000000000000e+00
- ceilD(-8.0000000120000e-01) = -0.0000000000000e+00
- ceilD(-7.0000000130000e-01) = -0.0000000000000e+00
- ceilD(-6.0000000140000e-01) = -0.0000000000000e+00
- ceilD(-5.0000000150000e-01) = -0.0000000000000e+00
- ceilD(-4.0000000160000e-01) = -0.0000000000000e+00
- ceilD(-3.0000000170000e-01) = -0.0000000000000e+00
- ceilD(-2.0000000180000e-01) = -0.0000000000000e+00
- ceilD(-1.0000000190000e-01) = -0.0000000000000e+00
- ceilD(-1.9999992495467e-09) = -0.0000000000000e+00
+ ceilD(-9.0000000110000e-01) = +0.0000000000000e+00
+ ceilD(-8.0000000120000e-01) = +0.0000000000000e+00
+ ceilD(-7.0000000130000e-01) = +0.0000000000000e+00
+ ceilD(-6.0000000140000e-01) = +0.0000000000000e+00
+ ceilD(-5.0000000150000e-01) = +0.0000000000000e+00
+ ceilD(-4.0000000160000e-01) = +0.0000000000000e+00
+ ceilD(-3.0000000170000e-01) = +0.0000000000000e+00
+ ceilD(-2.0000000180000e-01) = +0.0000000000000e+00
+ ceilD(-1.0000000190000e-01) = +0.0000000000000e+00
+ ceilD(-1.9999992495467e-09) = +0.0000000000000e+00
ceilD(+9.9999997900001e-02) = +1.0000000000000e+00
ceilD(+1.9999999780000e-01) = +1.0000000000000e+00
ceilD(+2.9999999770000e-01) = +1.0000000000000e+00
@@ -132,16 +132,16 @@
ceilF( -1.2008e+00) = -1.0000e+00
ceilF( -1.1009e+00) = -1.0000e+00
ceilF( -1.0010e+00) = -1.0000e+00
- ceilF( -9.0110e-01) = -0.0000e+00
- ceilF( -8.0120e-01) = -0.0000e+00
- ceilF( -7.0130e-01) = -0.0000e+00
- ceilF( -6.0140e-01) = -0.0000e+00
- ceilF( -5.0150e-01) = -0.0000e+00
- ceilF( -4.0160e-01) = -0.0000e+00
- ceilF( -3.0170e-01) = -0.0000e+00
- ceilF( -2.0180e-01) = -0.0000e+00
- ceilF( -1.0190e-01) = -0.0000e+00
- ceilF( -1.9999e-03) = -0.0000e+00
+ ceilF( -9.0110e-01) = +0.0000e+00
+ ceilF( -8.0120e-01) = +0.0000e+00
+ ceilF( -7.0130e-01) = +0.0000e+00
+ ceilF( -6.0140e-01) = +0.0000e+00
+ ceilF( -5.0150e-01) = +0.0000e+00
+ ceilF( -4.0160e-01) = +0.0000e+00
+ ceilF( -3.0170e-01) = +0.0000e+00
+ ceilF( -2.0180e-01) = +0.0000e+00
+ ceilF( -1.0190e-01) = +0.0000e+00
+ ceilF( -1.9999e-03) = +0.0000e+00
ceilF( +9.7900e-02) = +1.0000e+00
ceilF( +1.9780e-01) = +1.0000e+00
ceilF( +2.9770e-01) = +1.0000e+00
@@ -536,7 +536,7 @@
logD(+9.9999999900000e-02) = -2.3025850939940e+00
logD(+1.9999999980000e-01) = -1.6094379134341e+00
logD(+2.9999999970000e-01) = -1.2039728053259e+00
- logD(+3.9999999960000e-01) = -9.1629073287415e-01
+ logD(+3.9999999960000e-01) = -9.1629073287416e-01
logD(+4.9999999950000e-01) = -6.9314718155995e-01
logD(+5.9999999940000e-01) = -5.1082562476599e-01
logD(+6.9999999930000e-01) = -3.5667494493873e-01
@@ -617,7 +617,7 @@
log10F( +1.8981e+00) = +2.7832e-01
log10F( +1.9980e+00) = +3.0060e-01
asinD(-1.0000000000000e+00) = -1.5707963267949e+00
- asinD(-9.0000000010000e-01) = -1.1197695152281e+00
+ asinD(-9.0000000010000e-01) = -1.1197695152280e+00
asinD(-8.0000000020000e-01) = -9.2729521833495e-01
asinD(-7.0000000030000e-01) = -7.7539749703084e-01
asinD(-6.0000000040000e-01) = -6.4350110929328e-01
=================================================
./valgrind-old/none/tests/async-sigs.stderr.diff
=================================================
--- async-sigs.stderr.exp 2009-08-06 23:05:47.000000000 -0500
+++ async-sigs.stderr.out 2009-08-06 23:14:09.000000000 -0500
@@ -1,8 +1,30 @@
-testing: blocking=0 caught=11 fatal=7... PASSED
+testing: blocking=0 caught=11 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: test (async-sigs.c:94)
+ by 0x........: main (async-sigs.c:129)
+PASSED
testing: blocking=0 caught=11 fatal=1... PASSED
-testing: blocking=0 caught=10 fatal=7... PASSED
-testing: blocking=0 caught=10 fatal=1... PASSED
-testing: blocking=1 caught=11 fatal=7... PASSED
+testing: blocking=0 caught=30 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: test (async-sigs.c:94)
+ by 0x........: main (async-sigs.c:131)
+PASSED
+testing: blocking=0 caught=30 fatal=1... PASSED
+testing: blocking=1 caught=11 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: __sigsuspend (in /...libc...)
+ by 0x........: test (async-sigs.c:95)
+ by 0x........: main (async-sigs.c:133)
+PASSED
testing: blocking=1 caught=11 fatal=1... PASSED
-testing: blocking=1 caught=10 fatal=7... PASSED
-testing: blocking=1 caught=10 fatal=1... PASSED
+testing: blocking=1 caught=30 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: __sigsuspend (in /...libc...)
+ by 0x........: test (async-sigs.c:95)
+ by 0x........: main (async-sigs.c:135)
+PASSED
+testing: blocking=1 caught=30 fatal=1... PASSED
=================================================
./valgrind-old/none/tests/faultstatus.stderr.diff
=================================================
--- faultstatus.stderr.exp 2009-08-06 23:05:48.000000000 -0500
+++ faultstatus.stderr.out 2009-08-06 23:14:15.000000000 -0500
@@ -1,6 +1,6 @@
-Test 1: PASS
-Test 2: PASS
-Test 3: PASS
-Test 4: PASS
+Test 1: FAIL: expected signal 11, not 10
+Test 2: FAIL: expected signal 11, not 10
+Test 3: FAIL: no fault, or handler returned
+Test 4: FAIL: expected si_code==7, not 0
=================================================
./valgrind-old/none/tests/pth_blockedsig.stderr.diff
=================================================
--- pth_blockedsig.stderr.exp 2009-08-06 23:05:47.000000000 -0500
+++ pth_blockedsig.stderr.out 2009-08-06 23:15:17.000000000 -0500
@@ -1,2 +1,4 @@
+UNKNOWN __pthread_sigmask is unsupported. This warning will not be repeated.
+SHOULD NOT BE HERE (SIGUSR1)!!!!
|
|
From: Julian S. <js...@ac...> - 2009-08-07 12:05:49
|
> Ok, commit away. If it bugs me and I can see a way to improve it, > I'll bring it up again later. Ok, ta. It of course involves some futzing around with regtest filtering and expected outputs, so it's not going to be instant. J |
|
From: Nicholas N. <n.n...@gm...> - 2009-08-07 11:54:06
|
On Fri, Aug 7, 2009 at 8:59 PM, Julian Seward<js...@ac...> wrote: > > I made it even more concise, but putting the "Searched .." on -v only > -- seems pointless for normal use. Sounds good. > It's difficult to finish up like this > > ==26545== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) > ==26545== For counts of detected and suppressed errors, rerun with: -v > > because some tools (Memcheck) want to print a last-gasp message in their > fini message, before the error manager prints the ERROR SUMMARY, and so > you'd get this (plus more phase-ordering complexity in the core/tool iface): > > ==26594== Use --track-origins=yes to see where uninitialised values come from > ==26594== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 1) > ==26594== For counts of detected and suppressed errors, rerun with: -v > > which looks a bit strange. So I propose to leave it as it stands. Ok, commit away. If it bugs me and I can see a way to improve it, I'll bring it up again later. N |
|
From: Julian S. <js...@ac...> - 2009-08-07 10:50:14
|
> * With all those changes: > > ==6310== HEAP SUMMARY: > ==6310== in use at exit: 15,090 bytes in 17 blocks. > ==6310== total heap usage: 17 allocs, 0 frees, 15,090 bytes allocated. > ==6310== > ==6310== LEAK SUMMARY: > ==6310== definitely lost: 0 bytes in 0 blocks. > ==6310== indirectly lost: 0 bytes in 0 blocks. > ==6310== possibly lost: 0 bytes in 0 blocks. > ==6310== still reachable: 10,694 bytes in 9 blocks. > ==6310== suppressed: 4,396 bytes in 8 blocks. > ==6310== Searched 1,123,768 bytes for pointers to 17 unfreed blocks. > ==6310== Rerun with --leak-check=full to see details of leaked memory. > ==6310== > ==6310== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 3 from 3) > ==6310== For counts of detected errors, rerun with: -v I made it even more concise, but putting the "Searched .." on -v only -- seems pointless for normal use. Hence: ==26545== HEAP SUMMARY: ==26545== in use at exit: 172,419 bytes in 563 blocks. ==26545== total heap usage: 984 allocs, 421 frees, 329,690 bytes allocated. ==26545== ==26545== LEAK SUMMARY: ==26545== definitely lost: 0 bytes in 0 blocks. ==26545== indirectly lost: 0 bytes in 0 blocks. ==26545== possibly lost: 0 bytes in 0 blocks. ==26545== still reachable: 172,419 bytes in 563 blocks. ==26545== suppressed: 0 bytes in 0 blocks. ==26545== Rerun with --leak-check=full to see details of leaked memory. ==26545== ==26545== For counts of detected and suppressed errors, rerun with: -v ==26545== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) It's difficult to finish up like this ==26545== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==26545== For counts of detected and suppressed errors, rerun with: -v because some tools (Memcheck) want to print a last-gasp message in their fini message, before the error manager prints the ERROR SUMMARY, and so you'd get this (plus more phase-ordering complexity in the core/tool iface): ==26594== Use --track-origins=yes to see where uninitialised values come from ==26594== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 1) ==26594== For counts of detected and suppressed errors, rerun with: -v which looks a bit strange. So I propose to leave it as it stands. J |
|
From: Josef W. <Jos...@gm...> - 2009-08-07 09:53:13
|
On Friday 07 August 2009, Nicholas Nethercote wrote: > On Fri, Aug 7, 2009 at 4:13 AM, <sv...@va...> wrote: > > Author: weidendo > > Date: 2009-08-06 19:13:17 +0100 (Thu, 06 Aug 2009) > > New Revision: 10729 > > > > Log: > > Added some text for --simulate-wb/--cacheuse options of Callgrind. > > > > For cacheuse, it actually got quite large... > > Hmm, interesting option. So the documentation seems to be understandable ;-) > Have you found it to be useful in practice? From an academic point of view, the results are very interesting. In practice, the values are very difficult to interprete. This is because of the (1) current problem of bogus - and therefore suppressed - inclusive costs, (2) potentially misleading current relation to the code position of the first cache line access only (relation to data structures would be way better), and (3) it is difficult to estimate the potential performance improvement you can get by getting rid of a problem pointed at by the cache use metrics. So yes, it is useful for more detailed analysis, especially if you want to check for the best layout of heavily used data structures. However, if you just run the cacheuse option on a regular huge program startup, you usually see all the hash accesses in the runtime linker because of symbol resolution. This is a little bit misleading, and is an effect of the above mentioned issues. BTW, (1) is an effect of the current determination of inclusive costs in Callgrind. For a function, it is given by the difference of global cost counters at leaving the function minus the (stored) counters at entering. However, cacheuse metrics are determined for a cache line at eviction time, and related to counters of a code position which was executed in the past. This simply is incompatible with the globally advancing counter idea for inclusive costs. > (Actually, I could ask the same question for a lot of Callgrind's > options :) Yeah, a lot of options grow out of the interest of how useful the option is in practice. Perhaps it would be a good idea to have a generic --exp=yes switch supported by Valgrind core and hide more esoteric options by default, similar to the exp- prefix of the experimental tools. Josef > > Nick > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |
|
From: <sv...@va...> - 2009-08-07 08:32:05
|
Author: njn Date: 2009-08-07 09:31:58 +0100 (Fri, 07 Aug 2009) New Revision: 10745 Log: 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). Modified: trunk/docs/Makefile.am Modified: trunk/docs/Makefile.am =================================================================== --- trunk/docs/Makefile.am 2009-08-07 07:56:20 UTC (rev 10744) +++ trunk/docs/Makefile.am 2009-08-07 08:31:58 UTC (rev 10745) @@ -179,6 +179,12 @@ mkdir -p $(DESTDIR)$(datadir)/doc/valgrind; \ cp -r html $(DESTDIR)$(datadir)/doc/valgrind; \ fi + for f in *.1 ; do \ + if test -r $$f ; then \ + mkdir -p $(DESTDIR)$(mandir)/man1; \ + cp $$f $(DESTDIR)$(mandir)/man1; \ + fi \ + done ifeq ($(BUILD_ALL_DOCS),yes) if test -r index.pdf ; then \ mkdir -p $(DESTDIR)$(datadir)/doc/valgrind; \ @@ -188,31 +194,28 @@ mkdir -p $(DESTDIR)$(datadir)/doc/valgrind; \ cp index.ps $(DESTDIR)$(datadir)/doc/valgrind/valgrind_manual.ps; \ fi - if test -r valgrind.1 ; then \ - mkdir -p $(DESTDIR)$(mandir)/man1; \ - cp valgrind.1 $(DESTDIR)$(mandir)/man1/valgrind.1; \ - fi endif # This is done at 'make dist' time. It builds the html docs, print -# docs and man page and copies them into the docs/ directory in the +# docs and man pages and copies them into the docs/ directory in the # tarball. ifeq ($(BUILD_ALL_DOCS),yes) -dist-hook: FAQ.txt html-docs print-docs man-pages +dist-hook: FAQ.txt html-docs man-pages print-docs cp -r html $(distdir) cp FAQ.txt $(distdir)/.. - cp valgrind.1 $(distdir) + cp *.1 $(distdir) cp print/index.pdf $(distdir) cp print/index.ps $(distdir) else dist-hook: FAQ.txt html-docs man-pages + cp -r html $(distdir) cp FAQ.txt $(distdir)/.. - cp -r html $(distdir) + cp *.1 $(distdir) endif distclean-local: rm -rf html print - rm -f $(top_builddir)/FAQ.txt + rm -f $(top_builddir)/FAQ.txt $(top_builddir)/docs/*.1 |
|
From: Bart V. A. <bar...@gm...> - 2009-08-07 08:03:20
|
Nightly build on georgia-tech-cellbuzz-native ( cellbuzz, ppc64, Fedora 7, native ) Started at 2009-08-07 02:15:45 EDT Ended at 2009-08-07 04:02:40 EDT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 437 tests, 44 stderr failures, 9 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cases-full (stderr) memcheck/tests/leak-cases-summary (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stderr) none/tests/empty-exe (stderr) none/tests/linux/mremap (stderr) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) none/tests/shell (stdout) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) none/tests/shell_zerolength (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/hsg (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) |
|
From: <sv...@va...> - 2009-08-07 07:56:29
|
Author: njn
Date: 2009-08-07 08:56:20 +0100 (Fri, 07 Aug 2009)
New Revision: 10744
Log:
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.
Added:
trunk/cachegrind/docs/cg_annotate-manpage.xml
Modified:
trunk/cachegrind/Makefile.am
trunk/cachegrind/docs/cg-manual.xml
trunk/callgrind/docs/callgrind_annotate-manpage.xml
trunk/callgrind/docs/callgrind_control-manpage.xml
trunk/docs/Makefile.am
trunk/docs/xml/manpages-index.xml
trunk/docs/xml/valgrind-manpage.xml
trunk/massif/docs/ms_print-manpage.xml
Modified: trunk/cachegrind/Makefile.am
===================================================================
--- trunk/cachegrind/Makefile.am 2009-08-07 07:49:36 UTC (rev 10743)
+++ trunk/cachegrind/Makefile.am 2009-08-07 07:56:20 UTC (rev 10744)
@@ -1,6 +1,8 @@
include $(top_srcdir)/Makefile.tool.am
-EXTRA_DIST = docs/cg-manual.xml
+EXTRA_DIST = \
+ docs/cg-manual.xml \
+ docs/cg_annotate-manpage.xml
#----------------------------------------------------------------------------
# Headers, etc
Modified: trunk/cachegrind/docs/cg-manual.xml
===================================================================
--- trunk/cachegrind/docs/cg-manual.xml 2009-08-07 07:49:36 UTC (rev 10743)
+++ trunk/cachegrind/docs/cg-manual.xml 2009-08-07 07:56:20 UTC (rev 10744)
@@ -793,7 +793,8 @@
<sect1 id="cg-manual.annopts" xreflabel="cg_annotate Options">
<title>cg_annotate Options</title>
-<variablelist>
+<!-- start of xi:include in the manpage -->
+<variablelist id="cg_annotate.opts.list">
<varlistentry>
<term>
@@ -896,6 +897,7 @@
</varlistentry>
</variablelist>
+<!-- end of xi:include in the manpage -->
</sect1>
Added: trunk/cachegrind/docs/cg_annotate-manpage.xml
===================================================================
--- trunk/cachegrind/docs/cg_annotate-manpage.xml (rev 0)
+++ trunk/cachegrind/docs/cg_annotate-manpage.xml 2009-08-07 07:56:20 UTC (rev 10744)
@@ -0,0 +1,73 @@
+<?xml version="1.0"?> <!-- -*- sgml -*- -->
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
+[ <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]>
+
+
+<refentry id="cg_annotate">
+
+<refmeta>
+ <refentrytitle>cg_annotate</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo>Release &rel-version;</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+ <refname>cg_annotate</refname>
+ <refpurpose>post-processing tool for Cachegrind</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+ <command>cg_annotate</command>
+ <arg><replaceable>options</replaceable></arg>
+ <arg>filename</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+
+<refsect1 id="description">
+<title>Description</title>
+
+<para><command>cg_annotate</command> takes an output file produced by the
+Valgrind tool Cachegrind and prints the information in an easy-to-read form.
+</para>
+
+</refsect1>
+
+
+
+<refsect1 id="options">
+<title>Options</title>
+
+<xi:include href="cg-manual.xml" xpointer="cg_annotate.opts.list"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</refsect1>
+
+
+
+
+<refsect1 id="see_also">
+<title>See Also</title>
+
+<para>
+valgrind(1),
+<filename>&vg-docs-path;</filename> or
+<filename>&vg-docs-url;</filename>.
+</para>
+
+</refsect1>
+
+
+<refsect1 id="author">
+<title>Author</title>
+
+<para>Nicholas Nethercote.</para>
+
+</refsect1>
+
+
+</refentry>
+
+
Modified: trunk/callgrind/docs/callgrind_annotate-manpage.xml
===================================================================
--- trunk/callgrind/docs/callgrind_annotate-manpage.xml 2009-08-07 07:49:36 UTC (rev 10743)
+++ trunk/callgrind/docs/callgrind_annotate-manpage.xml 2009-08-07 07:56:20 UTC (rev 10744)
@@ -14,7 +14,7 @@
<refnamediv id="a-name">
<refname>callgrind_annotate</refname>
- <refpurpose>post-processing tool for the Valgrind tool Callgrind</refpurpose>
+ <refpurpose>post-processing tool for the Callgrind</refpurpose>
</refnamediv>
<refsynopsisdiv id="a-synopsis">
Modified: trunk/callgrind/docs/callgrind_control-manpage.xml
===================================================================
--- trunk/callgrind/docs/callgrind_control-manpage.xml 2009-08-07 07:49:36 UTC (rev 10743)
+++ trunk/callgrind/docs/callgrind_control-manpage.xml 2009-08-07 07:56:20 UTC (rev 10744)
@@ -13,8 +13,7 @@
<refnamediv id="c-name">
<refname>callgrind_control</refname>
- <refpurpose>observe and control programs being run by the Valgrind tool
- Callgrind</refpurpose>
+ <refpurpose>observe and control programs being run by Callgrind</refpurpose>
</refnamediv>
<refsynopsisdiv id="c-synopsis">
@@ -43,6 +42,8 @@
<refsect1 id="c-options">
<title>Options</title>
+<xi:include href="cl-manual.xml" xpointer="callgrind_control.opts.list"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
</refsect1>
Modified: trunk/docs/Makefile.am
===================================================================
--- trunk/docs/Makefile.am 2009-08-07 07:49:36 UTC (rev 10743)
+++ trunk/docs/Makefile.am 2009-08-07 07:56:20 UTC (rev 10744)
@@ -111,7 +111,7 @@
/usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl \
/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
-all-docs: FAQ.txt man-page html-docs print-docs
+all-docs: FAQ.txt man-pages html-docs print-docs
valid:
$(XMLLINT) $(XMLLINT_FLAGS) $(myxmldir)/index.xml
@@ -123,7 +123,7 @@
$(XSLTPROC) $(XSLTPROC_FLAGS) -o ./FAQ.txt $(XSL_TEXT_STYLE) $(myxmldir)/FAQ.xml
# the valgrind manpages
-man-page:
+man-pages:
for x in $(XSL_MAN_STYLES) ; do \
if test -f $$x; then \
echo "Using manpage stylesheet: $$x"; \
@@ -198,14 +198,14 @@
# docs and man page and copies them into the docs/ directory in the
# tarball.
ifeq ($(BUILD_ALL_DOCS),yes)
-dist-hook: FAQ.txt html-docs print-docs man-page
+dist-hook: FAQ.txt html-docs print-docs man-pages
cp -r html $(distdir)
cp FAQ.txt $(distdir)/..
cp valgrind.1 $(distdir)
cp print/index.pdf $(distdir)
cp print/index.ps $(distdir)
else
-dist-hook: FAQ.txt html-docs man-page
+dist-hook: FAQ.txt html-docs man-pages
cp FAQ.txt $(distdir)/..
cp -r html $(distdir)
endif
Modified: trunk/docs/xml/manpages-index.xml
===================================================================
--- trunk/docs/xml/manpages-index.xml 2009-08-07 07:49:36 UTC (rev 10743)
+++ trunk/docs/xml/manpages-index.xml 2009-08-07 07:56:20 UTC (rev 10744)
@@ -11,6 +11,10 @@
<xi:include href="valgrind-manpage.xml" parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+<!-- cg_annotate -->
+<xi:include href="../../cachegrind/docs/cg_annotate-manpage.xml" parse="xml"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+
<!-- callgrind_annotate -->
<xi:include href="../../callgrind/docs/callgrind_annotate-manpage.xml" parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
Modified: trunk/docs/xml/valgrind-manpage.xml
===================================================================
--- trunk/docs/xml/valgrind-manpage.xml 2009-08-07 07:49:36 UTC (rev 10743)
+++ trunk/docs/xml/valgrind-manpage.xml 2009-08-07 07:56:20 UTC (rev 10744)
@@ -222,6 +222,7 @@
<title>See Also</title>
<para>
+cg_annotate(1),
callgrind_annotate(1),
callgrind_control(1),
ms_print(1),
Modified: trunk/massif/docs/ms_print-manpage.xml
===================================================================
--- trunk/massif/docs/ms_print-manpage.xml 2009-08-07 07:49:36 UTC (rev 10743)
+++ trunk/massif/docs/ms_print-manpage.xml 2009-08-07 07:56:20 UTC (rev 10744)
@@ -14,7 +14,7 @@
<refnamediv>
<refname>ms_print</refname>
- <refpurpose>post-processing tool for the Valgrind tool Massif</refpurpose>
+ <refpurpose>post-processing tool for Massif</refpurpose>
</refnamediv>
<refsynopsisdiv>
|
|
From: <sv...@va...> - 2009-08-07 07:49:47
|
Author: bart Date: 2009-08-07 08:49:36 +0100 (Fri, 07 Aug 2009) New Revision: 10743 Log: Updated DRD's to do list. Modified: trunk/drd/TODO.txt Modified: trunk/drd/TODO.txt =================================================================== --- trunk/drd/TODO.txt 2009-08-07 07:44:31 UTC (rev 10742) +++ trunk/drd/TODO.txt 2009-08-07 07:49:36 UTC (rev 10743) @@ -1,15 +1,14 @@ -Last updated May 30, 2009. +Last updated August 7, 2009. ~~~~~~~~~~~~~~~~~~~~~~~~~~ The DRD tool ~~~~~~~~~~~~ -- Eliminate Valgrind's thread ID's from DRD's output, and only keep the - DrdThreadId. -- Add support for Ist_CAS once the DCAS branch has been merged to the trunk. -- Update the description of DRD in docs/xml/manual-intro.xml before 3.4.2 or - 3.5.0 is released, whichever is released first. -- Update the DRD manual before 3.5.0 is released. +- Improve the code for suppressing races reported on glibc FILE objects, e.g. by + intercepting all operations on FILE objects and by associating mutex semantics + with FILE objects. Verify that races on unsynchronized *_unlocked() operations + are reported. Remove FILE-I/O suppression patterns from glibc-2.X-drd.supp. + See also http://www.unix.org/whitepapers/reentrant.html. - Add locking order checking. Start from the following information: * http://sourceforge.net/mailarchive/message.php?msg_id=alpine.LNX.1.10.0803270822080.17890%40mudge.stoecker.eu * http://lwn.net/Articles/185605/ @@ -18,15 +17,6 @@ (only possible after locking order checking is implemented). - Evaluate whether integration of drd with one of the available Valgrind GUI's makes sense (http://valgrind.org/downloads/guis.html). -- Find out why no variable name information is printed for races - detected in parallel sections of OpenMP programs. An example: - ./vg-in-place --tool=drd drd/tests/omp_prime 4 -t 2 -- Improve the code for suppressing races reported on glibc FILE objects, e.g. by - intercepting all operations on FILE objects and by associating mutex semantics - with FILE objects. Verify that races on unsynchronized *_unlocked() operations - are reported. Remove FILE-I/O suppression patterns from glibc-2.X-drd.supp. - See also http://www.unix.org/whitepapers/reentrant.html. -- Find out why DRD reports an error on the POSIX implementation of libgomp.so. Testing @@ -39,7 +29,6 @@ Documentation ~~~~~~~~~~~~~ -- Document the features added after the 3.4.0 release. - Document the algorithms used in drd. - Add comment on double checked locking. - Add comment on lockless algorithms in general and circular buffers in |
|
From: <sv...@va...> - 2009-08-07 07:44:42
|
Author: njn
Date: 2009-08-07 08:44:31 +0100 (Fri, 07 Aug 2009)
New Revision: 10742
Log:
- Documented callgrind_{annotate,control} in the Callgrind manual chapter
and created man pages for them. Renamed the XML files in the process for
consistency.
- Inlined cg-entities.xml into vg-entities.xml.
Added:
trunk/callgrind/docs/callgrind_annotate-manpage.xml
trunk/callgrind/docs/callgrind_control-manpage.xml
Removed:
trunk/callgrind/docs/cl-entities.xml
trunk/callgrind/docs/man-annotate.xml
trunk/callgrind/docs/man-control.xml
Modified:
trunk/callgrind/Makefile.am
trunk/callgrind/callgrind_annotate.in
trunk/callgrind/docs/cl-format.xml
trunk/callgrind/docs/cl-manual.xml
trunk/docs/xml/manpages-index.xml
trunk/docs/xml/valgrind-manpage.xml
trunk/docs/xml/vg-entities.xml
Modified: trunk/callgrind/Makefile.am
===================================================================
--- trunk/callgrind/Makefile.am 2009-08-07 07:31:15 UTC (rev 10741)
+++ trunk/callgrind/Makefile.am 2009-08-07 07:44:31 UTC (rev 10742)
@@ -1,11 +1,10 @@
include $(top_srcdir)/Makefile.tool.am
EXTRA_DIST = \
- docs/cl-entities.xml \
+ docs/callgrind_annotate-manpage.xml \
+ docs/callgrind_control-manpage.xml \
docs/cl-manual.xml \
- docs/cl-format.xml \
- docs/man-annotate.xml \
- docs/man-control.xml
+ docs/cl-format.xml
#----------------------------------------------------------------------------
# Headers, etc
Modified: trunk/callgrind/callgrind_annotate.in
===================================================================
--- trunk/callgrind/callgrind_annotate.in 2009-08-07 07:31:15 UTC (rev 10741)
+++ trunk/callgrind/callgrind_annotate.in 2009-08-07 07:44:31 UTC (rev 10742)
@@ -200,7 +200,7 @@
options for the user, with defaults in [ ], are:
-h --help show this message
- -v --version show version
+ --version show version
--show=A,B,C only show figures for events A,B,C [all]
--sort=A,B,C sort columns by events A,B,C [event column order]
--threshold=<0--100> percentage of counts (of primary sort event) we
@@ -232,7 +232,7 @@
if ($arg =~ /^-/) {
# --version
- if ($arg =~ /^-v$|^--version$/) {
+ if ($arg =~ /^--version$/) {
die("callgrind_annotate-$version\n");
# --show=A,B,C
Copied: trunk/callgrind/docs/callgrind_annotate-manpage.xml (from rev 10723, trunk/callgrind/docs/man-annotate.xml)
===================================================================
--- trunk/callgrind/docs/callgrind_annotate-manpage.xml (rev 0)
+++ trunk/callgrind/docs/callgrind_annotate-manpage.xml 2009-08-07 07:44:31 UTC (rev 10742)
@@ -0,0 +1,71 @@
+<?xml version="1.0"?> <!-- -*- sgml -*- -->
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
+[ <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]>
+
+
+<refentry id="callgrind-annotate">
+
+<refmeta>
+ <refentrytitle>Callgrind Annotate</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo>Release &rel-version;</refmiscinfo>
+</refmeta>
+
+<refnamediv id="a-name">
+ <refname>callgrind_annotate</refname>
+ <refpurpose>post-processing tool for the Valgrind tool Callgrind</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="a-synopsis">
+ <cmdsynopsis>
+ <command>callgrind_annotate</command>
+ <arg choice="opt"><replaceable>options</replaceable></arg>
+ <arg choice="opt"><replaceable>source-files</replaceable></arg>
+ </cmdsynopsis>
+</refsynopsisdiv>
+
+
+<refsect1 id="a-description">
+<title>Description</title>
+
+<para><command>callgrind_annotate</command> takes an output file produced by
+the Valgrind tool Callgrind and prints the information in an easy-to-read form.
+</para>
+
+</refsect1>
+
+
+<refsect1 id="a-options">
+<title>Options</title>
+
+<xi:include href="cl-manual.xml" xpointer="callgrind_annotate.opts.list"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</refsect1>
+
+
+<refsect1 id="a-see_also">
+<title>See Also</title>
+
+<para>
+valgrind(1),
+<filename>&vg-docs-path;</filename> or
+<filename>&vg-docs-url;</filename>.
+</para>
+
+
+</refsect1>
+
+
+<refsect1 id="a-author">
+<title>Author</title>
+
+<para>Josef Weidendorfer <&cl-email;>.</para>
+
+<para>This manual page was written by
+Philipp Frauenfelder <pfr...@de...>.</para>
+</refsect1>
+
+
+</refentry>
Property changes on: trunk/callgrind/docs/callgrind_annotate-manpage.xml
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: trunk/callgrind/docs/callgrind_control-manpage.xml (from rev 10723, trunk/callgrind/docs/man-control.xml)
===================================================================
--- trunk/callgrind/docs/callgrind_control-manpage.xml (rev 0)
+++ trunk/callgrind/docs/callgrind_control-manpage.xml 2009-08-07 07:44:31 UTC (rev 10742)
@@ -0,0 +1,72 @@
+<?xml version="1.0"?> <!-- -*- sgml -*- -->
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
+[ <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]>
+
+
+<refentry id="callgrind-control">
+<refmeta>
+ <refentrytitle>Callgrind Control</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo>Release &rel-version;</refmiscinfo>
+</refmeta>
+
+<refnamediv id="c-name">
+ <refname>callgrind_control</refname>
+ <refpurpose>observe and control programs being run by the Valgrind tool
+ Callgrind</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="c-synopsis">
+ <cmdsynopsis>
+ <command>callgrind_control</command>
+ <arg choice="opt"><replaceable>options</replaceable></arg>
+ <arg choice="opt" rep="repeat"><replaceable>pid/program-name</replaceable></arg>
+ </cmdsynopsis>
+</refsynopsisdiv>
+
+
+<refsect1 id="c-description">
+<title>Description</title>
+
+<para>
+<command>callgrind_control</command> controls programs being run by the
+Valgrind tool Callgrind. When a <command>pid/program name</command>
+argument is not specified, all applications currently being run by Callgrind
+on this system will be used for actions given by the specified option(s).
+The default action is to give some brief information about the applications
+being run by Callgrind.</para>
+
+</refsect1>
+
+
+<refsect1 id="c-options">
+<title>Options</title>
+
+
+</refsect1>
+
+
+<refsect1 id="c-see_also">
+<title>See Also</title>
+
+<para>
+valgrind(1),
+<filename>&vg-docs-path;</filename> or
+<filename>&vg-docs-url;</filename>.
+</para>
+
+</refsect1>
+
+
+<refsect1 id="c-author">
+<title>Author</title>
+
+<para>Josef Weidendorfer <&cl-email;>.</para>
+
+
+</refsect1>
+
+
+</refentry>
+
Property changes on: trunk/callgrind/docs/callgrind_control-manpage.xml
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: trunk/callgrind/docs/cl-entities.xml
===================================================================
--- trunk/callgrind/docs/cl-entities.xml 2009-08-07 07:31:15 UTC (rev 10741)
+++ trunk/callgrind/docs/cl-entities.xml 2009-08-07 07:44:31 UTC (rev 10742)
@@ -1,10 +0,0 @@
-<!-- website + email -->
-<!ENTITY cl-email "Jos...@gm...">
-
-<!-- external urls used in the docs. kept in here because when -->
-<!-- they change it's a real pain tracking them down in the docs -->
-<!ENTITY cl-gui "http://kcachegrind.sourceforge.net/cgi-bin/show.cgi/KcacheGrindIndex">
-
-<!-- path/to/callgrind/docs in valgrind install tree -->
-<!-- only used in the manpages -->
-<!ENTITY cl-doc-path "/usr/share/doc/valgrind/html/callgrind.html">
Modified: trunk/callgrind/docs/cl-format.xml
===================================================================
--- trunk/callgrind/docs/cl-format.xml 2009-08-07 07:31:15 UTC (rev 10741)
+++ trunk/callgrind/docs/cl-format.xml 2009-08-07 07:44:31 UTC (rev 10742)
@@ -1,7 +1,7 @@
<?xml version="1.0"?> <!-- -*- sgml -*- -->
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
-[ <!ENTITY % cl-entities SYSTEM "cl-entities.xml"> %cl-entities; ]>
+[ <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]>
<chapter id="cl-format" xreflabel="Callgrind Format Specification">
<title>Callgrind Format Specification</title>
Modified: trunk/callgrind/docs/cl-manual.xml
===================================================================
--- trunk/callgrind/docs/cl-manual.xml 2009-08-07 07:31:15 UTC (rev 10741)
+++ trunk/callgrind/docs/cl-manual.xml 2009-08-07 07:44:31 UTC (rev 10742)
@@ -1,7 +1,7 @@
<?xml version="1.0"?> <!-- -*- sgml -*- -->
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
-[ <!ENTITY % cl-entities SYSTEM "cl-entities.xml"> %cl-entities; ]>
+[ <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]>
<chapter id="cl-manual" xreflabel="Callgrind Manual">
<title>Callgrind: a call-graph generating cache profiler</title>
@@ -33,12 +33,9 @@
<listitem>
<para>This command reads in the profile data, and prints a
sorted lists of functions, optionally with source annotation.</para>
-<!--
- <para>You can read the manpage here: <xref
- linkend="callgrind-annotate"/>.</para>
--->
+
<para>For graphical visualization of the data, try
- <ulink url="&cl-gui;">KCachegrind</ulink>, which is a KDE/Qt based
+ <ulink url="&cl-gui-url;">KCachegrind</ulink>, which is a KDE/Qt based
GUI that makes it easy to navigate the large amount of data that
Callgrind produces.</para>
@@ -53,9 +50,6 @@
the application. You can
get statistics information as well as the current stack trace, and
you can request zeroing of counters or dumping of profile data.</para>
-<!--
- <para>You can read the manpage here: <xref linkend="callgrind-control"/>.</para>
--->
</listitem>
</varlistentry>
</variablelist>
@@ -172,7 +166,7 @@
</para>
<para>For better call graph browsing experience, it is highly recommended
- to use <ulink url="&cl-gui;">KCachegrind</ulink>.
+ to use <ulink url="&cl-gui-url;">KCachegrind</ulink>.
If your code
has a significant fraction of its cost in <emphasis>cycles</emphasis> (sets
of functions calling each other in a recursive manner), you have to
@@ -262,7 +256,7 @@
must be actively running for detection of the dump command. So,
for a GUI application, resize the window, or for a server, send a
request.</para>
- <para>If you are using <ulink url="&cl-gui;">KCachegrind</ulink>
+ <para>If you are using <ulink url="&cl-gui-url;">KCachegrind</ulink>
for browsing of profile information, you can use the toolbar
button <command>Force dump</command>. This will request a dump
and trigger a reload after the dump is written.</para>
@@ -489,8 +483,8 @@
</sect1>
-<sect1 id="cl-manual.options" xreflabel="Command line option reference">
-<title>Command line option reference</title>
+<sect1 id="cl-manual.options" xreflabel="Callgrind Options">
+<title>Callgrind Options</title>
<para>
In the following, options are grouped into classes.
@@ -515,6 +509,7 @@
These options influence the name and format of the profile data files.
</para>
+<!-- start of xi:include in the manpage -->
<variablelist id="cl.opts.list.creation">
<varlistentry id="opt.callgrind-out-file" xreflabel="--callgrind-out-file">
@@ -609,6 +604,7 @@
<computeroutput>callgrind_control</computeroutput>.
</para>
+<!-- start of xi:include in the manpage -->
<variablelist id="cl.opts.list.activity">
<varlistentry id="opt.dump-every-bb" xreflabel="--dump-every-bb">
@@ -652,6 +648,7 @@
</varlistentry>
</variablelist>
+<!-- end of xi:include in the manpage -->
</sect2>
<sect2 id="cl-manual.options.collection"
@@ -662,6 +659,7 @@
These options specify when events are to be aggregated into event counts.
Also see <xref linkend="cl-manual.limits"/>.</para>
+<!-- start of xi:include in the manpage -->
<variablelist id="cl.opts.list.collection">
<varlistentry id="opt.instr-atstart" xreflabel="--instr-atstart">
@@ -761,6 +759,7 @@
</varlistentry>
</variablelist>
+<!-- end of xi:include in the manpage -->
</sect2>
<sect2 id="cl-manual.options.separation"
@@ -775,6 +774,7 @@
and whether the thread ID should be considered.
Also see <xref linkend="cl-manual.cycles"/>.</para>
+<!-- start of xi:include in the manpage -->
<variablelist id="cmd-options.separation">
<varlistentry id="opt.separate-threads" xreflabel="--separate-threads">
@@ -883,12 +883,14 @@
-->
</variablelist>
+<!-- end of xi:include in the manpage -->
</sect2>
<sect2 id="cl-manual.options.simulation"
xreflabel="Cache simulation options">
<title>Cache simulation options</title>
+<!-- start of xi:include in the manpage -->
<variablelist id="cl.opts.list.simulation">
<varlistentry id="opt.simulate-cache" xreflabel="--simulate-cache">
@@ -1004,6 +1006,7 @@
</listitem>
</varlistentry>
</variablelist>
+<!-- end of xi:include in the manpage -->
</sect2>
@@ -1094,4 +1097,181 @@
</sect1>
+
+
+<sect1 id="cl-manual.callgrind_annotate-options" xreflabel="callgrind_annotate Options">
+<title>callgrind_annotate Options</title>
+
+<!-- start of xi:include in the manpage -->
+<variablelist id="callgrind_annotate.opts.list">
+
+ <varlistentry>
+ <term><option>-h --help</option></term>
+ <listitem>
+ <para>Show summary of options.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--version</option></term>
+ <listitem>
+ <para>Show version of callgrind_annotate.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>--show=A,B,C [default: all]</option>
+ </term>
+ <listitem>
+ <para>Only show figures for events A,B,C.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>--sort=A,B,C</option>
+ </term>
+ <listitem>
+ <para>Sort columns by events A,B,C [event column order].</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option><![CDATA[--threshold=<0--100> [default: 99%] ]]></option>
+ </term>
+ <listitem>
+ <para>Percentage of counts (of primary sort event) we are
+ interested in.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option><![CDATA[--auto=<yes|no> [default: no] ]]></option>
+ </term>
+ <listitem>
+ <para>Annotate all source files containing functions that helped
+ reach the event count threshold.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>--context=N [default: 8] </option>
+ </term>
+ <listitem>
+ <para>Print N lines of context before and after annotated
+ lines.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option><![CDATA[--inclusive=<yes|no> [default: no] ]]></option>
+ </term>
+ <listitem>
+ <para>Add subroutine costs to functions calls.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option><![CDATA[--tree=<none|caller|calling|both> [default: none] ]]></option>
+ </term>
+ <listitem>
+ <para>Print for each function their callers, the called functions
+ or both.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option><![CDATA[-I, --include=<dir> ]]></option>
+ </term>
+ <listitem>
+ <para>Add <option>dir</option> to the list of directories to search
+ for source files.</para>
+ </listitem>
+ </varlistentry>
+
+</variablelist>
+<!-- end of xi:include in the manpage -->
+
+
+</sect1>
+
+
+
+
+<sect1 id="cl-manual.callgrind_control-options" xreflabel="callgrind_control Options">
+<title>callgrind_control Options</title>
+
+<!-- start of xi:include in the manpage -->
+<variablelist id="callgrind_control.opts.list">
+
+ <varlistentry>
+ <term><option>-h --help</option></term>
+ <listitem>
+ <para>Show summary of options.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--version</option></term>
+ <listitem>
+ <para>Show version of callgrind_control.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-s</option></term>
+ <listitem>
+ <para>Show statistics.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-b</option></term>
+ <listitem>
+ <para>Show stack trace.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-e [A,B,C] [default: all] </option></term>
+ <listitem>
+ <para>Only show figures for events A,B,C.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-z</option></term>
+ <listitem>
+ <para>Zero cost counters.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-d, --dump [hint]</option></term>
+ <listitem>
+ <para>Request the dumping of profile information. Optionally, a
+ string can be specified which is written into the dump as part of
+ the Trigger reason. This can be used to distinguish multiple dumps.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>-k</option></term>
+ <listitem>
+ <para>Kill.</para>
+ </listitem>
+ </varlistentry>
+
+</variablelist>
+<!-- end of xi:include in the manpage -->
+
+</sect1>
+
</chapter>
Deleted: trunk/callgrind/docs/man-annotate.xml
===================================================================
--- trunk/callgrind/docs/man-annotate.xml 2009-08-07 07:31:15 UTC (rev 10741)
+++ trunk/callgrind/docs/man-annotate.xml 2009-08-07 07:44:31 UTC (rev 10742)
@@ -1,163 +0,0 @@
-<?xml version="1.0"?> <!-- -*- sgml -*- -->
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
-[ <!ENTITY % cl-entities SYSTEM "cl-entities.xml"> %cl-entities; ]>
-
-
-<refentry id="callgrind-annotate">
-
-<refmeta>
- <refentrytitle>Callgrind Annotate</refentrytitle>
- <manvolnum>1</manvolnum>
- <refmiscinfo class="a-source">May 13, 2003</refmiscinfo>
-</refmeta>
-
-<refnamediv id="a-name">
- <refname>callgrind_annotate</refname>
- <refpurpose>produces human readable ASCII output from profile
- information in <command>callgrind.out.<pid></command> files</refpurpose>
-</refnamediv>
-
-<refsynopsisdiv id="a-synopsis">
- <cmdsynopsis>
- <command>callgrind_annotate</command>
- <arg choice="opt"><replaceable>options</replaceable></arg>
- <arg choice="opt"><replaceable>source-files</replaceable></arg>
- </cmdsynopsis>
-</refsynopsisdiv>
-
-
-<refsect1 id="a-description">
-<title>Description</title>
-
-<para>This manual page documents briefly the
-<command>callgrind_annotate</command> command. This manual page was
-written for the Debian distribution because the original program does
-not have a manual page.</para>
-
-</refsect1>
-
-
-<refsect1 id="a-options">
-<title>Options</title>
-
-<para>This program follows the usual GNU command line syntax, with long
-options starting with two dashes ('--'). A summary of options is
-included below.</para>
-
-<variablelist remap="TP">
-
- <varlistentry>
- <term><option>-h --help</option></term>
- <listitem>
- <para>Show summary of options.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--version</option></term>
- <listitem>
- <para>Show version of callgrind_annotate.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>
- <option>--show=A,B,C [default: all]</option>
- </term>
- <listitem>
- <para>only show figures for events A,B,C</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>
- <option>--sort=A,B,C</option>
- </term>
- <listitem>
- <para>sort columns by events A,B,C [event column order]</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>
- <option><![CDATA[--threshold=<0--100> [default: 99%] ]]></option>
- </term>
- <listitem>
- <para>percentage of counts (of primary sort event) we are
- interested in</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>
- <option><![CDATA[--auto=<yes|no> [default: no] ]]></option>
- </term>
- <listitem>
- <para>annotate all source files containing functions that helped
- reach the event count threshold</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>
- <option>--context=N [default: 8] </option>
- </term>
- <listitem>
- <para>print N lines of context before and after annotated
- lines</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>
- <option><![CDATA[--cumulative=<yes|no> [default: no] ]]></option>
- </term>
- <listitem>
- <para>add subroutine costs to functions calls</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>
- <option><![CDATA[--tree=<none|caller|calling|both> [default: none] ]]></option>
- </term>
- <listitem>
- <para>print for each function their callers, the called functions
- or both</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>
- <option><![CDATA[-I, --include=<dir> ]]></option>
- </term>
- <listitem>
- <para>add <dir> to the list of directories to search for source
- files</para>
- </listitem>
- </varlistentry>
-
-</variablelist>
-
-</refsect1>
-
-
-<refsect1 id="a-see_also">
-<title>See Also</title>
-
-<para><filename>&cl-doc-path;</filename></para>
-
-</refsect1>
-
-
-<refsect1 id="a-author">
-<title>Author</title>
-
-<para>This manual page was written by
-Philipp Frauenfelder <pfr...@de...>, for the Debian
-GNU/Linux system (but may be used by others).</para>
-</refsect1>
-
-
-</refentry>
Deleted: trunk/callgrind/docs/man-control.xml
===================================================================
--- trunk/callgrind/docs/man-control.xml 2009-08-07 07:31:15 UTC (rev 10741)
+++ trunk/callgrind/docs/man-control.xml 2009-08-07 07:44:31 UTC (rev 10742)
@@ -1,132 +0,0 @@
-<?xml version="1.0"?> <!-- -*- sgml -*- -->
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
-[ <!ENTITY % cl-entities SYSTEM "cl-entities.xml"> %cl-entities; ]>
-
-
-<refentry id="callgrind-control">
-<refmeta>
- <refentrytitle>Callgrind Control</refentrytitle>
- <manvolnum>1</manvolnum>
- <refmiscinfo class="c-source">October, 2005</refmiscinfo>
-</refmeta>
-
-<refnamediv id="c-name">
- <refname>callgrind_control</refname>
- <refpurpose>observe and control applications currently running under
- supervision of <command>callgrind</command></refpurpose>
-</refnamediv>
-
-<refsynopsisdiv id="c-synopsis">
- <cmdsynopsis>
- <command>callgrind_control</command>
- <arg choice="opt"><replaceable>options</replaceable></arg>
- <arg choice="opt" rep="repeat"><replaceable>pid/program-name</replaceable></arg>
- </cmdsynopsis>
-</refsynopsisdiv>
-
-
-<refsect1 id="c-description">
-<title>Description</title>
-
-<para>This manual page documents briefly the
-<command>callgrind_control</command> command. When not specifying a
-<command>pid/program name</command> argument, all applications run
-by callgrind on this system will be used for actions given by the
-specified option(s). The default action is to give short information
-for the applications run by callgrind.</para>
-
-</refsect1>
-
-
-<refsect1 id="c-options">
-<title>Options</title>
-
-<para>This program follows the usual GNU command line syntax, with long
-options starting with two dashes ("--"). A summary of options is
-included below.</para>
-
-<variablelist remap="TP">
-
- <varlistentry>
- <term><option>-h --help</option></term>
- <listitem>
- <para>Show summary of options.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>--version</option></term>
- <listitem>
- <para>Show version of callgrind_control.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-s</option></term>
- <listitem>
- <para>Show statistics</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-b</option></term>
- <listitem>
- <para>Show stack trace</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-e [A,B,C] [default: all] </option></term>
- <listitem>
- <para>Only show figures for events A,B,C</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-z</option></term>
- <listitem>
- <para>Zero cost counters</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-d, --dump [hint]</option></term>
- <listitem>
- <para>Request the dumping of profile information. Optionally, a
- string can be specified which is written into the dump as part of
- the Trigger reason. This can be used to distinguish multiple dumps.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-k</option></term>
- <listitem>
- <para>Kill</para>
- </listitem>
- </varlistentry>
-
-</variablelist>
-
-</refsect1>
-
-
-<refsect1 id="c-see_also">
-<title>See Also</title>
-
-<para><filename>&cl-doc-path;</filename></para>
-
-</refsect1>
-
-
-<refsect1 id="c-author">
-<title>Author</title>
-
-<para>This manual page was written by Josef Weidendorfer <&cl-email;>.</para>
-
-
-</refsect1>
-
-
-</refentry>
-
Modified: trunk/docs/xml/manpages-index.xml
===================================================================
--- trunk/docs/xml/manpages-index.xml 2009-08-07 07:31:15 UTC (rev 10741)
+++ trunk/docs/xml/manpages-index.xml 2009-08-07 07:44:31 UTC (rev 10742)
@@ -11,6 +11,14 @@
<xi:include href="valgrind-manpage.xml" parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+<!-- callgrind_annotate -->
+<xi:include href="../../callgrind/docs/callgrind_annotate-manpage.xml" parse="xml"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+<!-- callgrind_control -->
+<xi:include href="../../callgrind/docs/callgrind_control-manpage.xml" parse="xml"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+
<!-- ms_print -->
<xi:include href="../../massif/docs/ms_print-manpage.xml" parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
Modified: trunk/docs/xml/valgrind-manpage.xml
===================================================================
--- trunk/docs/xml/valgrind-manpage.xml 2009-08-07 07:31:15 UTC (rev 10741)
+++ trunk/docs/xml/valgrind-manpage.xml 2009-08-07 07:44:31 UTC (rev 10742)
@@ -222,6 +222,8 @@
<title>See Also</title>
<para>
+callgrind_annotate(1),
+callgrind_control(1),
ms_print(1),
<filename>&vg-docs-path;</filename> or
<filename>&vg-docs-url;</filename>.
@@ -233,10 +235,11 @@
<refsect1 id="author">
<title>Author</title>
-<para>This manpage written by Andres Roldan <ar...@de...>,
-Robert Walsh <rj...@du...>, and the Valgrind
-developers.</para>
+<para>The Valgrind developers.</para>
+<para>This manpage was written by Andres Roldan <ar...@de...>
+and the Valgrind developers.</para>
+
</refsect1>
Modified: trunk/docs/xml/vg-entities.xml
===================================================================
--- trunk/docs/xml/vg-entities.xml 2009-08-07 07:31:15 UTC (rev 10741)
+++ trunk/docs/xml/vg-entities.xml 2009-08-07 07:44:31 UTC (rev 10742)
@@ -1,6 +1,7 @@
<!-- misc. strings -->
<!ENTITY vg-jemail "ju...@va...">
<!ENTITY vg-vemail "val...@va...">
+<!ENTITY cl-email "Jos...@gm...">
<!ENTITY vg-lifespan "2000-2009">
<!-- valgrind release + version stuff -->
@@ -20,3 +21,6 @@
<!ENTITY vg-repo-url "http://www.valgrind.org/downloads/repository.html">
<!ENTITY vg-pubs-url "http://www.valgrind.org/docs/pubs.html">
<!ENTITY vg-docs-url "http://www.valgrind.org/docs/manual/index.html">
+<!ENTITY cl-gui-url "http://kcachegrind.sourceforge.net/cgi-bin/show.cgi/KcacheGrindIndex">
+
+
|
|
From: <sv...@va...> - 2009-08-07 07:31:26
|
Author: njn
Date: 2009-08-07 08:31:15 +0100 (Fri, 07 Aug 2009)
New Revision: 10741
Log:
Update. Fortunately it's gotten a little simpler.
Modified:
trunk/docs/internals/release-HOWTO.txt
Modified: trunk/docs/internals/release-HOWTO.txt
===================================================================
--- trunk/docs/internals/release-HOWTO.txt 2009-08-07 06:54:44 UTC (rev 10740)
+++ trunk/docs/internals/release-HOWTO.txt 2009-08-07 07:31:15 UTC (rev 10741)
@@ -13,7 +13,7 @@
- Tell valgrind-developers you want to do a release. Give a timeframe for
everyone to check in any final features/bug-fixes they want in the
- release. (Especially Josef Weidendorfer for Callgrind.)
+ release.
- Go over the docs, make sure they're up to date.
@@ -40,19 +40,15 @@
- Other files that might need updating: README, README_DEVELOPERS,
README_PACKAGERS.
-- Add X.Y.Z and X.Y.Z.SVN versions to Bugzilla (ask Dirk to do it)
+- Add X.Y.Z and X.Y+1.Z.SVN versions to Bugzilla.
-- If there are any binary incompatible tool API changes against the last
- stable release, ensure that VG_CORE_INTERFACE_VERSION in
- include/pub_tool_tooliface.h has been increased since the last release.
+- Add "wantedX.Y.Z+1" and "wantedX.Y+1.Z" milestones to Bugzilla.
For each release candidate (should do release candidates for feature
releases, bug-fix-only releases might not need one):
-- Build. Don't forget to rebuild the Vex header file that specifies which
- version of Vex is being used (so that it matches that mentioned in the final
- release notes). [This was forgotten for 3.2.2.]
+- Build.
- Do pre-release testing:
@@ -84,9 +80,6 @@
* Run regression tests from gsl-1.6 on all platforms. This is a good,
thorough test of FP. Easy, using the scripts auxprogs/gsl16test.
- * Check that a tarball build of callgrind is buildable/installable
- against a from-tarball build of valgrind.
-
- Change release number in AC_INIT() in configure.in to "X.Y.Z-rcN", where
'N' is the release candidate number.
@@ -163,13 +156,9 @@
- Change release number in AC_INIT() in configure.in to "X.Y.Z.SVN", where
X.Y.Z is one more than the release just done.
-- Add a new section to docs/internals/X_Y_BUGSTATUS.txt (or a new file if
- it's a feature release).
+- Make sure the release notes are present in the NEWS file on the trunk and
+ the branch.
-- Add new entries to docs/internals/roadmap.txt for the next release(s).
-
-- Copy the release notes into the trunk's NEWS file.
-
- Announce the release:
- Email valgrind-users, valgrind-developers, and valgrind-announce.
- Email Linux Weekly News.
|
|
From: <sv...@va...> - 2009-08-07 06:54:55
|
Author: njn
Date: 2009-08-07 07:54:44 +0100 (Fri, 07 Aug 2009)
New Revision: 10740
Log:
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.
Added:
trunk/docs/xml/manpages-index.xml
trunk/massif/docs/ms_print-manpage.xml
Modified:
trunk/docs/Makefile.am
trunk/docs/README
trunk/docs/xml/valgrind-manpage.xml
trunk/docs/xml/vg-entities.xml
trunk/massif/Makefile.am
trunk/massif/docs/ms-manual.xml
trunk/massif/ms_print.in
Modified: trunk/docs/Makefile.am
===================================================================
--- trunk/docs/Makefile.am 2009-08-07 06:47:52 UTC (rev 10739)
+++ trunk/docs/Makefile.am 2009-08-07 06:54:44 UTC (rev 10740)
@@ -57,6 +57,7 @@
xml/dist-docs.xml \
xml/index.xml \
xml/licenses.xml \
+ xml/manpages-index.xml \
xml/manual.xml \
xml/manual-intro.xml \
xml/manual-core.xml \
@@ -106,7 +107,9 @@
XSL_FO_STYLE = $(mylibdir)/vg-fo.xsl
XSL_TEXT_STYLE = $(mylibdir)/vg-faq2txt.xsl
XSL_WEBSITE_STYLE = $(mylibdir)/vg-html-website.xsl
-XSL_MAN_STYLE = /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl
+XSL_MAN_STYLES = \
+ /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl \
+ /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
all-docs: FAQ.txt man-page html-docs print-docs
@@ -119,16 +122,21 @@
export XML_CATALOG_FILES=$(XML_CATALOG_FILES) && \
$(XSLTPROC) $(XSLTPROC_FLAGS) -o ./FAQ.txt $(XSL_TEXT_STYLE) $(myxmldir)/FAQ.xml
-# the valgrind manpage
+# the valgrind manpages
man-page:
- if test ! -f $(XSL_MAN_STYLE); then \
- echo "Error: I can't find the file '$(XSL_MAN_STYLE)'"; \
- echo "Please check where it lives on your system, and" \
- "amend the line 'XSL_MAN_STYLE = ' in this Makefile."; \
- exit 1; \
- fi;
- export XML_CATALOG_FILES=$(XML_CATALOG_FILES) && \
- $(XSLTPROC) $(XSLTPROC_FLAGS) -o ./ $(XSL_MAN_STYLE) $(myxmldir)/valgrind-manpage.xml
+ for x in $(XSL_MAN_STYLES) ; do \
+ if test -f $$x; then \
+ echo "Using manpage stylesheet: $$x"; \
+ export XML_CATALOG_FILES=$(XML_CATALOG_FILES) && \
+ $(XSLTPROC) $(XSLTPROC_FLAGS) -o ./ $$x $(myxmldir)/manpages-index.xml; \
+ exit 0; \
+ fi; \
+ done; \
+ echo ""; \
+ echo "Error: I can't find the XSL_MAN_STYLE file"; \
+ echo "Please check where it lives on your system, and" \
+ "amend the line 'XSL_MAN_STYLES = ' in this Makefile."; \
+ exit 1;
# chunked html, on a chapter-by-chapter basis
html-docs:
Modified: trunk/docs/README
===================================================================
--- trunk/docs/README 2009-08-07 06:47:52 UTC (rev 10739)
+++ trunk/docs/README 2009-08-07 06:54:44 UTC (rev 10740)
@@ -128,11 +128,12 @@
Actually, I'm not sure if the 'docbook' is necessary, but 'docbook-xsl'
definitely is.
-To build the man pages I also had to change the value of XSL_MAN_STYLE from this:
+To build the man pages I also changed the Makefile.am to try this
+stylesheet:
/usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl
-to this:
+if it can't find this one:
/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
Added: trunk/docs/xml/manpages-index.xml
===================================================================
--- trunk/docs/xml/manpages-index.xml (rev 0)
+++ trunk/docs/xml/manpages-index.xml 2009-08-07 06:54:44 UTC (rev 10740)
@@ -0,0 +1,19 @@
+<?xml version="1.0"?> <!-- -*- sgml -*- -->
+<!DOCTYPE set PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+
+<!-- This file is not part of the distributed docs, it's just here so we can
+ point $(XSTLPROC) at a single file and get all the man pages. -->
+
+<set>
+
+<!-- valgrind -->
+<xi:include href="valgrind-manpage.xml" parse="xml"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+<!-- ms_print -->
+<xi:include href="../../massif/docs/ms_print-manpage.xml" parse="xml"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</set>
+
Modified: trunk/docs/xml/valgrind-manpage.xml
===================================================================
--- trunk/docs/xml/valgrind-manpage.xml 2009-08-07 06:47:52 UTC (rev 10739)
+++ trunk/docs/xml/valgrind-manpage.xml 2009-08-07 06:54:44 UTC (rev 10740)
@@ -222,8 +222,8 @@
<title>See Also</title>
<para>
-<filename>&vg-docs-path;</filename>,
-and/or
+ms_print(1),
+<filename>&vg-docs-path;</filename> or
<filename>&vg-docs-url;</filename>.
</para>
@@ -233,13 +233,10 @@
<refsect1 id="author">
<title>Author</title>
-<para>This manpage has been written by Andres Roldan <ar...@de...>
-for the Debian Project, but can be used for any other distribution.</para>
+<para>This manpage written by Andres Roldan <ar...@de...>,
+Robert Walsh <rj...@du...>, and the Valgrind
+developers.</para>
-<para>Updated, rearranged and expanded by Robert Walsh
-<rj...@du...> for the 2.4.0 release, and by other
-Valgrind developers subsequently.</para>
-
</refsect1>
Modified: trunk/docs/xml/vg-entities.xml
===================================================================
--- trunk/docs/xml/vg-entities.xml 2009-08-07 06:47:52 UTC (rev 10739)
+++ trunk/docs/xml/vg-entities.xml 2009-08-07 06:54:44 UTC (rev 10740)
@@ -9,7 +9,7 @@
<!ENTITY rel-date "2 January 2009">
<!-- where the docs are installed -->
-<!ENTITY vg-docs-path "/usr/share/doc/valgrind/html/index.html">
+<!ENTITY vg-docs-path "$INSTALL/share/doc/valgrind/html/index.html">
<!-- valgrind website links used in lots of places in the docs -->
<!-- kept in here 'cos everytime the website gets changed, it`s -->
Modified: trunk/massif/Makefile.am
===================================================================
--- trunk/massif/Makefile.am 2009-08-07 06:47:52 UTC (rev 10739)
+++ trunk/massif/Makefile.am 2009-08-07 06:54:44 UTC (rev 10740)
@@ -2,7 +2,9 @@
SUBDIRS += perf
-EXTRA_DIST = docs/ms-manual.xml
+EXTRA_DIST = \
+ docs/ms-manual.xml \
+ docs/ms_print-manpage.xml
#----------------------------------------------------------------------------
# Headers, etc
Modified: trunk/massif/docs/ms-manual.xml
===================================================================
--- trunk/massif/docs/ms-manual.xml 2009-08-07 06:47:52 UTC (rev 10739)
+++ trunk/massif/docs/ms-manual.xml 2009-08-07 06:54:44 UTC (rev 10740)
@@ -829,7 +829,8 @@
<para>ms_print's options are:</para>
-<variablelist>
+<!-- start of xi:include in the manpage -->
+<variablelist id="ms_print.opts.list">
<varlistentry>
<term>
Added: trunk/massif/docs/ms_print-manpage.xml
===================================================================
--- trunk/massif/docs/ms_print-manpage.xml (rev 0)
+++ trunk/massif/docs/ms_print-manpage.xml 2009-08-07 06:54:44 UTC (rev 10740)
@@ -0,0 +1,73 @@
+<?xml version="1.0"?> <!-- -*- sgml -*- -->
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
+[ <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]>
+
+
+<refentry id="ms_print">
+
+<refmeta>
+ <refentrytitle>ms_print</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo>Release &rel-version;</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+ <refname>ms_print</refname>
+ <refpurpose>post-processing tool for the Valgrind tool Massif</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+ <command>ms_print</command>
+ <arg><replaceable>options</replaceable></arg>
+ <arg>filename</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+
+<refsect1 id="description">
+<title>Description</title>
+
+<para><command>ms_print</command> takes an output file produced by the
+Valgrind tool Massif and prints the information in an easy-to-read form.
+</para>
+
+</refsect1>
+
+
+
+<refsect1 id="options">
+<title>Options</title>
+
+<xi:include href="ms-manual.xml" xpointer="ms_print.opts.list"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</refsect1>
+
+
+
+
+<refsect1 id="see_also">
+<title>See Also</title>
+
+<para>
+valgrind(1),
+<filename>&vg-docs-path;</filename> or
+<filename>&vg-docs-url;</filename>.
+</para>
+
+</refsect1>
+
+
+<refsect1 id="author">
+<title>Author</title>
+
+<para>Nicholas Nethercote.</para>
+
+</refsect1>
+
+
+</refentry>
+
+
Modified: trunk/massif/ms_print.in
===================================================================
--- trunk/massif/ms_print.in 2009-08-07 06:47:52 UTC (rev 10739)
+++ trunk/massif/ms_print.in 2009-08-07 06:54:44 UTC (rev 10740)
@@ -67,7 +67,7 @@
options for the user, with defaults in [ ], are:
-h --help show this message
--version show version
- --threshold=<n.n> significance threshold, in percent [$threshold]
+ --threshold=<m.n> significance threshold, in percent [$threshold]
--x=<4..1000> graph width, in columns [72]
--y=<4..1000> graph height, in rows [20]
|
|
From: <sv...@va...> - 2009-08-07 06:48:03
|
Author: bart
Date: 2009-08-07 07:47:52 +0100 (Fri, 07 Aug 2009)
New Revision: 10739
Log:
Updated after r10688.
Modified:
trunk/drd/scripts/run-splash2
Modified: trunk/drd/scripts/run-splash2
===================================================================
--- trunk/drd/scripts/run-splash2 2009-08-07 06:08:51 UTC (rev 10738)
+++ trunk/drd/scripts/run-splash2 2009-08-07 06:47:52 UTC (rev 10739)
@@ -73,8 +73,8 @@
print_runtime_ratio "${avg4}" "${stddev4}" "${vsz4}" "${vszdev4}" "$VG" --tool=helgrind --history-level=none "$@" -p${psep}${p} "${test_args}"
p=4
- test_output="${1}-helgrind-4-partial.out" \
- print_runtime_ratio "${avg4}" "${stddev4}" "${vsz4}" "${vszdev4}" "$VG" --tool=helgrind --history-level=partial "$@" -p${psep}${p} "${test_args}"
+ test_output="${1}-helgrind-4-approx.out" \
+ print_runtime_ratio "${avg4}" "${stddev4}" "${vsz4}" "${vszdev4}" "$VG" --tool=helgrind --history-level=approx "$@" -p${psep}${p} "${test_args}"
p=4
test_output="${1}-helgrind-4-full.out" \
@@ -127,8 +127,8 @@
# 15. Virtual memory size ratio for --tool=drd --check-stack-var=no -p4 versus -p4.
# 16. Execution time ratio for --tool=helgrind --history-level=none -p4 versus -p4.
# 17. Virtual memory size ratio for --tool=helgrind --history-level=none -p4 versus -p4.
-# 18. Execution time ratio for --tool=helgrind --history-level=partial -p4 versus -p4.
-# 19. Virtual memory size ratio for --tool=helgrind --history-level=partial -p4 versus -p4.
+# 18. Execution time ratio for --tool=helgrind --history-level=approx -p4 versus -p4.
+# 19. Virtual memory size ratio for --tool=helgrind --history-level=approx -p4 versus -p4.
# 20. Execution time ratio for --tool=helgrind --history-level=full -p4 versus -p4.
# 21. Virtual memory size ratio for --tool=helgrind --history-level=full -p4 versus -p4.
# 22. Execution time ratio for Intel Thread Checker -p4 versus -p4.
|
|
From: <sv...@va...> - 2009-08-07 06:09:04
|
Author: njn Date: 2009-08-07 07:08:51 +0100 (Fri, 07 Aug 2009) New Revision: 10738 Log: Remove a broken Cachegrind link, and include some extra DRD options. Modified: trunk/docs/xml/valgrind-manpage.xml Modified: trunk/docs/xml/valgrind-manpage.xml =================================================================== --- trunk/docs/xml/valgrind-manpage.xml 2009-08-07 05:58:00 UTC (rev 10737) +++ trunk/docs/xml/valgrind-manpage.xml 2009-08-07 06:08:51 UTC (rev 10738) @@ -127,10 +127,6 @@ <title>Cachegrind Options</title> <xi:include href="../../cachegrind/docs/cg-manual.xml" - xpointer="cg.opts.para" - xmlns:xi="http://www.w3.org/2001/XInclude" /> - -<xi:include href="../../cachegrind/docs/cg-manual.xml" xpointer="cg.opts.list" xmlns:xi="http://www.w3.org/2001/XInclude" /> @@ -174,6 +170,9 @@ <xi:include href="../../drd/docs/drd-manual.xml" xpointer="drd.opts.list" xmlns:xi="http://www.w3.org/2001/XInclude" /> +<xi:include href="../../drd/docs/drd-manual.xml" + xpointer="drd.debugopts.list" + xmlns:xi="http://www.w3.org/2001/XInclude" /> </refsect1> |
|
From: <sv...@va...> - 2009-08-07 05:58:07
|
Author: njn
Date: 2009-08-07 06:58:00 +0100 (Fri, 07 Aug 2009)
New Revision: 10737
Log:
Remove some text that shouldn't be there.
Modified:
trunk/helgrind/docs/hg-manual.xml
Modified: trunk/helgrind/docs/hg-manual.xml
===================================================================
--- trunk/helgrind/docs/hg-manual.xml 2009-08-07 05:40:26 UTC (rev 10736)
+++ trunk/helgrind/docs/hg-manual.xml 2009-08-07 05:58:00 UTC (rev 10737)
@@ -961,13 +961,6 @@
</listitem>
</varlistentry>
- --history-level=none|partial|full [full]
- full: show both stack traces for a data race (can be very slow)
- approx: full trace for one thread, approx for the other (faster)
- none: only show trace for one thread in a race (fastest)
-
-
-
<varlistentry id="opt.history-level"
xreflabel="--history-level">
<term>
|
|
From: <sv...@va...> - 2009-08-07 05:40:38
|
Author: njn
Date: 2009-08-07 06:40:26 +0100 (Fri, 07 Aug 2009)
New Revision: 10736
Log:
Minor changes to Callgrind file format docs.
Modified:
trunk/callgrind/docs/cl-format.xml
Modified: trunk/callgrind/docs/cl-format.xml
===================================================================
--- trunk/callgrind/docs/cl-format.xml 2009-08-07 05:23:31 UTC (rev 10735)
+++ trunk/callgrind/docs/cl-format.xml 2009-08-07 05:40:26 UTC (rev 10736)
@@ -71,18 +71,21 @@
number.</para>
<para>Thus, the first cost line specifies that in line 15 of source file
-"file.f" there is code belonging to function "main". While running, 90 CPU
-cycles passed by, and 2 of the 14 instructions executed were floating point
-operations. Similarly, the next line specifies that there were 12 instructions
-executed in the context of function "main" which can be related to line 16 in
-file "file.f", taking 20 CPU cycles. If a cost line specifies less event counts
-than given in the "events" line, the rest is assumed to be zero. I.e., there
-was no floating point instruction executed relating to line 16.</para>
+<filename>file.f</filename> there is code belonging to function
+<function>main</function>. While running, 90 CPU cycles passed by, and 2 of
+the 14 instructions executed were floating point operations. Similarly, the
+next line specifies that there were 12 instructions executed in the context
+of function <function>main</function> which can be related to line 16 in
+file <filename>file.f</filename>, taking 20 CPU cycles. If a cost line
+specifies less event counts than given in the "events" line, the rest is
+assumed to be zero. I.e. there was no floating point instruction executed
+relating to line 16.</para>
<para>Note that regular cost lines always give self (also called exclusive)
cost of code at a given position. If you specify multiple cost lines for the
same position, these will be summed up. On the other hand, in the example above
-there is no specification of how many times function "main" actually was
+there is no specification of how many times function
+<function>main</function> actually was
called: profile data only contains sums.</para>
</sect2>
@@ -118,9 +121,11 @@
<sect2 id="cl-format.overview.example2" xreflabel="Extended Example">
<title>Extended Example</title>
-<para>The following example shows 3 functions, "main", "func1", and
-"func2". Function "main" calls "func1" once and "func2" 3 times. "func1" calls
-"func2" 2 times.
+<para>The following example shows 3 functions, <function>main</function>,
+<function>func1</function>, and <function>func2</function>. Function
+<function>main</function> calls <function>func1</function> once and
+<function>func2</function> 3 times. <function>func1</function> calls
+<function>func2</function> 2 times.
<screen>events: Instructions
fl=file1.c
@@ -145,14 +150,18 @@
fn=func2
20 700</screen></para>
-<para>One can see that in "main" only code from line 16 is executed where also
-the other functions are called. Inclusive cost of "main" is 820, which is the
-sum of self cost 20 and costs spent in the calls: 400 for the single call to
-"func1" and 400 as sum for the three calls to "func2".</para>
+<para>One can see that in <function>main</function> only code from line 16
+is executed where also the other functions are called. Inclusive cost of
+<function>main</function> is 820, which is the sum of self cost 20 and costs
+spent in the calls: 400 for the single call to <function>func1</function>
+and 400 as sum for the three calls to <function>func2</function>.</para>
-<para>Function "func1" is located in "file1.c", the same as "main". Therefore,
-a "cfl=" specification for the call to "func1" is not needed. The function
-"func1" only consists of code at line 51 of "file1.c", where "func2" is called.</para>
+<para>Function <function>func1</function> is located in
+<filename>file1.c</filename>, the same as <function>main</function>.
+Therefore, a "cfl=" specification for the call to <function>func1</function>
+is not needed. The function <function>func1</function> only consists of code
+at line 51 of <filename>file1.c</filename>, where <function>func2</function>
+is called.</para>
</sect2>
@@ -227,7 +236,7 @@
<para>If a Callgrind data file should hold costs for each assembler instruction
of a program, you specify subposition "instr" in the "positions:" header line,
and each cost line has to include the address of some instruction. Addresses
-are allowed to have a size of 64bit to support 64bit architectures. Thus,
+are allowed to have a size of 64 bits to support 64-bit architectures. Thus,
repeating similar, long addresses for almost every line in the data file can
enlarge the file size quite significantly, and
motivates for subposition compression: instead of every cost line starting with
@@ -378,7 +387,7 @@
<para><computeroutput>version: number</computeroutput> [Callgrind]</para>
<para>This is used to distinguish future profile data formats. A
major version of 0 or 1 is supposed to be upwards compatible with
- Cachegrinds format. It is optional; if not appearing, version 1
+ Cachegrind's format. It is optional; if not appearing, version 1
is supposed. Otherwise, this has to be the first header line.</para>
</listitem>
|