Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Syscall Tracing APIs . More...

Macros

#define sys_port_trace_syscall_enter(id, name, ...)
 Trace syscall entry.
 
#define sys_port_trace_syscall_exit(id, name, ...)
 Trace syscall exit.
 

Detailed Description

Syscall Tracing APIs .

Macro Definition Documentation

◆ sys_port_trace_syscall_enter

#define sys_port_trace_syscall_enter ( id,
name,
... )

#include <zephyr/tracing/tracing_syscall.h>

Trace syscall entry.

Parameters
idSyscall ID (as defined in the generated syscall_list.h)
nameSyscall name as a token (ex: k_thread_create)
...Other parameters passed to the syscall

◆ sys_port_trace_syscall_exit

#define sys_port_trace_syscall_exit ( id,
name,
... )

#include <zephyr/tracing/tracing_syscall.h>

Trace syscall exit.

Parameters
idSyscall ID (as defined in the generated syscall_list.h)
nameSyscall 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