mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Add usize to prof_sample_hook_t
This commit is contained in:
parent
b66f689764
commit
bc32ddff2d
3 changed files with 10 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue