Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Semaphore Tracing APIs

Semaphore Tracing APIs. More...

Macros

#define sys_port_trace_k_sem_init(sem, ret)
 Trace initialisation of a Semaphore.
 
#define sys_port_trace_k_sem_give_enter(sem)
 Trace giving a Semaphore entry.
 
#define sys_port_trace_k_sem_give_exit(sem)
 Trace giving a Semaphore exit.
 
#define sys_port_trace_k_sem_take_enter(sem, timeout)
 Trace taking a Semaphore attempt start.
 
#define sys_port_trace_k_sem_take_blocking(sem, timeout)
 Trace taking a Semaphore attempt blocking.
 
#define sys_port_trace_k_sem_take_exit(sem, timeout, ret)
 Trace taking a Semaphore attempt outcome.
 
#define sys_port_trace_k_sem_reset(sem)
 Trace resetting a Semaphore.
 

Detailed Description

Semaphore Tracing APIs.

Macro Definition Documentation

◆ sys_port_trace_k_sem_give_enter

#define sys_port_trace_k_sem_give_enter (   sem)

#include <zephyr/tracing/tracing.h>

Trace giving a Semaphore entry.

Parameters
semSemaphore object

◆ sys_port_trace_k_sem_give_exit

#define sys_port_trace_k_sem_give_exit (   sem)

#include <zephyr/tracing/tracing.h>

Trace giving a Semaphore exit.

Parameters
semSemaphore object

◆ sys_port_trace_k_sem_init

#define sys_port_trace_k_sem_init (   sem,
  ret 
)

#include <zephyr/tracing/tracing.h>

Trace initialisation of a Semaphore.

Parameters
semSemaphore object
retReturn value

◆ sys_port_trace_k_sem_reset

#define sys_port_trace_k_sem_reset (   sem)

#include <zephyr/tracing/tracing.h>

Trace resetting a Semaphore.

Parameters
semSemaphore object

◆ sys_port_trace_k_sem_take_blocking

#define sys_port_trace_k_sem_take_blocking (   sem,
  timeout 
)

#include <zephyr/tracing/tracing.h>

Trace taking a Semaphore attempt blocking.

Parameters
semSemaphore object
timeoutTimeout period

◆ sys_port_trace_k_sem_take_enter

#define sys_port_trace_k_sem_take_enter (   sem,
  timeout 
)

#include <zephyr/tracing/tracing.h>

Trace taking a Semaphore attempt start.

Parameters
semSemaphore object
timeoutTimeout period

◆ sys_port_trace_k_sem_take_exit

#define sys_port_trace_k_sem_take_exit (   sem,
  timeout,
  ret 
)

#include <zephyr/tracing/tracing.h>

Trace taking a Semaphore attempt outcome.

Parameters
semSemaphore object
timeoutTimeout period
retReturn value