Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/usr.bin/pmc Pull up revision 1.4 (requested by gmcgarry...



details:   https://anonhg.NetBSD.org/src/rev/d74ca0ac55bd
branches:  netbsd-1-6
changeset: 527848:d74ca0ac55bd
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Jun 10 17:31:29 2002 +0000

description:
Pull up revision 1.4 (requested by gmcgarry in ticket #230):
Add a DIAGNOSTIC section to clarify potential problems.

diffstat:

 usr.bin/pmc/pmc.1 |  38 +++++++++++++++++++++++++-------------
 1 files changed, 25 insertions(+), 13 deletions(-)

diffs (81 lines):

diff -r d8b2870f666f -r d74ca0ac55bd usr.bin/pmc/pmc.1
--- a/usr.bin/pmc/pmc.1 Mon Jun 10 17:15:32 2002 +0000
+++ b/usr.bin/pmc/pmc.1 Mon Jun 10 17:31:29 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pmc.1,v 1.3 2002/02/07 03:15:11 ross Exp $
+.\"    $NetBSD: pmc.1,v 1.3.2.1 2002/06/10 17:31:29 tv Exp $
 .\"
 .\" Copyright (c) 2000 Zembu Labs, Inc.
 .\" All rights reserved.
@@ -36,7 +36,7 @@
 .Os
 .Sh NAME
 .Nm pmc
-.Nd performance counter interface for command execution
+.Nd performance-monitoring counter interface for command execution
 .Sh SYNOPSIS
 .Nm ""
 .Fl h
@@ -52,15 +52,16 @@
 .Oc
 .Sh DESCRIPTION
 .Nm
-is a means of using a processor's performance counter facility to
-measure various aspects of a program's execution.  It is meant to
-be used in a fashion similar to
+is a means of using a processor's performance-monitoring counter (PMC)
+facility to measure various aspects of a program's execution.  It is
+meant to be used in a fashion similar to
 .Xr time 1 .
 .Pp
 The arguments are as follows:
 .Bl -tag -width indent
 .It Fl h
-Display a list of performance counter events available on the system.
+Display a list of performance counter events available on
+the system.
 .It Fl C
 Cancel any performance counters that are currently running.
 .It Fl c Ar event
@@ -68,8 +69,21 @@
 .Ar event
 while running the command.
 .El
+.Sh DIAGNOSTICS
+.Bl -diag
+.It PMC support is not compiled into the kernel
+Performance-monitoring counter support has not been compiled into the
+kernel.  It may be included using the
+.Em PERFCTRS
+option.  See
+.Xr options 4
+for details.
+.It only 686 counters are supported 
+Currently, only supports 686-class performance-monitoring
+counters are supported.
 .Sh SEE ALSO
-.Xr time 1
+.Xr time 1 ,
+.Xr options 4
 .Sh HISTORY
 The
 .Nm
@@ -79,14 +93,12 @@
 The
 .Nm
 command was written by
-.An Frank van der Linden
-.Aq fvdl%wasabisystems.com@localhost .
+.An Frank van der Linden Aq fvdl%wasabisystems.com@localhost .
 The kernel support for reading performance counters on the i386
 architecture was written by
-.An Jason R. Thorpe
-.Aq thorpej%zembu.com@localhost .
+.An Jason R. Thorpe Aq thorpej%zembu.com@localhost .
 .Sh BUGS
 The
 .Nm
-command currently only supports 686-class performance counters on
-the i386 architecture.
+command currently only supports 686-class performance-monitoring
+counters on the i386 architecture.



Home | Main Index | Thread Index | Old Index