# 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])
