actually implement proc:::lwp-exit probe

MFC after:	4 days
This commit is contained in:
Andriy Gapon 2017-03-11 15:47:27 +00:00
parent 595a52b771
commit 6c9271a918

View File

@ -473,6 +473,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