lockstat(1): document the -V option.

MFC after:	3 days
This commit is contained in:
Mark Johnston 2015-05-25 01:18:46 +00:00
parent 5dd12007ce
commit 9b055b7404
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283508
2 changed files with 8 additions and 2 deletions

View File

@ -21,7 +21,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd October 8, 2014 .Dd May 24, 2015
.Dt LOCKSTAT 1 .Dt LOCKSTAT 1
.Os .Os
.Sh NAME .Sh NAME
@ -29,7 +29,7 @@
.Nd report kernel lock and profiling statistics .Nd report kernel lock and profiling statistics
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl ACEHI .Op Fl ACEHIV
.Op Fl e Ar event-list .Op Fl e Ar event-list
.Op Fl i Ar rate .Op Fl i Ar rate
.Op Fl b | t | h | s Ar depth .Op Fl b | t | h | s Ar depth
@ -90,6 +90,10 @@ to
is restricted to super-user by default. is restricted to super-user by default.
.Sh OPTIONS .Sh OPTIONS
The following options are supported: 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 .Ss Event Selection
If no event selection options are specified, the default is If no event selection options are specified, the default is
.Fl C . .Fl C .

View File

@ -299,6 +299,8 @@ usage(void)
{ {
(void) fprintf(stderr, (void) fprintf(stderr,
"Usage: lockstat [options] command [args]\n" "Usage: lockstat [options] command [args]\n"
"\nGeneral options:\n\n"
" -V print the corresponding D program\n"
"\nEvent selection options:\n\n" "\nEvent selection options:\n\n"
" -C watch contention events [on by default]\n" " -C watch contention events [on by default]\n"
" -E watch error events [off by default]\n" " -E watch error events [off by default]\n"