Fix ktrace for threaded processes. Move the KTRFAC_ACTIVE flag to the LWP
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 14 Apr 2008 12:01:53 +0000 (12:01 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 14 Apr 2008 12:01:53 +0000 (12:01 +0000)
commit9fb04d1497e8d8c3f143dc6e6ac0be37f098e406
treeb36c1cda2ecc1dcdd65bce1616087be5e9e87458
parent1be1f15203fe93466462c3b43777c7c8d75b3c56
Fix ktrace for threaded processes.  Move the KTRFAC_ACTIVE flag to the LWP
so a ktrace occuring on one LWP does not cause another LWP to fail to log
a trace entry.
sys/kern/kern_ktrace.c
sys/kern/kern_sig.c
sys/kern/sys_generic.c
sys/kern/uipc_syscalls.c
sys/kern/vfs_nlookup.c
sys/platform/pc32/i386/trap.c
sys/platform/vkernel/i386/trap.c
sys/sys/ktrace.h