|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Tracing hooks for system calls. More...
Files | |
| file | tracing_syscall.h |
| Header file for syscall tracing API. | |
Macros | |
| #define | sys_port_trace_syscall_enter(id, name, ...) |
| Trace syscall entry. | |
| #define | sys_port_trace_syscall_exit(id, name, ...) |
| Trace syscall exit. | |
Tracing hooks for system calls.
| #define sys_port_trace_syscall_enter | ( | id, | |
| name, | |||
| ... ) |
#include <zephyr/tracing/tracing_syscall.h>
Trace syscall entry.
| id | Syscall ID (as defined in the generated syscall_list.h) |
| name | Syscall name as a token (ex: k_thread_create) |
| ... | Other parameters passed to the syscall |
| #define sys_port_trace_syscall_exit | ( | id, | |
| name, | |||
| ... ) |
#include <zephyr/tracing/tracing_syscall.h>
Trace syscall exit.
| id | Syscall ID (as defined in the generated syscall_list.h) |
| name | Syscall name as a token (ex: k_thread_create) |
| ... | Other parameters passed to the syscall, if the syscall has a return, the return value is the last parameter in the list |