:man| Alphabetical   Categories   About us 
 
UTRACE (2) | System calls | Unix Manual Pages | :man

NAME

utrace - insert user record in ktrace log

CONTENTS

Library
Synopsis
Description
Return Values
Errors
See Also
History

LIBRARY


.Lb libc

SYNOPSIS


.In sys/types.h
.In sys/param.h
.In sys/time.h
.In sys/uio.h
.In sys/ktrace.h int utrace "const void *addr" "size_t len"

DESCRIPTION

Adds a record to the process trace with information supplied by user. The record contains len bytes from memory pointed to by addr. This call only has an effect if the calling process is being traced.

RETURN VALUES


.Rv -std

ERRORS

[EINVAL]
Specified data length len was bigger than KTR_USER_MAXLEN.
[ENOMEM]
Insufficient memory to honor the request.
[ENOSYS]
Currently running kernel was compiled without ktrace(2) support (Cd "options KTRACE").

SEE ALSO

kdump(1), ktrace(1), ktrace(2)

HISTORY

 
Created by Blin Media, 2008-2013