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

Heap Tracing APIs . More...

Macros

#define sys_port_trace_k_heap_init(h)
 Trace initialization of Heap.
 
#define sys_port_trace_k_heap_aligned_alloc_enter(h, timeout)
 Trace Heap aligned alloc attempt entry.
 
#define sys_port_trace_k_heap_aligned_alloc_blocking(h, timeout)
 Trace Heap align alloc attempt blocking.
 
#define sys_port_trace_k_heap_aligned_alloc_exit(h, timeout, ret)
 Trace Heap align alloc attempt outcome.
 
#define sys_port_trace_k_heap_alloc_enter(h, timeout)
 Trace Heap alloc enter.
 
#define sys_port_trace_k_heap_alloc_exit(h, timeout, ret)
 Trace Heap alloc exit.
 
#define sys_port_trace_k_heap_free(h)
 Trace Heap free.
 
#define sys_port_trace_k_heap_realloc_enter(h, ptr, bytes, timeout)
 Trace Heap realloc enter.
 
#define sys_port_trace_k_heap_realloc_exit(h, ptr, bytes, timeout, ret)
 Trace Heap realloc exit.
 
#define sys_port_trace_k_heap_sys_k_aligned_alloc_enter(heap)
 Trace System Heap aligned alloc enter.
 
#define sys_port_trace_k_heap_sys_k_aligned_alloc_exit(heap, ret)
 Trace System Heap aligned alloc exit.
 
#define sys_port_trace_k_heap_sys_k_malloc_enter(heap)
 Trace System Heap aligned alloc enter.
 
#define sys_port_trace_k_heap_sys_k_malloc_exit(heap, ret)
 Trace System Heap aligned alloc exit.
 
#define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref)
 Trace System Heap free entry.
 
#define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref)
 Trace System Heap free exit.
 
#define sys_port_trace_k_heap_sys_k_calloc_enter(heap)
 Trace System heap calloc enter.
 
#define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret)
 Trace System heap calloc exit.
 
#define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr)
 Trace System heap realloc enter.
 
#define sys_port_trace_k_heap_sys_k_realloc_exit(heap, ptr, ret)
 Trace System heap realloc exit.
 

Detailed Description

Heap Tracing APIs .

Macro Definition Documentation

◆ sys_port_trace_k_heap_aligned_alloc_blocking

#define sys_port_trace_k_heap_aligned_alloc_blocking ( h,
timeout )

#include <zephyr/tracing/tracing.h>

Trace Heap align alloc attempt blocking.

Parameters
hHeap object
timeoutTimeout period

◆ sys_port_trace_k_heap_aligned_alloc_enter

#define sys_port_trace_k_heap_aligned_alloc_enter ( h,
timeout )

#include <zephyr/tracing/tracing.h>

Trace Heap aligned alloc attempt entry.

Parameters
hHeap object
timeoutTimeout period

◆ sys_port_trace_k_heap_aligned_alloc_exit

#define sys_port_trace_k_heap_aligned_alloc_exit ( h,
timeout,
ret )

#include <zephyr/tracing/tracing.h>

Trace Heap align alloc attempt outcome.

Parameters
hHeap object
timeoutTimeout period
retReturn value

◆ sys_port_trace_k_heap_alloc_enter

#define sys_port_trace_k_heap_alloc_enter ( h,
timeout )

#include <zephyr/tracing/tracing.h>

Trace Heap alloc enter.

Parameters
hHeap object
timeoutTimeout period

◆ sys_port_trace_k_heap_alloc_exit

#define sys_port_trace_k_heap_alloc_exit ( h,
timeout,
ret )

#include <zephyr/tracing/tracing.h>

Trace Heap alloc exit.

Parameters
hHeap object
timeoutTimeout period
retReturn value

◆ sys_port_trace_k_heap_free

#define sys_port_trace_k_heap_free ( h)

#include <zephyr/tracing/tracing.h>

Trace Heap free.

Parameters
hHeap object

◆ sys_port_trace_k_heap_init

#define sys_port_trace_k_heap_init ( h)

#include <zephyr/tracing/tracing.h>

Trace initialization of Heap.

Parameters
hHeap object

◆ sys_port_trace_k_heap_realloc_enter

#define sys_port_trace_k_heap_realloc_enter ( h,
ptr,
bytes,
timeout )

#include <zephyr/tracing/tracing.h>

Trace Heap realloc enter.

Parameters
hHeap object
ptrPointer to reallocate
bytesBytes to reallocate
timeoutTimeout period

◆ sys_port_trace_k_heap_realloc_exit

#define sys_port_trace_k_heap_realloc_exit ( h,
ptr,
bytes,
timeout,
ret )

#include <zephyr/tracing/tracing.h>

Trace Heap realloc exit.

Parameters
hHeap object
ptrPointer to reallocate
bytesBytes to reallocate
timeoutTimeout period
retReturn value

◆ sys_port_trace_k_heap_sys_k_aligned_alloc_enter

#define sys_port_trace_k_heap_sys_k_aligned_alloc_enter ( heap)

#include <zephyr/tracing/tracing.h>

Trace System Heap aligned alloc enter.

Parameters
heapHeap object

◆ sys_port_trace_k_heap_sys_k_aligned_alloc_exit

#define sys_port_trace_k_heap_sys_k_aligned_alloc_exit ( heap,
ret )

#include <zephyr/tracing/tracing.h>

Trace System Heap aligned alloc exit.

Parameters
heapHeap object
retReturn value

◆ sys_port_trace_k_heap_sys_k_calloc_enter

#define sys_port_trace_k_heap_sys_k_calloc_enter ( heap)

#include <zephyr/tracing/tracing.h>

Trace System heap calloc enter.

Parameters
heap

◆ sys_port_trace_k_heap_sys_k_calloc_exit

#define sys_port_trace_k_heap_sys_k_calloc_exit ( heap,
ret )

#include <zephyr/tracing/tracing.h>

Trace System heap calloc exit.

Parameters
heapHeap object
retReturn value

◆ sys_port_trace_k_heap_sys_k_free_enter

#define sys_port_trace_k_heap_sys_k_free_enter ( heap,
heap_ref )

#include <zephyr/tracing/tracing.h>

Trace System Heap free entry.

Parameters
heapHeap object
heap_refHeap reference

◆ sys_port_trace_k_heap_sys_k_free_exit

#define sys_port_trace_k_heap_sys_k_free_exit ( heap,
heap_ref )

#include <zephyr/tracing/tracing.h>

Trace System Heap free exit.

Parameters
heapHeap object
heap_refHeap reference

◆ sys_port_trace_k_heap_sys_k_malloc_enter

#define sys_port_trace_k_heap_sys_k_malloc_enter ( heap)

#include <zephyr/tracing/tracing.h>

Trace System Heap aligned alloc enter.

Parameters
heapHeap object

◆ sys_port_trace_k_heap_sys_k_malloc_exit

#define sys_port_trace_k_heap_sys_k_malloc_exit ( heap,
ret )

#include <zephyr/tracing/tracing.h>

Trace System Heap aligned alloc exit.

Parameters
heapHeap object
retReturn value

◆ sys_port_trace_k_heap_sys_k_realloc_enter

#define sys_port_trace_k_heap_sys_k_realloc_enter ( heap,
ptr )

#include <zephyr/tracing/tracing.h>

Trace System heap realloc enter.

Parameters
heap
ptr

◆ sys_port_trace_k_heap_sys_k_realloc_exit

#define sys_port_trace_k_heap_sys_k_realloc_exit ( heap,
ptr,
ret )

#include <zephyr/tracing/tracing.h>

Trace System heap realloc exit.

Parameters
heapHeap object
ptrMemory pointer
retReturn value