From: Jacob Adams Date: Sun, 10 May 2015 02:13:56 +0000 (-0400) Subject: Add manpage for sprofalyze X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=2a6b817353178ab6dadad223ed9b2ffbd024d7cc;p=minix.git Add manpage for sprofalyze Change-Id: I206a5878e8f788ea4ff742453148462959263a6a --- diff --git a/distrib/sets/lists/minix/mi b/distrib/sets/lists/minix/mi index 0df3cdd89..38e296a4c 100644 --- a/distrib/sets/lists/minix/mi +++ b/distrib/sets/lists/minix/mi @@ -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 diff --git a/minix/commands/sprofalyze/Makefile b/minix/commands/sprofalyze/Makefile index 3e92d1a09..dc47128ec 100644 --- a/minix/commands/sprofalyze/Makefile +++ b/minix/commands/sprofalyze/Makefile @@ -2,6 +2,6 @@ PROG= sprofalyze SRCS= sprofalyze.c -MAN= +MAN= sprofalyze.8 .include diff --git a/minix/commands/sprofalyze/sprofalyze.8 b/minix/commands/sprofalyze/sprofalyze.8 new file mode 100644 index 000000000..12b41491a --- /dev/null +++ b/minix/commands/sprofalyze/sprofalyze.8 @@ -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