Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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.

Detailed Description

Tracing hooks for system calls.

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