svn commit: r211751 - head/sys/sys

Rui Paulo rpaulo at FreeBSD.org
Tue Aug 24 13:11:25 UTC 2010


Author: rpaulo
Date: Tue Aug 24 13:11:24 2010
New Revision: 211751
URL: http://svn.freebsd.org/changeset/base/211751

Log:
  Add a trap code for DTrace induced traps.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/sys/signal.h

Modified: head/sys/sys/signal.h
==============================================================================
--- head/sys/sys/signal.h	Tue Aug 24 13:02:22 2010	(r211750)
+++ head/sys/sys/signal.h	Tue Aug 24 13:11:24 2010	(r211751)
@@ -266,6 +266,7 @@ typedef	struct __siginfo {
 /* codes for SIGTRAP */
 #define TRAP_BRKPT	1	/* Process breakpoint.			*/
 #define TRAP_TRACE	2	/* Process trace trap.			*/
+#define	TRAP_DTRACE	3	/* DTrace induced trap.			*/
 
 /* codes for SIGCHLD */
 #define CLD_EXITED	1	/* Child has exited			*/


More information about the svn-src-all mailing list