summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcstat/pmcstat.8
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2014-05-30 15:02:29 +0000
committergnn <gnn@FreeBSD.org>2014-05-30 15:02:29 +0000
commitcc6785bd5fbd26d9748c28753819c47ad6f05e03 (patch)
tree073c4abaf2340e043ef2f1e3840568baeddc6b7e /usr.sbin/pmcstat/pmcstat.8
parent96656f614a93e7fab45881d9ad811d6eda098d44 (diff)
downloadFreeBSD-src-cc6785bd5fbd26d9748c28753819c47ad6f05e03.zip
FreeBSD-src-cc6785bd5fbd26d9748c28753819c47ad6f05e03.tar.gz
MFC: 266209
Add a command line argument (-l) to end event collection after some number of seconds. The number of seconds may be a fraction. Submitted by: Julien Charbon <jcharbon@versign.com> Relnotes: yes
Diffstat (limited to 'usr.sbin/pmcstat/pmcstat.8')
-rw-r--r--usr.sbin/pmcstat/pmcstat.88
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/pmcstat/pmcstat.8 b/usr.sbin/pmcstat/pmcstat.8
index 97a2f62..66d2960 100644
--- a/usr.sbin/pmcstat/pmcstat.8
+++ b/usr.sbin/pmcstat/pmcstat.8
@@ -52,6 +52,7 @@
.Op Fl f Ar pluginopt
.Op Fl g
.Op Fl k Ar kerneldir
+.Op Fl l Ar secs
.Op Fl m Ar pathname
.Op Fl n Ar rate
.Op Fl o Ar outputfile
@@ -274,6 +275,13 @@ This directory specifies where
should look for the kernel and its modules.
The default is
.Pa /boot/kernel .
+.It Fl l Ar secs
+Set system-wide performance measurement duration for
+.Ar secs
+seconds.
+The argument
+.Ar secs
+may be a fractional value.
.It Fl m Ar pathname
Print the sampled PCs with the name, the start and ending addresses
of the function within they live.
OpenPOWER on IntegriCloud