aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia
diff options
context:
space:
mode:
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)