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

Function linux_getrusage

freebsd/amd64/linux32/linux32_machdep.c:652–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650}
651
652int
653linux_getrusage(struct thread *td, struct linux_getrusage_args *uap)
654{
655 struct rusage s;
656 int error;
657
658 error = kern_getrusage(td, uap->who, &s);
659 if (error != 0)
660 return (error);
661 if (uap->rusage != NULL)
662 error = linux_copyout_rusage(&s, uap->rusage);
663 return (error);
664}
665
666int
667linux_set_thread_area(struct thread *td,

Callers

nothing calls this directly

Calls 2

kern_getrusageFunction · 0.85
linux_copyout_rusageFunction · 0.85

Tested by

no test coverage detected