diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2007-02-08 06:47:19 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2007-02-08 06:47:19 +0000 |
commit | 8693e01a5f4687187a98bc0c46ea68f864b1d621 (patch) | |
tree | d0b1cade5559ab7f0b533b183d98ff97406f4f62 /cachegrind/docs/cg-manual.xml | |
parent | e1216cbfeb840d103e478f58231093857b4daaed (diff) | |
download | valgrind-8693e01a5f4687187a98bc0c46ea68f864b1d621.tar.gz |
Add a new flag --cachegrind-log-file to cg_annotate, which tells it
precisely the name of the profile data file it should use (instead of
assuming cachegrind.out.<pid> where <pid> is specified by the --<pid>
flag). The old mechanism is still supported though.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6573 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'cachegrind/docs/cg-manual.xml')
-rw-r--r-- | cachegrind/docs/cg-manual.xml | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/cachegrind/docs/cg-manual.xml b/cachegrind/docs/cg-manual.xml index cfc1c8339..91bcfc16a 100644 --- a/cachegrind/docs/cg-manual.xml +++ b/cachegrind/docs/cg-manual.xml @@ -278,13 +278,17 @@ file:</para> recycled).</para> <para> To use a basename other than the default - <computeroutput>cachegrind.out.</computeroutput>, + <computeroutput>cachegrind.out</computeroutput>, use the <computeroutput>--cachegrind-out-file</computeroutput> switch.</para> <para> To add further qualifiers to the output filename you can use the core's <computeroutput>--log-file-qualifier</computeroutput> - flag.</para> + flag. This extends the file name further with the text + <computeroutput>.lfq.</computeroutput>followed by the + contents of the environment variable specified by + <computeroutput>--log-file-qualifier</computeroutput>. + </para> </listitem> <listitem> <para>It can be huge: <computeroutput>ls -l</computeroutput> @@ -359,9 +363,10 @@ configuration, or failing that, via defaults).</para> <option><![CDATA[--cachegrind-out-file=<basename> ]]></option> </term> <listitem> - <para>Write the profile data to <![CDATA[<basename>.<pid>]]> + <para>Write the profile data to + <computeroutput>basename.pid</computeroutput> rather than to the default output file, - <![CDATA[cachegrind.out.<pid>]]>. + <computeroutput>cachegrind.out.pid</computeroutput>. </para> </listitem> </varlistentry> @@ -732,9 +737,26 @@ way as for C/C++ programs.</para> <listitem id="pid"> <para><computeroutput>--pid</computeroutput></para> - <para>Indicates which - <computeroutput>cachegrind.out.pid</computeroutput> file to - read. Not actually an option -- it is required.</para> + <para>Indicates that profile data should be read from + the file + <computeroutput>cachegrind.out.pid</computeroutput>. + read. + Note that you must specify either + <computeroutput>--pid</computeroutput> + or <computeroutput>--cachegrind-out-file=filename</computeroutput> + exactly once. + </para> + </listitem> + + <listitem id="cachegrind-out-file"> + <para><computeroutput>--cachegrind-out-file=filename</computeroutput></para> + <para>Indicates that profile data + should be read from <computeroutput>filename</computeroutput>. + Note that you must specify either + <computeroutput>--pid</computeroutput> + or <computeroutput>--cachegrind-out-file=filename</computeroutput> + exactly once. + </para> </listitem> <listitem> |