MCPcopy Create free account
hub / github.com/F-Stack/f-stack / trap_check

Function trap_check

freebsd/amd64/amd64/trap.c:627–637  ·  view source on GitHub ↗

* Ensure that we ignore any DTrace-induced faults. This function cannot * be instrumented, so it cannot generate such faults itself. */

Source from the content-addressed store, hash-verified

625 * be instrumented, so it cannot generate such faults itself.
626 */
627void
628trap_check(struct trapframe *frame)
629{
630
631#ifdef KDTRACE_HOOKS
632 if (dtrace_trap_func != NULL &&
633 (*dtrace_trap_func)(frame, frame->tf_trapno) != 0)
634 return;
635#endif
636 trap(frame);
637}
638
639static bool
640trap_is_smap(struct trapframe *frame)

Callers

nothing calls this directly

Calls 1

trapFunction · 0.70

Tested by

no test coverage detected