diff options
| author | Bjarni Ingi Gislason <bjarniig@rhi.hi.is> | 2018-12-24 00:20:29 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2019-02-27 08:47:15 +0100 |
| commit | a28b73cda27f3094e50f92e6983f71f2a9604e7d (patch) | |
| tree | 8dbc73ec69b205a480fc59c80442fea04d5a0daf /man1/sprof.1 | |
| parent | eadb04edfcf1cd9338bf359329cc69e46da4e8e8 (diff) | |
| download | man-pages-a28b73cda27f3094e50f92e6983f71f2a9604e7d.tar.gz | |
getent.1, iconv.1, ldd.1, locale.1, localedef.1, memusage.1, memusagestat.1, pldd.1, sprof.1, time.1: tfix, use a one-font macro for a single argument
1) Use a single capital font macro for a genuine single argument.
The output is unchanged.
2) Remove quotation marks (") around a single argument.
The output is unchanged.
3) Change ".IR ab()" to ".IR ab ()"
A font is changed in the output.
mtk: I verified that the output is unchanged (other than fonts)
by comparing the output of:
for a in *.1; do man $a >> out.txt; done
before and after the patch.
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man1/sprof.1')
| -rw-r--r-- | man1/sprof.1 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/man1/sprof.1 b/man1/sprof.1 index 900190d4ab..9e40f7d424 100644 --- a/man1/sprof.1 +++ b/man1/sprof.1 @@ -41,7 +41,7 @@ If the profiling data pathname is omitted, then .B sprof will attempt to deduce it using the soname of the shared object, looking for a file with the name -.IR <soname>.profile +.I <soname>.profile in the current directory. .SH OPTIONS The following command-line options specify the profile output @@ -67,7 +67,7 @@ The following additional command-line options are available: .BR \-? ", " \-\-help Display a summary of command-line options and arguments and exit. .TP -.BR \-\-usage +.B \-\-usage Display a short usage message and exit. .TP .BR \-V ", " \-\-version @@ -102,9 +102,9 @@ main(int argc, char *argv[]) .in .PP The functions -.IR x1() +.IR x1 () and -.IR x2() +.IR x2 () are defined in the following source file that is used to construct the shared object: .PP @@ -188,7 +188,7 @@ $ \fBldd prog\fP .PP In order to get profiling information for the shared object, we define the environment variable -.BR LD_PROFILE +.B LD_PROFILE with the soname of the library: .PP .in +4n @@ -198,7 +198,7 @@ $ \fBexport LD_PROFILE=libdemo.so.1\fP .in .PP We then define the environment variable -.BR LD_PROFILE_OUTPUT +.B LD_PROFILE_OUTPUT with the pathname of the directory where profile output should be written, and create that directory if it does not exist already: .PP @@ -234,7 +234,7 @@ libdemo.so.1.profile .in .PP We then use the -.BR "sprof \-p" +.B sprof \-p option to generate a flat profile with counts and ticks: .PP .in +4n @@ -253,7 +253,7 @@ Each sample counts as 0.01 seconds. .in .PP The -.BR "sprof \-q" +.B sprof \-q option generates a call graph: .PP .in +4n @@ -284,7 +284,7 @@ are outside of the profiled object (in this example, these are instances of .IR main() ). .PP The -.BR "sprof \-c" +.B sprof \-c option generates a list of call pairs and the number of their occurrences: .PP .in +4n |
