From owner-svn-src-all@FreeBSD.ORG Wed Aug 25 12:35:36 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 B591210656AD; Wed, 25 Aug 2010 12:35:36 +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 A59428FC17; Wed, 25 Aug 2010 12:35:36 +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 o7PCZaD3011628; Wed, 25 Aug 2010 12:35:36 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o7PCZa88011626; Wed, 25 Aug 2010 12:35:36 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <201008251235.o7PCZa88011626@svn.freebsd.org> From: Rui Paulo Date: Wed, 25 Aug 2010 12:35:36 +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: r211813 - 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: Wed, 25 Aug 2010 12:35:36 -0000 Author: rpaulo Date: Wed Aug 25 12:35:36 2010 New Revision: 211813 URL: http://svn.freebsd.org/changeset/base/211813 Log: Add the necessary DTrace function pointers. Sponsored by: The FreeBSD Foundation Modified: head/sys/sys/dtrace_bsd.h Modified: head/sys/sys/dtrace_bsd.h ============================================================================== --- head/sys/sys/dtrace_bsd.h Wed Aug 25 12:10:20 2010 (r211812) +++ head/sys/sys/dtrace_bsd.h Wed Aug 25 12:35:36 2010 (r211813) @@ -37,6 +37,7 @@ struct trapframe; struct thread; struct vattr; struct vnode; +struct reg; /* * Cyclic clock function type definition used to hook the cyclic @@ -71,6 +72,14 @@ typedef void (*dtrace_doubletrap_func_t) extern dtrace_invop_func_t dtrace_invop_func; extern dtrace_doubletrap_func_t dtrace_doubletrap_func; +/* Pid provider hooks */ +typedef int (*dtrace_fasttrap_probe_ptr_t)(struct reg *); +extern dtrace_fasttrap_probe_ptr_t dtrace_fasttrap_probe_ptr; +typedef int (*dtrace_pid_probe_ptr_t)(struct reg *); +extern dtrace_pid_probe_ptr_t dtrace_pid_probe_ptr; +typedef int (*dtrace_return_probe_ptr_t)(struct reg *); +extern dtrace_return_probe_ptr_t dtrace_return_probe_ptr; + /* Virtual time hook function type. */ typedef void (*dtrace_vtime_switch_func_t)(struct thread *);