summaryrefslogtreecommitdiffstats
path: root/sys/mips
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/mips
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/mips')
-rw-r--r--sys/mips/mips/trap.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/mips/mips/trap.c b/sys/mips/mips/trap.c
index 9e1f9b8..eaa7fb4 100644
--- a/sys/mips/mips/trap.c
+++ b/sys/mips/mips/trap.c
@@ -94,28 +94,6 @@ __FBSDID("$FreeBSD$");
#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
#ifdef TRAP_DEBUG
OpenPOWER on IntegriCloud