Author: markj Date: Thu May 29 01:41:19 2014 New Revision: 266826 URL: http://svnweb.freebsd.org/changeset/base/266826
Log: Move some duplicated hook definitions from machine-dependent files to kern_dtrace.c. Reviewed by: rpaulo MFC after: 1 week Modified: head/sys/sys/dtrace_bsd.h Modified: head/sys/sys/dtrace_bsd.h ============================================================================== --- head/sys/sys/dtrace_bsd.h Thu May 29 01:01:54 2014 (r266825) +++ head/sys/sys/dtrace_bsd.h Thu May 29 01:41:19 2014 (r266826) @@ -59,10 +59,12 @@ int dtrace_trap(struct trapframe *, u_in extern dtrace_trap_func_t dtrace_trap_func; -/* Used by the machine dependent trap() code. */ +/* + * A hook which removes active FBT probes before executing the double fault + * handler. We want to ensure that DTrace doesn't trigger another trap, which + * would result in a reset. + */ typedef void (*dtrace_doubletrap_func_t)(void); - -/* Global variables in trap.c */ extern dtrace_doubletrap_func_t dtrace_doubletrap_func; /* Pid provider hooks */ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"