aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia
diff options
context:
space:
mode:
authorChris Palmer <snackypants@gmail.com>2022-08-12 10:20:37 -0700
committerGitHub <noreply@github.com>2022-08-12 10:20:37 -0700
commitee22bcdc4a89e0bf1211feb7895d4d629f1b4190 (patch)
tree0db92d637979772a7ec309e6c09e864f563bb59e /sys/fuchsia
parent7ead1e6d430d516ed2bdfc6f07e695487fb8af84 (diff)
sys/fuchsia: add the ktrace system calls (#3295)
Co-authored-by: Chris Palmer <palmer@google.com>
Diffstat (limited to 'sys/fuchsia')
-rw-r--r--sys/fuchsia/ktrace.txt10
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)