aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia/profile.txt
blob: 0e417508a2d06c79b89393cca6a5e2ff2ce923b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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_profile[zx_handle]

zx_profile_info {
	flags			int32
	priority		int32
	cpu_affinity_mask	array[int64, 8]
}

zx_profile_create(root_job zx_job, options int32, profile ptr[in, zx_profile_info], out_handle ptr[out, zx_profile])