Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Added a defflag option for KDTRACE_HOOKS and included op...
details: https://anonhg.NetBSD.org/src/rev/71d9565594a2
branches: trunk
changeset: 752254:71d9565594a2
user: darran <darran%NetBSD.org@localhost>
date: Sun Feb 21 07:01:57 2010 +0000
description:
Added a defflag option for KDTRACE_HOOKS and included opt_dtrace.h in the
relevant files. (Per Quentin Garnier - thanks!).
diffstat:
sys/conf/files | 4 +++-
sys/kern/kern_lwp.c | 5 +++--
sys/kern/kern_proc.c | 5 +++--
sys/kern/kern_synch.c | 5 +++--
4 files changed, 12 insertions(+), 7 deletions(-)
diffs (86 lines):
diff -r 4f55052576aa -r 71d9565594a2 sys/conf/files
--- a/sys/conf/files Sun Feb 21 06:08:53 2010 +0000
+++ b/sys/conf/files Sun Feb 21 07:01:57 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files,v 1.975 2010/02/21 04:00:47 darran Exp $
+# $NetBSD: files,v 1.976 2010/02/21 07:01:57 darran Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
version 20090313
@@ -59,6 +59,8 @@
defflag CPU_IN_CKSUM
+defflag opt_dtrace.h KDTRACE_HOOKS
+
defflag opt_posix.h P1003_1B_SEMAPHORE
defflag opt_sysv.h SYSVMSG SYSVSEM SYSVSHM
defparam opt_sysvparam.h SHMMAXPGS SEMMNI SEMMNS SEMUME SEMMNU
diff -r 4f55052576aa -r 71d9565594a2 sys/kern/kern_lwp.c
--- a/sys/kern/kern_lwp.c Sun Feb 21 06:08:53 2010 +0000
+++ b/sys/kern/kern_lwp.c Sun Feb 21 07:01:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_lwp.c,v 1.138 2010/02/21 02:11:40 darran Exp $ */
+/* $NetBSD: kern_lwp.c,v 1.139 2010/02/21 07:01:57 darran Exp $ */
/*-
* Copyright (c) 2001, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -209,11 +209,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.138 2010/02/21 02:11:40 darran Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.139 2010/02/21 07:01:57 darran Exp $");
#include "opt_ddb.h"
#include "opt_lockdebug.h"
#include "opt_sa.h"
+#include "opt_dtrace.h"
#define _LWP_API_PRIVATE
diff -r 4f55052576aa -r 71d9565594a2 sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c Sun Feb 21 06:08:53 2010 +0000
+++ b/sys/kern/kern_proc.c Sun Feb 21 07:01:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_proc.c,v 1.160 2010/02/21 02:11:40 darran Exp $ */
+/* $NetBSD: kern_proc.c,v 1.161 2010/02/21 07:01:57 darran Exp $ */
/*-
* Copyright (c) 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -62,10 +62,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.160 2010/02/21 02:11:40 darran Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.161 2010/02/21 07:01:57 darran Exp $");
#include "opt_kstack.h"
#include "opt_maxuprc.h"
+#include "opt_dtrace.h"
#include <sys/param.h>
#include <sys/systm.h>
diff -r 4f55052576aa -r 71d9565594a2 sys/kern/kern_synch.c
--- a/sys/kern/kern_synch.c Sun Feb 21 06:08:53 2010 +0000
+++ b/sys/kern/kern_synch.c Sun Feb 21 07:01:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_synch.c,v 1.276 2010/02/21 02:11:40 darran Exp $ */
+/* $NetBSD: kern_synch.c,v 1.277 2010/02/21 07:01:57 darran Exp $ */
/*-
* Copyright (c) 1999, 2000, 2004, 2006, 2007, 2008, 2009
@@ -69,11 +69,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_synch.c,v 1.276 2010/02/21 02:11:40 darran Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_synch.c,v 1.277 2010/02/21 07:01:57 darran Exp $");
#include "opt_kstack.h"
#include "opt_perfctrs.h"
#include "opt_sa.h"
+#include "opt_dtrace.h"
#define __MUTEX_PRIVATE
Home |
Main Index |
Thread Index |
Old Index