Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add EVCNT_TRAP event counter type.



details:   https://anonhg.NetBSD.org/src/rev/89e3f726fa54
branches:  trunk
changeset: 514216:89e3f726fa54
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 26 02:48:12 2001 +0000

description:
Add EVCNT_TRAP event counter type.

diffstat:

 sys/sys/device.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 0cd945df3e2a -r 89e3f726fa54 sys/sys/device.h
--- a/sys/sys/device.h  Sun Aug 26 02:47:33 2001 +0000
+++ b/sys/sys/device.h  Sun Aug 26 02:48:12 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: device.h,v 1.46 2001/07/01 02:56:20 gmcgarry Exp $ */
+/* $NetBSD: device.h,v 1.47 2001/08/26 02:48:12 matt Exp $ */
 
 /*
  * Copyright (c) 1996, 2000 Christopher G. Demetriou
@@ -142,6 +142,7 @@
 /* ev_type values */
 #define        EVCNT_TYPE_MISC         0       /* miscellaneous; catch all */
 #define        EVCNT_TYPE_INTR         1       /* interrupt; count with vmstat -i */
+#define        EVCNT_TYPE_TRAP         2       /* processor trap/execption */
 
 /*
  * initializer for an event count structure.  the lengths are initted and



Home | Main Index | Thread Index | Old Index