aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2015-05-25 01:18:46 +0000
committerMark Johnston <markj@FreeBSD.org>2015-05-25 01:18:46 +0000
commit9b055b7404a304e9d84da3af48aa1b7a40af2f56 (patch)
treecbb3cbdae3e607ae355e4e08699509e59581915e /cddl/contrib/opensolaris
parent5dd12007ce7e751a4b315b6e29a32957ca754aa7 (diff)
downloadsrc-9b055b7404a304e9d84da3af48aa1b7a40af2f56.tar.gz
src-9b055b7404a304e9d84da3af48aa1b7a40af2f56.zip
lockstat(1): document the -V option.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=283508
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 a725c8ba203c..1aa73cc114ea 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 ad512c1c92c4..4c0c0d48c9de 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"