Add manpage for sprofalyze

Change-Id: I206a5878e8f788ea4ff742453148462959263a6a
This commit is contained in:
Jacob Adams 2015-05-09 22:13:56 -04:00 committed by Lionel Sambuc
parent c19d619d42
commit 2a6b817353
3 changed files with 23 additions and 1 deletions

View file

@ -5284,6 +5284,7 @@
./usr/man/man8/setup.8 minix-sys
./usr/man/man8/shutdown.8 minix-sys
./usr/man/man8/slip.8 minix-sys
./usr/man/man8/sprofalyze.8 minix-sys
./usr/man/man8/srccrc.8 minix-sys
./usr/man/man8/strfile.8 minix-sys
./usr/man/man8/sync.8 minix-sys

View file

@ -2,6 +2,6 @@
PROG= sprofalyze
SRCS= sprofalyze.c
MAN=
MAN= sprofalyze.8
.include <bsd.prog.mk>

View file

@ -0,0 +1,21 @@
.TH man 8 "9 May 2015" "1.0" "sprofalyze man page"
.SH NAME
sprofalyze \- analyze sprofile traces
.SH SYNOPSIS
sprofalyze [-d] [-p percentage] [-s src-tree-path] [-b binary]... file...
.SH DESCRIPTION
sprofalyze aggregates one or more sprofile traces and reports where time was spent.
.SH OPTIONS
.IP -d
Generates output that can be compared using
.BR sprofdiff(8)
.IP -p
Specifies the cut-off percentage below which binaries and functions will not be displayed.
.IP -s
Specifies the root of the source tree where sprofalyze should search for unstripped binaries to extract symbols from.
.IP -b
specifies an additional system binary in the trace that is not in the source tree; may be specified multiple times.
.SH SEE ALSO
.B sprofdiff(8)
.SH AUTHOR
Manpage written by Jacob Adams <tookmund@gmail.com>