Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern don't forget to call kdtrace_thread_ctor for lwp0
details: https://anonhg.NetBSD.org/src/rev/ae85e8bde728
branches: trunk
changeset: 770506:ae85e8bde728
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Oct 19 10:51:47 2011 +0000
description:
don't forget to call kdtrace_thread_ctor for lwp0
diffstat:
sys/kern/kern_lwp.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r ca21185b7c2b -r ae85e8bde728 sys/kern/kern_lwp.c
--- a/sys/kern/kern_lwp.c Wed Oct 19 10:14:35 2011 +0000
+++ b/sys/kern/kern_lwp.c Wed Oct 19 10:51:47 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_lwp.c,v 1.163 2011/08/31 16:04:39 christos Exp $ */
+/* $NetBSD: kern_lwp.c,v 1.164 2011/10/19 10:51:47 yamt Exp $ */
/*-
* Copyright (c) 2001, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -211,7 +211,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.163 2011/08/31 16:04:39 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.164 2011/10/19 10:51:47 yamt Exp $");
#include "opt_ddb.h"
#include "opt_lockdebug.h"
@@ -317,6 +317,7 @@
kauth_cred_hold(proc0.p_cred);
l->l_cred = proc0.p_cred;
+ kdtrace_thread_ctor(NULL, l);
lwp_initspecific(l);
SYSCALL_TIME_LWP_INIT(l);
Home |
Main Index |
Thread Index |
Old Index