1 /*
2  * Copyright (c) 2021 Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_TRACING_TEST_SYSCALL_H_
8 #define ZEPHYR_TRACING_TEST_SYSCALL_H_
9 
10 #include <stdint.h>
11 
12 void sys_trace_syscall_enter(uint32_t syscall_id, const char *syscall_name);
13 void sys_trace_syscall_exit(uint32_t syscall_id, const char *sycall_name);
14 
15 #define sys_port_trace_syscall_enter(id, name, ...)	\
16 	sys_trace_syscall_enter(id, #name)
17 
18 #define sys_port_trace_syscall_exit(id, name, ...)	\
19 	sys_trace_syscall_exit(id, #name)
20 
21 #endif /* ZEPHYR_TRACING_TEST_SYSCALL_H_ */
22