Manual Pages — UTRACE
– insert user record in ktrace log
Standard C Library (libc, -lc)
utrace(const void *addr, size_t len)
Adds a record to the process trace with information supplied by user.
The record contains
bytes from memory pointed to by
This call only has an effect if the calling process is being traced.
Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the error.
Specified data length
was bigger than
Insufficient memory to honor the request.
Currently running kernel was compiled without
(Cd options KTRACE).
system call first appeared in
FreeBSD 2.2 .
||December 11, 2015
any comments about this manual page service to
|| One of the advantages of using UNIX to teach an operating systems
course is the sources and documentation will easily fit into a student's briefcase.
— John Lions