From owner-svn-src-all@FreeBSD.ORG Tue Aug 24 13:11:25 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36C2B1065698; Tue, 24 Aug 2010 13:11:25 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 267BA8FC0C; Tue, 24 Aug 2010 13:11:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o7ODBPGl077039; Tue, 24 Aug 2010 13:11:25 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o7ODBPrD077037; Tue, 24 Aug 2010 13:11:25 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <201008241311.o7ODBPrD077037@svn.freebsd.org> From: Rui Paulo Date: Tue, 24 Aug 2010 13:11:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r211751 - head/sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2010 13:11:25 -0000 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 */