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

Mutex Tracing APIs . More...

Macros

#define sys_port_trace_k_mutex_init(mutex, ret)
 Trace initialization of Mutex.
 
#define sys_port_trace_k_mutex_lock_enter(mutex, timeout)
 Trace Mutex lock attempt start.
 
#define sys_port_trace_k_mutex_lock_blocking(mutex, timeout)
 Trace Mutex lock attempt blocking.
 
#define sys_port_trace_k_mutex_lock_exit(mutex, timeout, ret)
 Trace Mutex lock attempt outcome.
 
#define sys_port_trace_k_mutex_unlock_enter(mutex)
 Trace Mutex unlock entry.
 
#define sys_port_trace_k_mutex_unlock_exit(mutex, ret)
 Trace Mutex unlock exit.
 

Detailed Description

Mutex Tracing APIs .

Macro Definition Documentation

◆ sys_port_trace_k_mutex_init

#define sys_port_trace_k_mutex_init ( mutex,
ret )

#include <zephyr/tracing/tracing.h>

Trace initialization of Mutex.

Parameters
mutexMutex object
retReturn value

◆ sys_port_trace_k_mutex_lock_blocking

#define sys_port_trace_k_mutex_lock_blocking ( mutex,
timeout )

#include <zephyr/tracing/tracing.h>

Trace Mutex lock attempt blocking.

Parameters
mutexMutex object
timeoutTimeout period

◆ sys_port_trace_k_mutex_lock_enter

#define sys_port_trace_k_mutex_lock_enter ( mutex,
timeout )

#include <zephyr/tracing/tracing.h>

Trace Mutex lock attempt start.

Parameters
mutexMutex object
timeoutTimeout period

◆ sys_port_trace_k_mutex_lock_exit

#define sys_port_trace_k_mutex_lock_exit ( mutex,
timeout,
ret )

#include <zephyr/tracing/tracing.h>

Trace Mutex lock attempt outcome.

Parameters
mutexMutex object
timeoutTimeout period
retReturn value

◆ sys_port_trace_k_mutex_unlock_enter

#define sys_port_trace_k_mutex_unlock_enter ( mutex)

#include <zephyr/tracing/tracing.h>

Trace Mutex unlock entry.

Parameters
mutexMutex object

◆ sys_port_trace_k_mutex_unlock_exit

#define sys_port_trace_k_mutex_unlock_exit ( mutex,
ret )

#include <zephyr/tracing/tracing.h>

Trace Mutex unlock exit.