From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 13A3B3857039 for ; Fri, 11 Sep 2020 21:55:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 13A3B3857039 Received: by sf.home (Postfix, from userid 1000) id 668D65A22061; Fri, 11 Sep 2020 22:55:10 +0100 (BST) From: Sergei Trofimovich To: gcc-patches@gcc.gnu.org, Martin Liska Cc: Sergei Trofimovich Subject: [PATCH] doc: fix spelling of -fprofile-reproducibility Date: Fri, 11 Sep 2020 22:55:08 +0100 Message-Id: <20200911215508.2646800-1-slyfox@gentoo.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 21:55:16 -0000 From: Sergei Trofimovich 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