Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys add FreeBSD-compatible KTR_USER/KTRFAC_USER
details: https://anonhg.NetBSD.org/src/rev/b15b6e886785
branches: trunk
changeset: 500720:b15b6e886785
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Dec 17 16:04:51 2000 +0000
description:
add FreeBSD-compatible KTR_USER/KTRFAC_USER
diffstat:
sys/sys/ktrace.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 58f73034bf3a -r b15b6e886785 sys/sys/ktrace.h
--- a/sys/sys/ktrace.h Sun Dec 17 16:00:37 2000 +0000
+++ b/sys/sys/ktrace.h Sun Dec 17 16:04:51 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ktrace.h,v 1.19 2000/05/27 00:40:48 sommerfeld Exp $ */
+/* $NetBSD: ktrace.h,v 1.20 2000/12/17 16:04:51 jdolecek Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -141,6 +141,12 @@
/* record contains emulation name */
/*
+ * KTR_USER - user record
+ */
+#define KTR_USER 8
+ /* record contains some user data */
+
+/*
* kernel trace points (in p_traceflag)
*/
#define KTRFAC_MASK 0x00ffffff
@@ -151,6 +157,7 @@
#define KTRFAC_PSIG (1<<KTR_PSIG)
#define KTRFAC_CSW (1<<KTR_CSW)
#define KTRFAC_EMUL (1<<KTR_EMUL)
+#define KTRFAC_USER (1<<KTR_USER)
/*
* trace flags (also in p_traceflags)
*/
Home |
Main Index |
Thread Index |
Old Index