From owner-cvs-src@FreeBSD.ORG Sun May 18 19:43:53 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BBC61065672; Sun, 18 May 2008 19:43:53 +0000 (UTC) (envelope-from jb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 051248FC17; Sun, 18 May 2008 19:43:53 +0000 (UTC) (envelope-from jb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4IJhqYK055835; Sun, 18 May 2008 19:43:52 GMT (envelope-from jb@repoman.freebsd.org) Received: (from jb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4IJhqfY055834; Sun, 18 May 2008 19:43:52 GMT (envelope-from jb) Message-Id: <200805181943.m4IJhqfY055834@repoman.freebsd.org> From: John Birrell Date: Sun, 18 May 2008 19:43:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_dtrace.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 19:43:53 -0000 jb 2008-05-18 19:43:52 UTC FreeBSD src repository Added files: sys/kern kern_dtrace.c Log: Add support for the DTrace struct proc and struct thread extended data via ctor and dtor event handlers. The size of the extra data is allocated opaquely and this file contains a function which the dtrace module can call to check that the kernel supports at least the amount of data that it needs. This file is optionally compiled into nthe kernel if the KDTRACE_HOOKS kernel option is defined. Revision Changes Path 1.1 +120 -0 src/sys/kern/kern_dtrace.c (new)