diff options
| author | Ange Albertini <corkami@google.com> | 2022-10-07 15:44:49 +0000 |
|---|---|---|
| committer | Chris Palmer <snackypants@gmail.com> | 2022-10-11 12:54:20 -0700 |
| commit | 02e930d1cf500e07180d940a700387b4dfcfd49f (patch) | |
| tree | be6f77960f65ea6f924a3d8d70a86f70bb36c188 /sys/fuchsia | |
| parent | 5ea9a3d154138a03cd0ca8fdcd54987227c1d606 (diff) | |
sys/fuchsia: add the profile syscalls definitions
Diffstat (limited to 'sys/fuchsia')
| -rw-r--r-- | sys/fuchsia/profile.txt | 16 |
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]) |
