Add manpage for sprofalyze

This commit is contained in:
Jacob Adams 2015-05-09 22:13:56 -04:00
parent c19d619d42
commit c139f971d0
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/setup.8 minix-sys
./usr/man/man8/shutdown.8 minix-sys ./usr/man/man8/shutdown.8 minix-sys
./usr/man/man8/slip.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/srccrc.8 minix-sys
./usr/man/man8/strfile.8 minix-sys ./usr/man/man8/strfile.8 minix-sys
./usr/man/man8/sync.8 minix-sys ./usr/man/man8/sync.8 minix-sys

View File

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