Fix szind computation in profiling
This commit is contained in:
parent
866231fc61
commit
202f01d4f8
@ -99,7 +99,7 @@ prof_malloc_sample_object(tsd_t *tsd, const void *ptr, size_t size,
|
|||||||
ptr);
|
ptr);
|
||||||
prof_info_set(tsd, edata, tctx);
|
prof_info_set(tsd, edata, tctx);
|
||||||
|
|
||||||
szind_t szind = sz_size2index(size);
|
szind_t szind = sz_size2index(usize);
|
||||||
|
|
||||||
malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock);
|
malloc_mutex_lock(tsd_tsdn(tsd), tctx->tdata->lock);
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user