public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] doc: fix spelling of -fprofile-reproducibility
@ 2020-09-11 21:55 Sergei Trofimovich
  2020-09-14  7:33 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: Sergei Trofimovich @ 2020-09-11 21:55 UTC (permalink / raw)
  To: gcc-patches, Martin Liska; +Cc: Sergei Trofimovich

From: Sergei Trofimovich <siarheit@google.com>

gcc/ChangeLog:

	* doc/invoke.texi: fix '-fprofile-reproducibility' option
	spelling in maunal.
---
 gcc/doc/invoke.texi | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index bca8c856dc8..183ce7715d1 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -557,7 +557,8 @@ Objective-C and Objective-C++ Dialects}.
 -fprofile-dir=@var{path}  -fprofile-generate  -fprofile-generate=@var{path} @gol
 -fprofile-note=@var{path} -fprofile-prefix-path=@var{path} @gol
 -fprofile-update=@var{method} -fprofile-filter-files=@var{regex} @gol
--fprofile-exclude-files=@var{regex} -fprofile-reproducibility @gol
+-fprofile-exclude-files=@var{regex} @gol
+-fprofile-reproducible=@r{[}multithreaded@r{|}parallel-runs@r{|}serial@r{]} @gol
 -fsanitize=@var{style}  -fsanitize-recover  -fsanitize-recover=@var{style} @gol
 -fasan-shadow-offset=@var{number}  -fsanitize-sections=@var{s1},@var{s2},... @gol
 -fsanitize-undefined-trap-on-error  -fbounds-check @gol
@@ -13889,14 +13890,14 @@ any of the regular expressions (separated by semi-colons).
 For example, @option{-fprofile-exclude-files=/usr/.*} will prevent instrumentation
 of all files that are located in the @file{/usr/} folder.
 
-@item -fprofile-reproducible
+@item -fprofile-reproducible=@r{[}multithreaded@r{|}parallel-runs@r{|}serial@r{]}
 @opindex fprofile-reproducible
 Control level of reproducibility of profile gathered by
 @code{-fprofile-generate}.  This makes it possible to rebuild program
 with same outcome which is useful, for example, for distribution
 packages.
 
-With @option{-fprofile-reproducibility=serial} the profile gathered by
+With @option{-fprofile-reproducible=serial} the profile gathered by
 @option{-fprofile-generate} is reproducible provided the trained program
 behaves the same at each invocation of the train run, it is not
 multi-threaded and profile data streaming is always done in the same
@@ -13911,7 +13912,7 @@ Such non-reproducible part of programs may be annotated by
 @option{-l} can be used to dump gathered data and verify that they are
 indeed reproducible.
 
-With @option{-fprofile-reproducibility=parallel-runs} collected profile
+With @option{-fprofile-reproducible=parallel-runs} collected profile
 stays reproducible regardless the order of streaming of the data into
 gcda files.  This setting makes it possible to run multiple instances of
 instrumented program in parallel (such as with @code{make -j}). This
-- 
2.28.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc: fix spelling of -fprofile-reproducibility
  2020-09-11 21:55 [PATCH] doc: fix spelling of -fprofile-reproducibility Sergei Trofimovich
@ 2020-09-14  7:33 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2020-09-14  7:33 UTC (permalink / raw)
  To: Sergei Trofimovich; +Cc: GCC Patches, Martin Liska, Sergei Trofimovich

On Fri, Sep 11, 2020 at 11:55 PM Sergei Trofimovich via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> From: Sergei Trofimovich <siarheit@google.com>
>
> gcc/ChangeLog:
>
>         * doc/invoke.texi: fix '-fprofile-reproducibility' option
>         spelling in maunal.

OK also for the branch.

> ---
>  gcc/doc/invoke.texi | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index bca8c856dc8..183ce7715d1 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -557,7 +557,8 @@ Objective-C and Objective-C++ Dialects}.
>  -fprofile-dir=@var{path}  -fprofile-generate  -fprofile-generate=@var{path} @gol
>  -fprofile-note=@var{path} -fprofile-prefix-path=@var{path} @gol
>  -fprofile-update=@var{method} -fprofile-filter-files=@var{regex} @gol
> --fprofile-exclude-files=@var{regex} -fprofile-reproducibility @gol
> +-fprofile-exclude-files=@var{regex} @gol
> +-fprofile-reproducible=@r{[}multithreaded@r{|}parallel-runs@r{|}serial@r{]} @gol
>  -fsanitize=@var{style}  -fsanitize-recover  -fsanitize-recover=@var{style} @gol
>  -fasan-shadow-offset=@var{number}  -fsanitize-sections=@var{s1},@var{s2},... @gol
>  -fsanitize-undefined-trap-on-error  -fbounds-check @gol
> @@ -13889,14 +13890,14 @@ any of the regular expressions (separated by semi-colons).
>  For example, @option{-fprofile-exclude-files=/usr/.*} will prevent instrumentation
>  of all files that are located in the @file{/usr/} folder.
>
> -@item -fprofile-reproducible
> +@item -fprofile-reproducible=@r{[}multithreaded@r{|}parallel-runs@r{|}serial@r{]}
>  @opindex fprofile-reproducible
>  Control level of reproducibility of profile gathered by
>  @code{-fprofile-generate}.  This makes it possible to rebuild program
>  with same outcome which is useful, for example, for distribution
>  packages.
>
> -With @option{-fprofile-reproducibility=serial} the profile gathered by
> +With @option{-fprofile-reproducible=serial} the profile gathered by
>  @option{-fprofile-generate} is reproducible provided the trained program
>  behaves the same at each invocation of the train run, it is not
>  multi-threaded and profile data streaming is always done in the same
> @@ -13911,7 +13912,7 @@ Such non-reproducible part of programs may be annotated by
>  @option{-l} can be used to dump gathered data and verify that they are
>  indeed reproducible.
>
> -With @option{-fprofile-reproducibility=parallel-runs} collected profile
> +With @option{-fprofile-reproducible=parallel-runs} collected profile
>  stays reproducible regardless the order of streaming of the data into
>  gcda files.  This setting makes it possible to run multiple instances of
>  instrumented program in parallel (such as with @code{make -j}). This
> --
> 2.28.0
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-14  7:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11 21:55 [PATCH] doc: fix spelling of -fprofile-reproducibility Sergei Trofimovich
2020-09-14  7:33 ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).