Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/tprof Add two note to the tprof(8)'s manual page.



details:   https://anonhg.NetBSD.org/src/rev/b765df608532
branches:  trunk
changeset: 374286:b765df608532
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Apr 17 07:13:35 2023 +0000

description:
Add two note to the tprof(8)'s manual page.

 - "list" command prints the maximum number of counters that can be used
   simultaneously.
 - multiple -e arguments can be specified.

diffstat:

 usr.sbin/tprof/tprof.8 |  15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r c23770ebbf38 -r b765df608532 usr.sbin/tprof/tprof.8
--- a/usr.sbin/tprof/tprof.8    Mon Apr 17 06:57:02 2023 +0000
+++ b/usr.sbin/tprof/tprof.8    Mon Apr 17 07:13:35 2023 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: tprof.8,v 1.25 2023/04/10 06:08:55 msaitoh Exp $
+.\"    $NetBSD: tprof.8,v 1.26 2023/04/17 07:13:35 msaitoh Exp $
 .\"
 .\" Copyright (c)2011 YAMAMOTO Takashi,
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd April 10, 2023
+.Dd April 17, 2023
 .Dt TPROF 8
 .Os
 .Sh NAME
@@ -63,7 +63,13 @@ specifies the action to take.
 Valid actions are:
 .Bl -tag -width offline -offset indent
 .It list
-Display a list of performance counter events available on the system.
+Display the following information:
+.Bl -bullet -compact
+.It
+a list of performance counter events available on the system
+.It
+the maximum number of counters that can be used simultaneously
+.El
 .It monitor Xo
 .Fl e
 .Ar name[:option][,scale]
@@ -82,6 +88,9 @@ specifies the source of the event; it mu
 (userland) and
 .Ar k
 (kernel). If omitted, it is assumed that both are specified.
+Multiple
+.Fl e
+arguments can be specified.
 The collected samples are written into the file
 .Ar scale
 specifies the ratio of the speed to the cycle counter, or the counter until



Home | Main Index | Thread Index | Old Index