diff options
author | markj <markj@FreeBSD.org> | 2014-08-09 14:05:01 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2014-08-09 14:05:01 +0000 |
commit | 57990c0ba46d6aa5c30d4e35eaea0bf3ee59ec96 (patch) | |
tree | 464cab57dce7af270cdd47df56ca40c82247983a /sys/powerpc | |
parent | 7c72adbd8fabd08add7b179e20d327a02617c3e2 (diff) | |
download | FreeBSD-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/powerpc')
-rw-r--r-- | sys/powerpc/aim/trap.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c index 055603c..73944d1 100644 --- a/sys/powerpc/aim/trap.c +++ b/sys/powerpc/aim/trap.c @@ -97,27 +97,6 @@ struct powerpc_exception { #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; int (*dtrace_invop_jump_addr)(struct trapframe *); #endif |