Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2015 01:18:46 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283508 - head/cddl/contrib/opensolaris/cmd/lockstat
Message-ID:  <201505250118.t4P1Il7Z067891@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505250118.t4P1Il7Z067891>