Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Geisert <mark@maxrnd.com>2021-08-02 12:25:53 +0300
committerCorinna Vinschen <corinna@vinschen.de>2021-08-03 11:00:56 +0300
commit99a4b087d41b71ccb2d39900c74ef4b8cf0320fc (patch)
tree172034f2c937f58cdd2add0314da6b199335cf87 /winsup/doc/utils.xml
parent15c53a34bc944346fde129700a020647095b1b7d (diff)
Cygwin: Make gmondump conform to its doc + adjust doc
The doc for gmondump says 1 or more FILENAME are expected, but 0 is handled. That's an oversight. Make invocation with 0 FILENAMEs print a one-line help message. Reword the beginning of profiler's description doc to clarify target's child processes are run but only optionally profiled.
Diffstat (limited to 'winsup/doc/utils.xml')
-rw-r--r--winsup/doc/utils.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml
index 659541f00..0b9e38549 100644
--- a/winsup/doc/utils.xml
+++ b/winsup/doc/utils.xml
@@ -2240,9 +2240,10 @@ specifying an empty password.
<refsect1 id="profiler-desc">
<title>Description</title>
- <para>The <command>profiler</command> utility executes a given program, and
- optionally the children of that program, collecting the location of the
- CPU instruction pointer (IP) many times per second. This gives a profile
+ <para>The <command>profiler</command> utility executes a given program and
+ any children of that program, collecting the location of the CPU
+ instruction pointer (IP) many times per second. (It is optional to
+ collect this info from child processes.) This info gives a profile
of the program's execution, showing where the most time is being spent.
This profiling technique is called "IP sampling".</para>