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

Function ktruserret

freebsd/kern/kern_ktrace.c:613–622  ·  view source on GitHub ↗

* When a thread returns, drain any asynchronous records generated by the * system call. */

Source from the content-addressed store, hash-verified

611 * system call.
612 */
613void
614ktruserret(struct thread *td)
615{
616
617 ktrace_enter(td);
618 sx_xlock(&ktrace_sx);
619 ktr_drain(td);
620 sx_xunlock(&ktrace_sx);
621 ktrace_exit(td);
622}
623
624void
625ktrnamei(path)

Callers

nothing calls this directly

Calls 3

ktrace_enterFunction · 0.85
ktr_drainFunction · 0.85
ktrace_exitFunction · 0.85

Tested by

no test coverage detected