svn commit: r283508 - head/cddl/contrib/opensolaris/cmd/lockstat
Mark Johnston
markj at FreeBSD.org
Mon May 25 01:18:47 UTC 2015
Author: markj
Date: Mon May 25 01:18:46 2015
New Revision: 283508
URL: https://svnweb.freebsd.org/changeset/base/283508
Log:
lockstat(1): document the -V option.
MFC after: 3 days
Modified:
head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1
head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c
Modified: head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 Mon May 25 01:09:18 2015 (r283507)
+++ head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1 Mon May 25 01:18:46 2015 (r283508)
@@ -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 .
Modified: head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c Mon May 25 01:09:18 2015 (r283507)
+++ head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c Mon May 25 01:18:46 2015 (r283508)
@@ -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"
More information about the svn-src-all
mailing list