memory_pool: name field — идентификация пула в диагностике коррапшна

This commit is contained in:
Evgeny committed 2026-06-09 22:20:25 +03:00
1 parent 9e133699bf
commit 075c4f4583
17 files changed
+39 -37

No files matched your search

+1 -1
View File
@@ -354,7 +354,7 @@ static void test_limits_hash(void) {
static void test_pool(void) {
TEST("memory_pool integration + reuse");
struct UASYNC *ua = uasync_create();
struct memory_pool *pool = memory_pool_init(sizeof(test_data_t));
struct memory_pool *pool = memory_pool_init(sizeof(test_data_t), "test_data_pool");
struct ll_queue *q = queue_new(ua, 0, 0, 0, "q8");
size_t alloc1 = 0, reuse1 = 0;