mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 08:33:38 +03:00
Record request size in prof info
This commit is contained in:
parent
f9bb8dedef
commit
afa489c3c5
7 changed files with 24 additions and 7 deletions
|
|
@ -97,7 +97,7 @@ prof_malloc_sample_object(tsd_t *tsd, const void *ptr, size_t size,
|
|||
|
||||
edata_t *edata = emap_edata_lookup(tsd_tsdn(tsd), &arena_emap_global,
|
||||
ptr);
|
||||
prof_info_set(tsd, edata, tctx);
|
||||
prof_info_set(tsd, edata, tctx, size);
|
||||
|
||||
szind_t szind = sz_size2index(usize);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue