Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2017 08:02:23 +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-11@freebsd.org
Subject:   svn commit: r315836 - stable/11/sys/kern
Message-ID:  <201703230802.v2N82NRH089110@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Thu Mar 23 08:02:23 2017
New Revision: 315836
URL: https://svnweb.freebsd.org/changeset/base/315836

Log:
  MFC r315074: actually implement proc:::lwp-exit probe

Modified:
  stable/11/sys/kern/kern_thread.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/kern/kern_thread.c
==============================================================================
--- stable/11/sys/kern/kern_thread.c	Thu Mar 23 08:00:45 2017	(r315835)
+++ stable/11/sys/kern/kern_thread.c	Thu Mar 23 08:02:23 2017	(r315836)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703230802.v2N82NRH089110>