blob: e29a3a563cdabeb5f0abdbb6ba58e7f5b58ab8aa [file] [log] [blame] [view]
# zx_ktrace_control
## NAME
<!-- Contents of this heading updated by update-docs-from-fidl, do not edit. -->
TODO(fxbug.dev/32938)
## SYNOPSIS
<!-- Contents of this heading updated by update-docs-from-fidl, do not edit. -->
```c
#include <zircon/syscalls.h>
zx_status_t zx_ktrace_control(zx_handle_t handle,
uint32_t action,
uint32_t options,
void* ptr);
```
## DESCRIPTION
To use the `zx_trace_control()` 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
<!-- Contents of this heading updated by update-docs-from-fidl, do not edit. -->
*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)