1 // Copyright 2018 The Fuchsia Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include <lib/zx/profile.h> 6 7 #include <zircon/syscalls.h> 8 #include <zircon/syscalls/profile.h> 9 10 namespace zx { 11 create(const job & job,const zx_profile_info_t * info,profile * result)12zx_status_t profile::create(const job& job, const zx_profile_info_t* info, profile* result) { 13 return zx_profile_create(job.get(), info, result->reset_and_get_address()); 14 } 15 16 } // namespace zx 17