diff options
author | Martin Liska <mliska@suse.cz> | 2019-07-09 09:41:19 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-07-09 07:41:19 +0000 |
commit | 64865fe0f97de642327c673090e2e0d051bb3ec3 (patch) | |
tree | 25e276d22c284a38ed15cd52a84a32d741ee2685 /gcc/doc | |
parent | aac9480da1ffd037ceb21790fe341b3ec23283d9 (diff) | |
download | gcc-64865fe0f97de642327c673090e2e0d051bb3ec3.zip gcc-64865fe0f97de642327c673090e2e0d051bb3ec3.tar.gz gcc-64865fe0f97de642327c673090e2e0d051bb3ec3.tar.bz2 |
Enhance documentation of -fprofile-note option.
2019-07-09 Martin Liska <mliska@suse.cz>
* doc/invoke.texi: Add link from -fprofile-dir option.
Use better wording for 'gcno filename'.
From-SVN: r273262
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 7654c9b..0c20cb6 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -12376,7 +12376,7 @@ profile data file appears in the same directory as the object file. In order to prevent the file name clashing, if the object file name is not an absolute path, we mangle the absolute path of the @file{@var{sourcename}.gcda} file and use it as the file name of a -@file{.gcda} file. +@file{.gcda} file. See similar option @option{-fprofile-note}. When an executable is run in a massive parallel environment, it is recommended to save profile to different folders. That can be done with variables @@ -12414,7 +12414,9 @@ To optimize the program based on the collected profile information, use @item -fprofile-note=@var{path} @opindex fprofile-note -If @var{path} is specified, GCC saves gcno filename into @var{path} location. +If @var{path} is specified, GCC saves @file{.gcno} file into @var{path} +location. If you combine the option with multiple source files, +the @file{.gcno} file will be overwritten. @item -fprofile-update=@var{method} @opindex fprofile-update |