You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
567 B
21 lines
567 B
/* |
|
* Copyright (c) 2021 Intel Corporation |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
#ifndef ZEPHYR_TRACING_TEST_SYSCALL_H_ |
|
#define ZEPHYR_TRACING_TEST_SYSCALL_H_ |
|
|
|
#include <stdint.h> |
|
|
|
void sys_trace_syscall_enter(uint32_t syscall_id, const char *syscall_name); |
|
void sys_trace_syscall_exit(uint32_t syscall_id, const char *sycall_name); |
|
|
|
#define sys_port_trace_syscall_enter(id, name, ...) \ |
|
sys_trace_syscall_enter(id, #name) |
|
|
|
#define sys_port_trace_syscall_exit(id, name, ...) \ |
|
sys_trace_syscall_exit(id, #name) |
|
|
|
#endif /* ZEPHYR_TRACING_TEST_SYSCALL_H_ */
|
|
|