-.\" $OpenBSD: pctr.1,v 1.12 2008/02/11 07:58:28 jmc Exp $
+.\" $OpenBSD: pctr.1,v 1.13 2008/07/08 21:39:52 sobrado Exp $
.\"
.\" Copyright (c) 2007 Mike Belopuhov, Aleksey Lomovtsev
.\"
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 11 2008 $
+.Dd $Mdocdate: July 8 2008 $
.Dt PCTR 1
.Os
.Sh NAME
Specifies a Unit Mask value for a function, specified by the
.Fl f
option.
+.It Fl S
+Enables counting shared cache coherency state (supported on Intel
+processors only).
.It Fl s Ar ctr
Program counter number
.Ar ctr
can be obtained by the
.Fl l
option output.
-.It Fl S
-Enables counting shared cache coherency state (supported on Intel
-processors only).
.It Fl t Ar thold
Specifies an increment threshold.
The counter
-/* $OpenBSD: pctr.c,v 1.19 2007/11/16 16:34:33 deraadt Exp $ */
+/* $OpenBSD: pctr.c,v 1.20 2008/07/08 21:39:52 sobrado Exp $ */
/*
* Copyright (c) 2007 Mike Belopuhov, Aleksey Lomovtsev
break;
}
- fprintf(stderr, "%s: %s\n", __progname, usg);
+ fprintf(stderr, "usage: %s %s\n", __progname, usg);
exit(1);
}