From ee22bcdc4a89e0bf1211feb7895d4d629f1b4190 Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Fri, 12 Aug 2022 10:20:37 -0700 Subject: sys/fuchsia: add the ktrace system calls (#3295) Co-authored-by: Chris Palmer --- sys/fuchsia/ktrace.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sys/fuchsia/ktrace.txt 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 + +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) -- cgit mrf-deployment