SYNOPSISIn 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 len
DESCRIPTIONAdds 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 VALUESRv -std
- 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 )
HISTORYThe Fn utrace system call first appeared in Fx 2.2 .