LIBRARY
Lb libcSYNOPSIS
In sys/types.h In sys/param.h In sys/time.h In sys/uio.h In sys/ktrace.h Ft int Fn utrace const void *addr size_t lenDESCRIPTION
Adds a record to the process trace with information supplied by user. The record contains Fa len bytes from memory pointed to by Fa addr . This call only has an effect if the calling process is being traced.RETURN VALUES
Rv -stdERRORS
- Bq Er EINVAL
- Specified data length Fa len was bigger than KTR_USER_MAXLEN
- Bq Er ENOMEM
- Insufficient memory to honor the request.
- Bq Er ENOSYS
- Currently running kernel was compiled without ktrace(2) support (options KTRACE )
HISTORY
The Fn utrace system call first appeared in Fx 2.2 .