Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 975 Bytes

ktrace_read.md

File metadata and controls

48 lines (28 loc) · 975 Bytes

zx_ktrace_read

SUMMARY

TODO(fxbug.dev/32938)

DECLARATION

#include <zircon/syscalls.h>

zx_status_t zx_ktrace_read(zx_handle_t handle,
                           void* data,
                           uint32_t offset,
                           size_t data_size,
                           size_t* actual);

DESCRIPTION

To use the zx_ktrace_read() function, you must specify kernel.enable-debugging-syscalls=true on the kernel command line. Otherwise, the function returns ZX_ERR_NOT_SUPPORTED.

TODO(fxbug.dev/32938)

RIGHTS

handle must have resource kind ZX_RSRC_KIND_ROOT.

RETURN VALUE

TODO(fxbug.dev/32938)

ERRORS

TODO(fxbug.dev/32938)

SEE ALSO

TODO(fxbug.dev/32938)