aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fuchsia')
-rw-r--r--sys/fuchsia/profile.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/fuchsia/profile.txt b/sys/fuchsia/profile.txt
new file mode 100644
index 000000000..a347e1710
--- /dev/null
+++ b/sys/fuchsia/profile.txt
@@ -0,0 +1,16 @@
+# 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/profile.fidl
+
+include <zircon/syscalls.h>
+
+resource zx_root[zx_handle]
+
+zx_profile_info {
+ flags int32
+ priority int32
+ cpu_affinity_mask array[int64, 8]
+}
+
+zx_profile_create(root_job ptr[in, zx_root], options int32, profile ptr[in, zx_profile_info], out_handle ptr[out, zx_root])