Date: Thu, 23 Mar 2017 08:02:29 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r315837 - stable/10/sys/kern Message-ID: <201703230802.v2N82Tf9089993@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703230802.v2N82Tf9089993>