summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/opensolaris
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-05-25 01:18:46 +0000
committermarkj <markj@FreeBSD.org>2015-05-25 01:18:46 +0000
commite9847d6bea19fb31f56d250fb0f8959f03459bf4 (patch)
treecbb3cbdae3e607ae355e4e08699509e59581915e /cddl/contrib/opensolaris
parentebd4141174734c596b040c0a98e93ff8f0a506e2 (diff)
downloadFreeBSD-src-e9847d6bea19fb31f56d250fb0f8959f03459bf4.zip
FreeBSD-src-e9847d6bea19fb31f56d250fb0f8959f03459bf4.tar.gz
lockstat(1): document the -V option.
MFC after: 3 days
Diffstat (limited to 'cddl/contrib/opensolaris')
-rw-r--r--cddl/contrib/opensolaris/cmd/lockstat/lockstat.18
-rw-r--r--cddl/contrib/opensolaris/cmd/lockstat/lockstat.c2
2 files changed, 8 insertions, 2 deletions
diff --git a/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 b/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1
index a725c8b..1aa73cc 100644
--- a/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1
+++ b/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1
@@ -21,7 +21,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 8, 2014
+.Dd May 24, 2015
.Dt LOCKSTAT 1
.Os
.Sh NAME
@@ -29,7 +29,7 @@
.Nd report kernel lock and profiling statistics
.Sh SYNOPSIS
.Nm
-.Op Fl ACEHI
+.Op Fl ACEHIV
.Op Fl e Ar event-list
.Op Fl i Ar rate
.Op Fl b | t | h | s Ar depth
@@ -90,6 +90,10 @@ to
is restricted to super-user by default.
.Sh OPTIONS
The following options are supported:
+.Bl -tag -width indent
+.It Fl V
+Print the D program used to gather the requested data.
+.El
.Ss Event Selection
If no event selection options are specified, the default is
.Fl C .
diff --git a/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c b/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c
index ad512c1..4c0c0d4 100644
--- a/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c
+++ b/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c
@@ -299,6 +299,8 @@ usage(void)
{
(void) fprintf(stderr,
"Usage: lockstat [options] command [args]\n"
+ "\nGeneral options:\n\n"
+ " -V print the corresponding D program\n"
"\nEvent selection options:\n\n"
" -C watch contention events [on by default]\n"
" -E watch error events [off by default]\n"
OpenPOWER on IntegriCloud