summaryrefslogtreecommitdiffstats
path: root/sys/i386/i386
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2014-08-09 14:05:01 +0000
committermarkj <markj@FreeBSD.org>2014-08-09 14:05:01 +0000
commit57990c0ba46d6aa5c30d4e35eaea0bf3ee59ec96 (patch)
tree464cab57dce7af270cdd47df56ca40c82247983a /sys/i386/i386
parent7c72adbd8fabd08add7b179e20d327a02617c3e2 (diff)
downloadFreeBSD-src-57990c0ba46d6aa5c30d4e35eaea0bf3ee59ec96.zip
FreeBSD-src-57990c0ba46d6aa5c30d4e35eaea0bf3ee59ec96.tar.gz
MFC r266826, r266827
Move some duplicated hook definitions from machine-dependent files to kern_dtrace.c.
Diffstat (limited to 'sys/i386/i386')
-rw-r--r--sys/i386/i386/trap.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index 7b9ce8c..e654fe0 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -105,28 +105,6 @@ PMC_SOFT_DEFINE( , , page_fault, write);
#ifdef KDTRACE_HOOKS
#include <sys/dtrace_bsd.h>
-
-/*
- * This is a hook which is initialised by the dtrace module
- * to handle traps which might occur during DTrace probe
- * execution.
- */
-dtrace_trap_func_t dtrace_trap_func;
-
-dtrace_doubletrap_func_t dtrace_doubletrap_func;
-
-/*
- * This is a hook which is initialised by the systrace module
- * when it is loaded. This keeps the DTrace syscall provider
- * implementation opaque.
- */
-systrace_probe_func_t systrace_probe_func;
-
-/*
- * These hooks are necessary for the pid and usdt providers.
- */
-dtrace_pid_probe_ptr_t dtrace_pid_probe_ptr;
-dtrace_return_probe_ptr_t dtrace_return_probe_ptr;
#endif
extern void trap(struct trapframe *frame);
OpenPOWER on IntegriCloud