]> Zhao Yanbai Git Server - minix.git/commitdiff
Add manpage for sprofalyze 92/2992/1
authorJacob Adams <tookmund@gmail.com>
Sun, 10 May 2015 02:13:56 +0000 (22:13 -0400)
committerLionel Sambuc <lionel@minix3.org>
Mon, 18 May 2015 11:41:29 +0000 (13:41 +0200)
Change-Id: I206a5878e8f788ea4ff742453148462959263a6a

distrib/sets/lists/minix/mi
minix/commands/sprofalyze/Makefile
minix/commands/sprofalyze/sprofalyze.8 [new file with mode: 0644]

index 0df3cdd89245ac9f9bbd1a4650acc324460351a4..38e296a4c0857c68f20d455694951590dffae88e 100644 (file)
 ./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
index 3e92d1a0988f7c0b2a7576d2172b9acfcc976317..dc47128ec3a1f50f32e64dfa945c99f51ae2239e 100644 (file)
@@ -2,6 +2,6 @@
 
 PROG=  sprofalyze
 SRCS=  sprofalyze.c
-MAN=
+MAN=   sprofalyze.8
 
 .include <bsd.prog.mk>
diff --git a/minix/commands/sprofalyze/sprofalyze.8 b/minix/commands/sprofalyze/sprofalyze.8
new file mode 100644 (file)
index 0000000..12b4149
--- /dev/null
@@ -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>