Skip to content

Commit bfa3c05

Browse files
committed
Log refcounts in upcall_vec_grow.
1 parent 2c3808b commit bfa3c05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rt/rust_upcall.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,10 +401,10 @@ upcall_vec_grow(rust_task *task,
401401
LOG_UPCALL_ENTRY(task);
402402
rust_dom *dom = task->dom;
403403
LOG(task, mem,
404-
"upcall vec_grow(0x%" PRIxPTR ", %" PRIdPTR
405-
"), alloc=%" PRIdPTR ", fill=%" PRIdPTR
406-
", need_copy=0x%" PRIxPTR,
407-
v, n_bytes, v->alloc, v->fill, need_copy);
404+
"upcall vec_grow(0x%" PRIxPTR ", %" PRIdPTR
405+
"), rc=%" PRIdPTR " alloc=%" PRIdPTR ", fill=%" PRIdPTR
406+
", need_copy=0x%" PRIxPTR,
407+
v, n_bytes, v->ref_count, v->alloc, v->fill, need_copy);
408408

409409
*need_copy = 0;
410410
size_t alloc = next_power_of_two(sizeof(rust_vec) + v->fill + n_bytes);

0 commit comments

Comments
 (0)