No need to pass usize to prof_tctx_set()

This commit is contained in:
Yinan Zhang 2019-12-05 15:15:36 -08:00
parent 1b1e76acfe
commit 5e0b090992
3 changed files with 8 additions and 9 deletions

View file

@ -182,7 +182,7 @@ prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated) {
void
prof_malloc_sample_object(tsd_t *tsd, const void *ptr, size_t usize,
prof_tctx_t *tctx) {
prof_tctx_set(tsd, ptr, usize, NULL, tctx);
prof_tctx_set(tsd, ptr, NULL, tctx);
/* Get the current time and set this in the extent_t. We'll read this
* when free() is called. */