Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Memory Slab Tracing APIs

Memory Slab Tracing APIs. More...

Macros

#define sys_port_trace_k_mem_slab_init(slab, rc)
 Trace initialization of Memory Slab.
 
#define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout)
 Trace Memory Slab alloc attempt entry.
 
#define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout)
 Trace Memory Slab alloc attempt blocking.
 
#define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret)
 Trace Memory Slab alloc attempt outcome.
 
#define sys_port_trace_k_mem_slab_free_enter(slab)
 Trace Memory Slab free entry.
 
#define sys_port_trace_k_mem_slab_free_exit(slab)
 Trace Memory Slab free exit.
 

Detailed Description

Memory Slab Tracing APIs.

Macro Definition Documentation

◆ sys_port_trace_k_mem_slab_alloc_blocking

#define sys_port_trace_k_mem_slab_alloc_blocking (   slab,
  timeout 
)

#include <zephyr/tracing/tracing.h>

Trace Memory Slab alloc attempt blocking.

Parameters
slabMemory Slab object
timeoutTimeout period

◆ sys_port_trace_k_mem_slab_alloc_enter

#define sys_port_trace_k_mem_slab_alloc_enter (   slab,
  timeout 
)

#include <zephyr/tracing/tracing.h>

Trace Memory Slab alloc attempt entry.

Parameters
slabMemory Slab object
timeoutTimeout period

◆ sys_port_trace_k_mem_slab_alloc_exit

#define sys_port_trace_k_mem_slab_alloc_exit (   slab,
  timeout,
  ret 
)

#include <zephyr/tracing/tracing.h>

Trace Memory Slab alloc attempt outcome.

Parameters
slabMemory Slab object
timeoutTimeout period
retReturn value

◆ sys_port_trace_k_mem_slab_free_enter

#define sys_port_trace_k_mem_slab_free_enter (   slab)

#include <zephyr/tracing/tracing.h>

Trace Memory Slab free entry.

Parameters
slabMemory Slab object

◆ sys_port_trace_k_mem_slab_free_exit

#define sys_port_trace_k_mem_slab_free_exit (   slab)

#include <zephyr/tracing/tracing.h>

Trace Memory Slab free exit.

Parameters
slabMemory Slab object

◆ sys_port_trace_k_mem_slab_init

#define sys_port_trace_k_mem_slab_init (   slab,
  rc 
)

#include <zephyr/tracing/tracing.h>

Trace initialization of Memory Slab.

Parameters
slabMemory Slab object
rcReturn value