diff options
| author | Chris Palmer <snackypants@gmail.com> | 2022-08-12 10:20:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-12 10:20:37 -0700 |
| commit | ee22bcdc4a89e0bf1211feb7895d4d629f1b4190 (patch) | |
| tree | 0db92d637979772a7ec309e6c09e864f563bb59e | |
| parent | 7ead1e6d430d516ed2bdfc6f07e695487fb8af84 (diff) | |
sys/fuchsia: add the ktrace system calls (#3295)
Co-authored-by: Chris Palmer <palmer@google.com>
| -rw-r--r-- | sys/fuchsia/ktrace.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/fuchsia/ktrace.txt b/sys/fuchsia/ktrace.txt new file mode 100644 index 000000000..1d97ffc2c --- /dev/null +++ b/sys/fuchsia/ktrace.txt @@ -0,0 +1,10 @@ +# Copyright 2022 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +# See https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/ktrace.fidl + +include <zircon/syscalls.h> + +zx_ktrace_read(handle zx_resource, data ptr[in, array[int8]], offset int32, data_size len[data], actual ptr[out, int64]) +zx_ktrace_control(handle zx_resource, action int32, options int32, data ptr[in, array[int8]]) +zx_ktrace_write(handle zx_resource, id int32, arg0 int32, arg1 int32) |
