Dave Watson 936bc2aa15 prof: Fix memory regression
The diff 'refactor prof accum...' moved the bytes_until_sample
subtraction before the load of tdata.  If tdata is null,
tdata_get(true) will overwrite bytes_until_sample, but we
still sample the current allocation.   Instead, do the subtraction
and check logic again, to keep the previous behavior.

blame-rev: 0ac524308d3f636d1a4b5149fa7adf24cf426d9c
2018-10-23 12:39:57 -07:00
..
2018-10-23 12:39:57 -07:00