Summary
TODO(https://fxbug.dev/42108078)
Declaration
#include <zircon/syscalls.h>
zx_status_t zx_ktrace_write(zx_handle_t handle,
uint32_t id,
uint32_t arg0,
uint32_t arg1);
Description
To use the zx_ktrace_write()
function, you must specify
kernel.enable-debugging-syscalls=true
on the kernel command line. Otherwise,
the function returns ZX_ERR_NOT_SUPPORTED
.
TODO(https://fxbug.dev/42108078)
Rights
handle must have resource kind ZX_RSRC_KIND_SYSTEM
with base
ZX_RSRC_SYSTEM_DEBUG_BASE
.
Return value
TODO(https://fxbug.dev/42108078)
Errors
TODO(https://fxbug.dev/42108078)
See also
TODO(https://fxbug.dev/42108078)