src/sys/amd64/amd64/trap.c
/*
 * Ensure that we ignore any DTrace-induced faults. This function cannot
 * be instrumented, so it cannot generate such faults itself.
 */
Ensure that we ignore any DTrace-induced faults. This function cannot
be instrumented, so it cannot generate such faults itself.
Ensure that we ignore any DTrace - induced faults . This function cannot be instrumented so it cannot generate such faults itself .
void
trap_check(struct trapframe *frame)
{
#ifdef KDTRACE_HOOKS
	if (dtrace_trap_func != NULL &&
	    (*dtrace_trap_func)(frame, frame->tf_trapno) != 0)
		return;
#endif
	trap(frame);
}
void trap_check ( struct trapframe * frame ) { #ifdef KDTRACE_HOOKS if ( dtrace_trap_func != NULL && ( * dtrace_trap_func ) ( frame , frame -> tf_trapno ) != 0 ) return ; #endif trap ( frame ) ; }
Ensure that we ignore any DTrace-induced faults.
Ensure that we ignore any DTrace - induced faults .