summaryrefslogtreecommitdiff
path: root/libcr
diff options
context:
space:
mode:
Diffstat (limited to 'libcr')
-rw-r--r--libcr/coroutine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcr/coroutine.c b/libcr/coroutine.c
index dbeef12..c6e3d4c 100644
--- a/libcr/coroutine.c
+++ b/libcr/coroutine.c
@@ -524,8 +524,10 @@ cid_t coroutine_add_with_stack_size(size_t stack_size,
memset(coroutine_table[child-1].name, 0, sizeof(coroutine_table[child-1].name));
coroutine_table[child-1].stack_size = stack_size;
+ infof("allocing \"%s\" stack with size %zu", name, stack_size);
coroutine_table[child-1].stack =
aligned_alloc(CR_PLAT_STACK_ALIGNMENT, stack_size);
+ infof("...done");
#if CONFIG_COROUTINE_MEASURE_STACK || CONFIG_COROUTINE_PROTECT_STACK
for (size_t i = 0; i < stack_size; i++)
((uint8_t *)coroutine_table[child-1].stack)[i] =