Correct usize in prof last-N record

This commit is contained in:
Yinan Zhang 2020-08-11 15:35:41 -07:00
parent 202f01d4f8
commit b549389e4a
4 changed files with 6 additions and 5 deletions

View file

@ -129,7 +129,7 @@ prof_malloc_sample_object(tsd_t *tsd, const void *ptr, size_t size,
malloc_mutex_unlock(tsd_tsdn(tsd), tctx->tdata->lock);
if (record_recent) {
assert(tctx == edata_prof_tctx_get(edata));
prof_recent_alloc(tsd, edata, size);
prof_recent_alloc(tsd, edata, size, usize);
}
}