Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 12:35:36 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r211813 - head/sys/sys
Message-ID:  <201008251235.o7PCZa88011626@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 *);
 



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