svn commit: r315837 - stable/10/sys/kern
Andriy Gapon
avg at FreeBSD.org
Thu Mar 23 08:02:30 UTC 2017
Author: avg
Date: Thu Mar 23 08:02:29 2017
New Revision: 315837
URL: https://svnweb.freebsd.org/changeset/base/315837
Log:
MFC r315074: actually implement proc:::lwp-exit probe
Modified:
stable/10/sys/kern/kern_thread.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/kern/kern_thread.c
==============================================================================
--- stable/10/sys/kern/kern_thread.c Thu Mar 23 08:02:23 2017 (r315836)
+++ stable/10/sys/kern/kern_thread.c Thu Mar 23 08:02:29 2017 (r315837)
@@ -415,6 +415,7 @@ thread_exit(void)
KASSERT(p != NULL, ("thread exiting without a process"));
CTR3(KTR_PROC, "thread_exit: thread %p (pid %ld, %s)", td,
(long)p->p_pid, td->td_name);
+ SDT_PROBE0(proc, , , lwp__exit);
KASSERT(TAILQ_EMPTY(&td->td_sigqueue.sq_list), ("signal pending"));
#ifdef AUDIT
More information about the svn-src-stable-10
mailing list