Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions zephyr/lib/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ static void *l3_heap_alloc_aligned(struct k_heap *h, size_t min_align, size_t by

#if CONFIG_SYS_HEAP_RUNTIME_STATS && CONFIG_IPC_MAJOR_4
sys_heap_runtime_stats_get(&h->heap, &stats);
tr_info(&zephyr_tr, "heap allocated: %u free: %u max allocated: %u",
tr_dbg(&zephyr_tr, "heap allocated: %u free: %u max allocated: %u",
stats.allocated_bytes, stats.free_bytes, stats.max_allocated_bytes);
#endif

Expand Down Expand Up @@ -492,7 +492,7 @@ static void *heap_alloc_aligned(struct k_heap *h, size_t min_align, size_t bytes

#if CONFIG_SYS_HEAP_RUNTIME_STATS && CONFIG_IPC_MAJOR_4
sys_heap_runtime_stats_get(&h->heap, &stats);
tr_info(&zephyr_tr, "heap allocated: %u free: %u max allocated: %u",
tr_dbg(&zephyr_tr, "heap allocated: %u free: %u max allocated: %u",
stats.allocated_bytes, stats.free_bytes, stats.max_allocated_bytes);
#endif

Expand Down Expand Up @@ -737,7 +737,7 @@ void *rbrealloc_align(void *ptr, uint32_t flags, size_t bytes,

rfree(ptr);

tr_info(&zephyr_tr, "rbealloc: new ptr %p", new_ptr);
tr_dbg(&zephyr_tr, "rbealloc: new ptr %p", new_ptr);

return new_ptr;
}
Expand Down
4 changes: 2 additions & 2 deletions zephyr/lib/vregion.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,15 +662,15 @@ void *z_impl_vregion_alloc_align(struct vregion *vr,

#if CONFIG_SYS_HEAP_RUNTIME_STATS
if (vr->type == VREGION_MEM_TYPE_LIFETIME) {
LOG_INF("lifetime alloc of %zu, used %zu, free %zu",
LOG_DBG("lifetime alloc of %zu, used %zu, free %zu",
size, vr->lifetime.used,
vr->lifetime.size - vr->lifetime.used);
} else if (vr->type == VREGION_MEM_TYPE_INTERIM) {
struct sys_memory_stats stats = {0};

sys_heap_runtime_stats_get(&vr->interim.heap.heap, &stats);

LOG_INF("interim alloc of %zu, used %u, free %u, max %u",
LOG_DBG("interim alloc of %zu, used %u, free %u, max %u",
size, stats.allocated_bytes, stats.free_bytes, stats.max_allocated_bytes);

}
Expand Down
Loading