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

Function ktr_getrequest

freebsd/kern/kern_ktrace.c:323–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323static struct ktr_request *
324ktr_getrequest(int type)
325{
326 struct thread *td = curthread;
327 struct ktr_request *req;
328
329 ktrace_enter(td);
330 req = ktr_getrequest_entered(td, type);
331 if (req == NULL)
332 ktrace_exit(td);
333
334 return (req);
335}
336
337/*
338 * Some trace generation environments don't permit direct access to VFS,

Callers 13

ktrsyscallFunction · 0.85
ktrsysretFunction · 0.85
ktrnameiFunction · 0.85
ktrsysctlFunction · 0.85
ktrgenioFunction · 0.85
ktrpsigFunction · 0.85
ktrcswFunction · 0.85
ktrstructFunction · 0.85
ktrstructarrayFunction · 0.85
ktrcapfailFunction · 0.85
ktrfaultFunction · 0.85
ktrfaultendFunction · 0.85

Calls 3

ktrace_enterFunction · 0.85
ktr_getrequest_enteredFunction · 0.85
ktrace_exitFunction · 0.85

Tested by

no test coverage detected