Module Name:    src
Committed By:   mrg
Date:           Fri Jun  5 04:40:23 UTC 2009

Modified Files:
        src/share/man/man4: ddb.4

Log Message:
extend 'show event' to take /i /t and /m modifiers, to select interrupt,
trap or misc event types.  you can mix them with /f as well, to show all
including zero events for traps and misc, "show event/ftm"


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/share/man/man4/ddb.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/ddb.4
diff -u src/share/man/man4/ddb.4:1.125 src/share/man/man4/ddb.4:1.126
--- src/share/man/man4/ddb.4:1.125	Fri Apr 10 15:16:06 2009
+++ src/share/man/man4/ddb.4	Fri Jun  5 04:40:23 2009
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ddb.4,v 1.125 2009/04/10 15:16:06 joerg Exp $
+.\"	$NetBSD: ddb.4,v 1.126 2009/06/05 04:40:23 mrg Exp $
 .\"
 .\" Copyright (c) 1997 - 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -593,13 +593,33 @@
 The
 .Cm /f
 does nothing at this time.
-.It Ic show event Ns Op Cm /f
+.It Ic show event Ns Oo Cm /f Oc Ns Oo Cm /i Oc Ns Oo Cm /m Oc Ns \
+Oo Cm /t Oc
 Print all the non-zero
 .Xr evcnt 9
 event counters.
-If
-.Cm /f
-is specified, all event counters with a count of zero are printed as well.
+Valid modifiers:
+.Bl -tag -width 3n
+.It Cm /f
+event counters with a count of zero are printed as well.
+.It Cm /i
+interrupted counters will be displayed.
+.It Cm /m
+is specified, misc counters will be displayed.
+.It Cm /t
+is specified, trap counters will be displayed.
+.El
+.Pp
+If none of
+.Cm /i ,
+.Cm /m
+or
+.Cm /t
+are specified, all are shown.
+You can combine any of these.
+For example, the modifier
+.Cm /itf
+will select both interrupt and trap events, including those that are non-zero.
 .It Ic show files Ar address
 Display information about the vnodes of the files that are currently
 open by the process associated with the proc structure at

Reply via email to