mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Add usize to prof_sample_hook_t
This commit is contained in:
committed by
Qi Wang
parent
b66f689764
commit
bc32ddff2d
@@ -166,7 +166,7 @@ prof_malloc_sample_object(tsd_t *tsd, const void *ptr, size_t size,
|
||||
if (prof_sample_hook != NULL) {
|
||||
prof_bt_t *bt = &tctx->gctx->bt;
|
||||
pre_reentrancy(tsd, NULL);
|
||||
prof_sample_hook(ptr, size, bt->vec, bt->len);
|
||||
prof_sample_hook(ptr, size, bt->vec, bt->len, usize);
|
||||
post_reentrancy(tsd);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user